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
changemappermission.
Find the files
All files are under Files & worlds → Files in the SquadGame/ServerConfig/ folder. For the rotation you need:
Server.cfgfor the rotation modeLayerRotation.cfgorLevelRotation.cfgfor fixed listsLayerVoting.cfg,LayerVotingLowPlayers.cfg,LayerVotingNight.cfgandVoteConfig.cfgfor votingExcludedLayers.cfg,ExcludedLevels.cfgandExcludedFactions.cfgfor 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
- Set
MapRotationMode=LayerList_VoteinServer.cfg. - Add the layers players can vote on to
LayerVoting.cfg, one per line. - Optionally fill
LayerVotingLowPlayers.cfgwith layers for few players, such as Seeding or Skirmish. If the file stays empty, the server only usesLayerVoting.cfg. - Configure the vote in
VoteConfig.cfg. - Save all files and restart the server.
The most important keys in VoteConfig.cfg:
| Key | Default |
Effect |
|---|---|---|
Layer |
6 |
How many layers are offered, 2 to 6 |
Layer |
90 |
Length of the layer vote in seconds |
Team |
60 |
Length of the faction vote in seconds |
Low |
30 |
Below this player count, Layer applies |
Map |
1 |
How many rounds the last played map sits out |
Layer |
1 |
How many rounds the last played layer sits out |
NightTime |
empty |
A time range like 18:00-04:00 in which Layer 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 | Map is not Layer, or an admin set the next layer. |
Check the mode or type Admin. |
| 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 Layer applies. |
Adjust Low. |
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.