This guide shows you how to decide which maps and layers your Squad server plays one after another. You choose between a fixed order, random order and a player vote at the end of each round. You also exclude layers and set the next layer by hand as admin. It is based on the Server Configuration page of the Squad wiki.

Before you start

  • A Squad server in your customer panel. The basic setup is covered in Squad server setup.
  • A recent backup under Backups & recovery.
  • For the admin commands: an admin entry with the changemap permission.

Find the files

All files are under Files & worlds → Files in the SquadGame/ServerConfig/ folder. For the rotation you need:

  • Server.cfg for the rotation mode
  • LayerRotation.cfg or LevelRotation.cfg for fixed lists
  • LayerVoting.cfg, LayerVotingLowPlayers.cfg, LayerVotingNight.cfg and VoteConfig.cfg for voting
  • ExcludedLayers.cfg, ExcludedLevels.cfg and ExcludedFactions.cfg for exclusions

The panel only writes the server name into Server.cfg. Every other value stays the way you set it.

Choose the rotation mode

Open Server.cfg and look for MapRotationMode. There are five values:

Value Effect
LevelList Maps in the order of LevelRotation.cfg
LayerList Layers in the order of LayerRotation.cfg
LayerList_Vote A vote at the end of every round
LevelList_Randomized Maps from LevelRotation.cfg in random order
LayerList_Randomized Layers from LayerRotation.cfg in random order

With RandomizeAtStart=true the server shuffles the list at startup. Check which value your file has. The wiki gives conflicting defaults for fresh installs.

Fixed rotation

LayerRotation.cfg holds one layer per line:

Anvil_AAS_v1
Anvil_AAS_v1 USA RDF

The first line loads the layer with its preset factions. In the second you pick the factions yourself: team 1 first, then team 2. Two rules apply. The same faction cannot play against itself. Factions from the same alliance cannot either, except the independent ones. If a combination is invalid, the server replaces team 2's faction with a valid one.

Layer names are not the names the game displays. Copy them exactly.

Set up voting

  1. Set MapRotationMode=LayerList_Vote in Server.cfg.
  2. Add the layers players can vote on to LayerVoting.cfg, one per line.
  3. Optionally fill LayerVotingLowPlayers.cfg with layers for few players, such as Seeding or Skirmish. If the file stays empty, the server only uses LayerVoting.cfg.
  4. Configure the vote in VoteConfig.cfg.
  5. Save all files and restart the server.

The most important keys in VoteConfig.cfg:

Key
Default
Effect
LayerOptionsNumber
6
How many layers are offered, 2 to 6
LayerVoteDuration
90
Length of the layer vote in seconds
TeamVote_Duration
60
Length of the faction vote in seconds
LowPlayerCountThreshold
30
Below this player count, LayerVotingLowPlayers.cfg applies
MapSkipRounds
1
How many rounds the last played map sits out
LayerSkipRounds
1
How many rounds the last played layer sits out
NightTime
empty
A time range like 18:00-04:00 in which LayerVotingNight.cfg applies
FirstLayer
empty
Layer at server start. Empty means the first line of LayerVoting.cfg

According to the wiki, LayerVotingLowPlayers.cfg takes priority over the night list. The time follows the server's system clock.

Exclude layers

Anything in ExcludedLayers.cfg or ExcludedLevels.cfg is never loaded in any rotation. One entry per line. ExcludedFactions.cfg blocks factions or single units.

Set the next layer as admin

Command Effect
AdminChangeLayer <Layer> Switches right away, no vote
AdminSetNextLayer <Layer> Sets the next layer after this round
AdminSetNextLevel <Map> Sets the next map after this round
AdminClearNextLayer Clears the selection and re-enables the vote

After AdminSetNextLayer, there is no vote at the end of the round even with voting enabled. An example with faction and unit: AdminSetNextLayer Anvil_AAS_v1 BAF+Mechanized INS. Units are AirAssault, Armored, LightInfantry, Mechanized, Motorized and Support. Every player can see what comes next with ShowNextMap.

Common errors

Problem
Cause
Fix
No vote at the end of the round
MapRotationMode is not LayerList_Vote, or an admin set the next layer.
Check the mode or type AdminClearNextLayer.
A layer is missing from the rotation
The name is misspelled or the layer is listed in an exclusion file.
Copy the layer name exactly and check the exclusion files.
A different faction than the one you entered
The combination was invalid, so the server replaced team 2.
Pick factions from different alliances.
The night list does not apply
Too few players, so LayerVotingLowPlayers.cfg applies.
Adjust LowPlayerCountThreshold.

If an error persists, copy the first error lines from the console and open a support ticket.

Next steps

Mod maps for your rotation are covered in Install Workshop mods on your server. Need a server first? Order one on the Squad order page.