Summary
Automatic scenario rotation for dedicated servers. Give it a list of scenarios and the server loads the next one when a round ends, without ever restarting the server process.
Description
Automatic scenario rotation for dedicated servers.
You give it a list of scenarios. When one ends, the server loads the
next one. The server process is never restarted, so your server never
drops out of the server browser.
Works with any scenario that uses a normal game mode: Conflict, Game
Master, Combat Ops, Capture & Hold, Scenario Framework and modded
scenarios. No scenario edits and no Workbench needed to set it up.
SETUP
1. Add this mod to the "mods" list in your server config.
2. Start the server once. It writes MapRotation.json into your server
profile folder, already filled in with the scenario you are running,
and logs the path. This first start does not rotate - that is normal.
3. Add the rest of your scenarios to that file, in play order, and
restart the server.
SETTINGS (MapRotation.json)
scenarios your scenario IDs, in play order
loop wrap to the first entry after the last
randomize pick a random other entry instead of in order
forceRotateAfterMinutes rotate on a timer for open-ended modes
switchHoldSeconds seconds the result stays on screen (default 8)
announceSwitch warn players in chat before the change
switchMessage the chat line that is sent
preserveAddons carry the loaded mods into the next scenario
addonListOverride exact addon GUID list, if the derived one is wrong
WHAT PLAYERS SEE
Scenarios on the SAME world carry players straight through with no
interruption at all.
Moving to a scenario on a DIFFERENT world drops every player for up to
a minute while their client rejoins on its own. Arma shows its generic
"Internal error has occurred" dialog, and players may see a short queue
screen even on an empty server, because the server reserves each slot
for 60 seconds and the client rejoins through the reconnection queue.
That is engine behaviour and no setting here changes it - so the mod
replaces the end-of-round screen's closing line with an explanation of
what is about to happen, and warns in chat beforehand.
For a rotation with no interruption whatsoever, build the list from
scenarios that all use the same world.
License
Arma Public License (APL)