With the right configuration, you can make your Squad server exactly what your community is looking for: a custom name in the server browser, the right player count, your admins, and a map rotation to suit your preferences. In this guide, we’ll show you which settings are available, where to find them in ZapX, and what else you can adjust in Squad’s configuration files.
Your Squad server reads its settings from two sources:
- Startup parameters: Set the server name, player count, tick rate, RCON password, and admins in ZapX under the Configuration tab, in Startup parameters.
- Configuration files: All other settings, such as map rotation, queue, team switching, and teamkill rules, are in the files in the
ServerConfigfolder. Open the folder in the Files tab.
The ServerConfig folder contains, among others, these files:
| File | Contents |
|---|---|
Server.cfg | General server settings such as visibility, queue, tags, rotation mode, and teamkill rules |
Admins.cfg | Admin groups and their permissions |
Bans.cfg | Banned players |
Rcon.cfg | Remote console (RCON) settings |
LayerRotation.cfg | Layer order for the fixed or random rotation |
LayerVoting.cfg | Layers players can vote on at the end of a round |
VoteConfig.cfg | Voting process, such as duration and first layer |
Each time your server starts, it copies some values from the startup parameters into these files:
- the server name into the
ServerNameline inServer.cfg, - the RCON port into the
Portline inRcon.cfg, - the admin Steam IDs into
Admins.cfgif the field is not empty. In that case, the file is completely overwritten.
Always change these values in the startup parameters, not directly in the files. Any manual changes will be overwritten with the values from the startup parameters the next time the server starts. All other lines in the files will remain as you entered them.
After you save the startup parameters, ZapX will offer to restart the server. Changes to files in the ServerConfig folder also take effect only after a restart.
| Startup parameter | Description |
|---|---|
| Server name | Your server’s name in the Squad server browser. Quotes and backslashes are removed when your server starts. Default: ZAP Squad Server |
| Max. players | The maximum number of players who can play on your server at the same time. When starting, your server passes this value as FIXEDMAXPLAYERS. Default: 80 |
| Tick rate | The maximum number of times per second your server updates the game world. When starting, your server passes this value as FIXEDMAXTICKRATE. Default: 50 |
| RCON Password | Password for the remote console (RCON); see RCON |
| Admin Steam IDs | SteamID64s of the players who should receive full admin permissions, separated by commas; see Becoming an admin |
Max. players and Tick rate must be whole numbers. Server.cfg also has a MaxPlayers line. However, your server will not allow more players than the Max. players value, even if Server.cfg has a higher value. Always set the player count in the startup parameters.
Squad is designed for large battles with up to 50 players on each side. Use Max. players to set how many players can join your server at the same time. If the server is full, additional players will join a queue. You can set the queue size and the number of slots reserved for admins and members in Server.cfg:
| Setting | Description |
|---|---|
NumReservedSlots | Number of slots reserved for admins and members. Players with the reserve permission in Admins.cfg can use these slots |
PublicQueueLimit | Size of the public queue. 25 is the default, 0 disables the queue, and -1 means unlimited |
The Tick rate determines how many times per second your server processes the game. Higher values require more CPU. After making a change, keep an eye on your server’s load in the Statistics tab.
You can also change the player count, queue, and reserved slots while the server is running in the Console tab, for example with AdminSetMaxNumPlayers <anzahl>, AdminSetPublicQueueLimit <anzahl>, or AdminSetReservedSlots <anzahl>. Only the values in the startup parameters and Server.cfg will persist.
In Server.cfg, each setting is on its own line in the format Setting=Value. Lines starting with // are comments. These settings are the most commonly changed:
| Setting | Description |
|---|---|
ShouldAdvertise | true lists your server in the public server browser; false hides it |
Tags | Keywords players can filter by in the server browser, separated by spaces |
Rules | Server rules as keywords, separated by spaces, for example rule_play_objective |
AllowTeamChanges | false prevents all players without the balance permission from switching teams |
PreventTeamChangeIfUnbalanced | true allows team changes only while the teams remain balanced |
NumPlayersDiffForTeamChanges | Largest permitted difference in player count between teams when a player switches teams |
RejoinSquadDelayAfterKick | Number of seconds a player kicked from a squad must wait before joining a squad again |
TKAutoKickEnabled | true enables automatic kicking and banning for teamkills |
AutoTKBanNumberTKs | Number of teamkills after which a player is automatically banned |
AutoTKBanTime | Duration of this ban in seconds, for example 1209600 for 14 days |
VehicleClaimingDisabled | true disables claiming vehicles |
ServerMessageInterval | Interval in seconds at which your server repeats the messages from ServerMessages.cfg |
Tags help players find your server when they filter the server browser by language, game mode, or play style. Without the right tags, your server won’t appear in filtered searches. You can set up to two language tags, up to three game mode tags, and one play style tag, for example:
Tags=language_de language_en mode_aas mode_raas playstyle_relaxed
The available play style tags are playstyle_relaxed, playstyle_focused, and playstyle_milsim.
When your server starts, it overwrites the ServerName entry in Server.cfg with the Server name from the startup parameters. If a setting is missing from your Server.cfg, you can simply add it as a new line.
How to get your server on the server list and what to do if it is missing is explained in Server list.
Squad uses so-called layers. A layer is a combination of a map and a game mode, for example AlBasrah_AAS_v1. Set how your server chooses the next layer using MapRotationMode in Server.cfg:
| Value | Process |
|---|---|
LayerList_Vote | Players vote on the next layer at the end of a round, choosing from LayerVoting.cfg |
LayerList | Layers play in the order listed in LayerRotation.cfg |
LayerList_Randomized | Layers from LayerRotation.cfg play in a random order |
LevelList / LevelList_Randomized | Same as above, but with full maps from LevelRotation.cfg |
Add one layer ID per line in LayerRotation.cfg and LayerVoting.cfg. In the rotation, you can also specify the factions for both teams after the layer ID:
AlBasrah_AAS_v1
Anvil_AAS_v1 USA RDF
For voting, configure the process in VoteConfig.cfg. For example, use FirstLayer to set the layer your server starts with after each restart. If the player count at the end of a round drops below LowPlayerCountThreshold, players will instead vote on layers from LayerVotingLowPlayers.cfg, such as seed or skirmish layers.
Always enter the layer ID, not the display name shown in the game. Comments in these files must be on their own line; comments after an entry will not work.
While the server is running, you can change the layer in the Console tab: AdminChangeLayer <layer> switches immediately, while AdminSetNextLayer <layer> sets the layer for the next round. Use AdminListLayers to see all available layers. See Installing mods to learn how to add layers from Workshop mods to the rotation.
We have separate guides for these topics:
- Admins: The quickest way to grant full permissions is with Admin Steam IDs. Create custom groups, such as moderators, in
Admins.cfg; see Becoming an admin. - RCON: See RCON to learn how to connect using an RCON program and which commands are available.
- Mods: Add Workshop mods in the Workshop tab; see Installing mods.
Your Squad server is now set up just the way you want it. See Becoming an admin to learn how to give yourself admin permissions. If something isn’t working as expected, our guide to Common issues can help. If you have any other questions, our support team is available every day! 🙂