With the right configuration, you can make your Unturned game server exactly the way you want it: give it a custom name, choose a map and difficulty, set PvP or PvE, and customize game rules like loot, zombies, and decay. In this guide, we’ll show you which settings are available, where to find them in ZapX, and what else you can adjust in your server’s files.
Unturned stores its settings in two files in the Servers/Server folder:
Server/Commands.dat: Basic settings like the name, map, password, difficulty, and perspective. Each line is a command in the formatCommand Value.Config.txt: Gameplay settings, such as how much loot spawns, how dangerous zombies are, or when structures decay.
You don’t need to enter the most important values manually: you can find them in ZapX under the Configuration tab, in Startup Parameters. Each time your server starts, it writes the values from the startup parameters to Commands.dat. Any other lines you added to the file yourself, such as Owner or Welcome, are kept. Your server doesn’t modify Config.txt; you can edit it in the Files tab.
Always change values that are available as startup parameters in Startup Parameters, not in Commands.dat. If the file contains a line such as Name, Map, Password, GSLT, Mode, Perspective, or PvE, your server discards it the next time it starts and uses the value from the startup parameters instead. The same applies to Port and MaxPlayers: ZapX sets these values itself.
After you save, ZapX will offer to restart the server. Your changes won’t take effect until the server has restarted.
| Startup parameter | Line in Commands.dat | Description |
|---|---|---|
| Server name | Name | Your server’s name in the server list. Unturned accepts 5 to 50 characters. Default: ZapX Unturned Server |
| Server password | Password | Password required to join. Leave blank for an open server. |
| Starting map | Map | The map your server runs on. Default: PEI |
| Steam server token (GSLT) | GSLT | Steam login token that lets your server appear in the Internet server list. See Create a GSLT |
| Mode | Mode | Difficulty: Easy, Normal (default), or Hard |
| Perspective | Perspective | Camera perspective: First (default), Third, Both, or Vehicle. See 1st/3rd Person |
| PvE | PvE | When enabled, players can’t damage one another. When disabled (default), your server is a PvP server. |
Without a valid GSLT, your server won’t appear in Unturned’s Internet server list. It’s best to add the token as soon as you’ve finished setting up your server.
Enter the map’s name under Starting map. The official maps included with the game are PEI, Washington, Russia, Yukon, and Germany.
Additional maps, including curated maps like Arid, Elver, and Kuwait, are available through the Steam Workshop. Your server needs to download them first. Add the map’s Workshop ID in the Workshop tab, as described in Workshop content, then enter the map’s name under Starting map.
Unturned saves a separate game world for each map in its own folder under Servers/Server/Level. When you change the map, your server starts a new world on the selected map.
Mode determines the default values your server uses for gameplay settings. Many settings in Config.txt don’t have a value set. In that case, the default for the selected difficulty applies. For example, Hard spawns less loot than Normal, while in Easy, players can’t break their legs or bleed.
You can adjust individual values in Config.txt independently. Any value you enter there always applies, regardless of the selected difficulty.
You can add additional commands that aren’t available as startup parameters to Servers/Server/Server/Commands.dat. Open the file in the Files tab and enter each command on its own line:
Owner 76561198000000000
Welcome Welcome to our server!
Cheats
| Line | Description |
|---|---|
Owner <SteamID64> | Grants admin rights to the player with this SteamID64. There can only be one owner. See Become an admin |
Welcome <Text> | Chat message players see when they join your server |
Cheats | Allows admins to use cheat commands, such as spawning items |
Whitelisted | Only players on the whitelist can join. See Whitelist |
Hide_Admins | Other players can’t see who is an admin |
Queue_Size <Number> | Number of players who can wait in the queue when your server is full |
Chatrate <Seconds> | Minimum time between two chat messages from a player |
Save the file and restart your server.
Cheats, Whitelisted, and Hide_Admins are switches: if the line is in the file, the feature is enabled. Adding a value after it won’t change that—even Cheats false enables cheats. To disable a feature, delete the entire line.
Don’t use a slash (/) in the Welcome message. Unturned splits the line at that point and reads the rest as color values.
You can open Servers/Server/Config.txt in the Files tab. The file is divided into sections, such as Browser, Server, Items, Zombies, Players, Vehicles, Barricades, Structures, Events, and Gameplay. Each section is enclosed in curly braces, with one setting and its value on each line:
Items
{
Spawn_Chance 0.5
Respawn_Time
}
If a setting has no value, the default for the difficulty selected under Mode applies. Your server adds a short explanation as a comment (// >) above each setting, so you can see what each value does right in the file.
Commonly adjusted settings:
| Section | Setting | Description | Default (Normal) |
|---|---|---|---|
Browser | Desc_Server_List | Short description shown below the server name in the server list | empty |
Browser | Thumbnail | Link to a 32x32-pixel image shown in the server list | empty |
Items | Spawn_Chance | Proportion of item spawn points where loot can appear, from 0 to 1 | 0.35 |
Items | Respawn_Time | Approximate number of seconds before a new item spawns | 100 |
Zombies | Spawn_Chance | Proportion of zombie spawn points that are used, from 0 to 1 | 0.25 |
Zombies | Damage_Multiplier | Multiplier for zombie damage; 2 doubles it | 1 |
Players | Experience_Multiplier | Multiplier for experience gained from all activities | 1 |
Barricades / Structures | Decay_Time | Seconds since the owner or a group member last visited before structures are no longer saved. 604800 equals 7 days | 604800 |
Events | Use_Airdrops | Whether planes drop supply crates | true |
Gameplay | Crosshair | Whether a crosshair is visible when holding a weapon | true |
Gameplay | Friendly_Fire | Whether group members can damage one another | false |
Save the file and restart your server. Unturned only reads most settings when it starts.
Always enter your GSLT under Startup Parameters, not in Config.txt. The token in the startup parameters takes precedence.
- Workshop content: Add Steam Workshop mods and maps in the Workshop tab, either individually by item ID or as a collection. Your server downloads them the next time it starts. Learn more in Workshop content.
- RocketMod: Unturned uses RocketMod for plugins, permission groups, and RCON. Learn how to enable and use it in Install plugins, Adjust permissions, and Use RCON with RocketMod.
- Automated messages: You can use Schedules to regularly send rules or tips in chat. See Automated server messages.
- Commands while the server is running: Kicking players, changing the weather or spawning items is covered in Server commands.
Your Unturned server is now set up the way you want it. Learn how to grant yourself admin rights in Become an admin. If something isn’t working as expected, see our guide to Common issues. If you have any other questions, our support team is available every day! 🙂