We are your new 5-Star Hosting Company. At least according to ★ Trustpilot

Following along with a Unturned server? Deploy yours in minutes.

All servers come with a 24-Hour Trial, Free Backups, and 40Gbps DDoS Protection included!

Use code SAVE15 to take 15% OFF Your First Invoice with ChicagoServers! Limited Time!
Unturned guide

Unturned Server Commands and Config Files Explained

By the ChicagoServers team · Updated · 8 min read

An Unturned server is configured in three places: Commands.dat for the basics (name, map, slots, PvE, cheats, owner), Config.txt for gameplay and advanced options, and Adminlist.dat for admins. On ChicagoServers most of the basics are fields on the Startup tab, and the files are on the Configs tab. This guide covers the settings admins actually change, using the syntax from the official Unturned documentation and the Unturned wiki.

Checked against the Unturned 3.x documentation on 2026-11-01. One trap: older guides tell you to edit Config.json. Since Unturned 3.25.8.0, the game's own docs say that file has been replaced by Config.txt, so if you are following an old tutorial, translate it rather than copying it. Your Configs tab lists the gameplay file as Config.json (stop first); open that entry for the settings below.

Quick answer
  • Commands.dat takes one command per line (lines starting with // are comments) and is read when the server starts. Most of its basics have a Startup field; the rest are on the Configs tab.
  • Difficulty is the Difficulty field (Easy, Normal or Hard; Normal is the game default). Tick PvE (no player damage) to turn player-versus-player combat off.
  • The game's default port is 27015 and the server also uses the next port, 27016, over UDP. On ChicagoServers the panel assigns your ports, so use the address at the top of your server's page.
  • To show up in the Internet server list you need a Game Server Login Token (GSLT) for Steam app ID 304930, pasted into Game server login token on the Startup tab.
  • There is no autosave. Stop and Restart save the world, and the Save command on the Console tab saves at any time.
On this page
  1. Where the Unturned server config files are
  2. Commands.dat settings explained
  3. How to change Unturned server difficulty and PvP or PvE
  4. How to make yourself admin on an Unturned server
  5. Unturned server ports and getting listed
  6. How to do this on a ChicagoServers server
  7. Frequently asked questions

Where the Unturned server config files are

Everything for one server lives in a folder named after its Server ID, under Servers/ in the dedicated server install (the U3DS folder). The first start generates the files. If a file does not exist yet, the Configs tab says so, and saving creates it. Open your server, go to the Configs tab, and pick the file from the list.

FileOn the panelLocation in the server folderWhat it controls
Commands.datConfigs: Commands.datServer/Commands.datBasic settings: name, map, max players, password, owner, PvE, cheats, perspective
Config.txtConfigs: Config.json (stop first)Config.txt (server root)Difficulty and advanced options such as item spawn chance and the login token
Adminlist.datConfigs: AdminsServer/Adminlist.datSteam IDs of admins, maintained by the Admin and Unadmin commands
WorkshopDownloadConfig.jsonConfigs: Workshop mods, and the Mods tabserver rootSteam Workshop items to download (covered in the Workshop guide)

Commands.dat settings explained

The format is one command per line. This is the shape of the example in the official documentation. Settings that have a Startup field (see the table) are written from that field at every start, so change them on the Startup tab; use Configs, Commands.dat for lines without a field, such as Timeout:

Commands.dat
// Name of your server in the server list.
Name My Unturned Server

// Specify which map to load, by name.
Map PEI

// Maximum number of players that can be on the server.
MaxPlayers 24

// Enable cheat commands for administrators.
Cheats

// Limit players to a camera perspective (First, Third, Both, Vehicle).
Perspective Both

// Optional lines:
// Owner YourSteamID64
// Password ExamplePassword1234
// PvE
// Port 27015
CommandWhat it doesOn the panelNotes
NameServer name in the listServer name5 to 50 characters
MapLevel loaded at startupMap, or Workshop map for a Workshop mapDefaults to PEI. Official maps are PEI, Washington, Yukon, Russia and Germany. Workshop maps are downloaded through WorkshopDownloadConfig.json
MaxPlayersPlayer limitSet by your plan's player slotsDefaults to 8; the wiki lists 1 to 200
ModeEasy, Normal or Hard difficultyDifficultyDefaults to Normal
PvEDisables player-versus-player combatPvE (no player damage)Leave it off and the server is PvP
CheatsEnables cheat commands such as Give for adminsAdmin cheat commandsOff unless enabled
PasswordPassword required to joinJoin passwordLeave empty for an open server
PerspectiveAllowed camera: First, Third, Both or VehicleCameraPlayers can use both first and third person by default
OwnerSteamID64 of the ownerOwner SteamID64Grants administrator privileges, including cheat commands
PortBase port, 27015 by defaultAssigned by the panel; see Startup tab, NetworkThe server also uses the next port
TimeoutPing threshold in milliseconds before a client is droppedNo field; Configs: Commands.datWiki lists 750 as the default, range 50 to 10000
WelcomeMessage shown on connectWelcome messageOptional color as Welcome text/R/G/B

How to change Unturned server difficulty and PvP or PvE

Unturned keeps separate gameplay values for Easy, Normal and Hard. The server uses Normal unless you say otherwise: set Difficulty on the Startup tab (the game's Mode easy or Mode hard line) to make it use the other set. PvP versus PvE is a separate switch: tick PvE (no player damage) to disable player damage, untick it for PvP. Click Save startup, then Restart.

Everything finer than that lives in the gameplay config, which is Config.json (stop first) on the Configs tab, called Config.txt in the game's own docs. It is plain text with one setting per line, the key and value separated by a single space. Empty values use the default, invalid values print a warning in the console and fall back to the default, and every option has a generated comment above it that explains what it does and what the default is. Those comments, not a tutorial, are the authority for your exact build. Stop the server first, edit in Settings or Text, click Save, then Start.

The gameplay options are grouped into blocks such as Items, Vehicles, Zombies, Animals, Barricades, Structures, Players, Objects, Events and Gameplay. A few useful keys outside those groups:

KeySectionDocumented defaultWhat it does
Login_TokenBrowseremptyYour GSLT; puts the server in the Internet list and keeps the server code stable. On the panel, use Game server login token on the Startup tab
Desc_Server_ListBrowseremptyShort description in the list, up to 64 characters
Use_FakeIPServerfalseLets players join by IP through Steam without port forwarding
Max_Ping_MillisecondsServer750Kicks players above this ping
Enable_Scheduled_ShutdownServerfalseShuts down at Scheduled_Shutdown_Time so something can restart it; on the panel, a daily restart on the Schedules tab does the same job
Enable_Update_ShutdownServerfalseShuts down (after chat warnings) when an Unturned update is found

How to make yourself admin on an Unturned server

  • Owner: put your SteamID64 in Owner SteamID64 on the Startup tab (the game's Owner line). This grants administrator privileges, including cheat commands in game.
  • Admin command: on the Console tab run Admin SteamID64 and click Send, or from in-game chat as an existing admin or owner run /admin SteamID64 (the @ prefix also works). Unadmin reverses it.
  • Adminlist.dat: the file those commands maintain, shown as Admins on the Configs tab. Hand-editing it is possible (one SteamID64 per line is the commonly documented format) but the commands are safer. To clear every admin, stop the server and empty that list, then save.

Cheat commands such as Give and Vehicle only work if Admin cheat commands is on and the player is an admin. Type Help on the Console tab to list every command or Help CommandName for one. Vanilla admin rights are broad; if you need per-command permissions or ranks, that is the job of a plugin framework such as Rocket or OpenMod.

Unturned server ports and getting listed

The game's default is port 27015, and each server uses two consecutive ports: 27015 for server list queries and 27016 for in-game traffic, both over UDP. Setting Port 27017 moves the pair to 27017 and 27018, and a machine running several servers needs the pairs spaced out. On ChicagoServers the panel assigns your ports (Startup tab, Network), so you do not change Port yourself and you do not open anything in a firewall.

  • Direct connect: since 3.23.14.0, port forwarding is only needed if players join by IP address or domain name on a machine you run yourself. On ChicagoServers players join with the address at the top of your server's page (click it to copy).
  • Server Code: a 17-digit code that changes each launch unless you set a GSLT. By default a new server is LAN-only and not in the Internet list.
  • Internet list: create a GSLT at Steam's Game Server Account Management page using Unturned's app ID 304930, then paste it into Game server login token on the Startup tab, click Save startup and Restart. Servers without a token are treated as anonymous and hidden.
  • Fake IP: the game's Use_FakeIP option lets players join by IP through Steam without port forwarding, and the address and port change on every restart. You normally do not need it on a hosted server because the panel gives you a direct address.

Use the address shown at the top of your server's page rather than changing Port yourself. If a plugin needs another port, reserve one under Extra ports on the Startup tab.

How to do this on a ChicagoServers server

  1. Change a Startup field

    Open your server in the panel, go to the Startup tab, change the field (for example Server name, Difficulty or PvE (no player damage)), click Save startup, then click Restart at the top of the page.

  2. Edit a config file

    For Config.json, click Stop first. Open the Configs tab, pick the file, edit it in Settings or Text, click Save, then Start. Commands.dat and Admins work the same way.

  3. Run a command

    Use the Console tab: type the command without a prefix and click Send. In game chat, admins use @ or /.

  • Unturned has no autosave. Save writes world and player data, and Shutdown saves, disconnects everyone and closes. On the panel, Stop and Restart save the world first, and Shutdown 60/Restarting for update style delays still work on the Console tab when players are online.
  • Make a backup before big changes: on the Backups tab, choose World and settings and click Back up now.

Hosting with ChicagoServers? The Unturned server hosting page lists what is included, such as a one-click mod installer, free server backups and SFTP file access.

Frequently asked questions

What is the default Unturned server port?

27015, plus the next port (27016) for in-game traffic. Both use UDP. On ChicagoServers the panel assigns your ports and shows them on the Startup tab under Network.

Where did Config.json go in Unturned?

Unturned 3.25.8.0 replaced Config.json with Config.txt in the game's docs. Older servers are converted automatically on startup. On the panel, the gameplay config appears on the Configs tab as Config.json (stop first). The game's -UseLegacyJsonGameplayConfig launch option is staff-only, so contact support if you need it.

Why does my Unturned server not appear in the server list?

New servers are LAN-only by default. Internet servers need a Game Server Login Token (GSLT) for app ID 304930: paste it into Game server login token on the Startup tab, click Save startup, then Restart.

How do I turn PvP off on an Unturned server?

On the Startup tab tick PvE (no player damage), click Save startup, then Restart. Untick it to return to PvP.

We are your new 5-Star Hosting Company. At least according to ★ Trustpilot

Following along with a Unturned server? Deploy yours in minutes.

All servers come with a 24-Hour Trial, Free Backups, and 40Gbps DDoS Protection included!

We offer quality support, a detailed knowledgebase, video tutorials on most topics, and even live support in case you prefer a live human.

Use code SAVE15 to take 15% OFF Your First Invoice with ChicagoServers! Limited Time!