Skip to content

Unturned: Server Configuration

Learn how to configure your Unturned game server’s name, map, difficulty, perspective, PvE, and gameplay rules like loot and zombies.

26 November 20266 min read1 Views0 helpful

Don't have your own server yet? Host your Unturned server with ZAP-Hosting from €4.49 / month.

Introduction

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.

How the configuration works

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 format Command 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.

Important

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 parameters at a glance

Startup parameterLine in Commands.datDescription
Server nameNameYour server’s name in the server list. Unturned accepts 5 to 50 characters. Default: ZapX Unturned Server
Server passwordPasswordPassword required to join. Leave blank for an open server.
Starting mapMapThe map your server runs on. Default: PEI
Steam server token (GSLT)GSLTSteam login token that lets your server appear in the Internet server list. See Create a GSLT
ModeModeDifficulty: Easy, Normal (default), or Hard
PerspectivePerspectiveCamera perspective: First (default), Third, Both, or Vehicle. See 1st/3rd Person
PvEPvEWhen enabled, players can’t damage one another. When disabled (default), your server is a PvP server.
Tip

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.

Map and difficulty

Change the map

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.

Set the difficulty with Mode

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.

Additional commands in Commands.dat

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:

Code
Owner 76561198000000000
Welcome Welcome to our server!
Cheats
LineDescription
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
CheatsAllows admins to use cheat commands, such as spawning items
WhitelistedOnly players on the whitelist can join. See Whitelist
Hide_AdminsOther 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.

Warning

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.

Info

Don’t use a slash (/) in the Welcome message. Unturned splits the line at that point and reads the rest as color values.

Gameplay settings in Config.txt

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:

Code
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:

SectionSettingDescriptionDefault (Normal)
BrowserDesc_Server_ListShort description shown below the server name in the server listempty
BrowserThumbnailLink to a 32x32-pixel image shown in the server listempty
ItemsSpawn_ChanceProportion of item spawn points where loot can appear, from 0 to 10.35
ItemsRespawn_TimeApproximate number of seconds before a new item spawns100
ZombiesSpawn_ChanceProportion of zombie spawn points that are used, from 0 to 10.25
ZombiesDamage_MultiplierMultiplier for zombie damage; 2 doubles it1
PlayersExperience_MultiplierMultiplier for experience gained from all activities1
Barricades / StructuresDecay_TimeSeconds since the owner or a group member last visited before structures are no longer saved. 604800 equals 7 days604800
EventsUse_AirdropsWhether planes drop supply cratestrue
GameplayCrosshairWhether a crosshair is visible when holding a weapontrue
GameplayFriendly_FireWhether group members can damage one anotherfalse

Save the file and restart your server. Unturned only reads most settings when it starts.

Tip

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.

Conclusion

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! 🙂

Free tools

Unturned Tools

View all

FAQ

Frequently asked questions

Set your server name, password, starting map, GSLT, difficulty (Mode), perspective (Perspective), and PvE (Pve) under Startup Parameters in the Configuration tab. Add commands like Owner or Welcome to Commands.dat, and gameplay settings like loot, zombies, and decay to Config.txt. You’ll find both files in the Servers/Server folder under the Files tab.
Your server rewrites lines like Name, Map, Password, GSLT, Mode, Perspective, and PvE from the startup parameters every time it starts. ZapX sets Port and MaxPlayers itself. Change these values in the Configuration tab instead. Custom lines like Owner, Welcome, and Cheats are kept.
Enable Pve under Startup Parameters in the Configuration tab, save your changes, and restart your server. Players will no longer be able to damage one another.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.