How to Configure Your Unturned Server (Commands.dat)
Complete Unturned Commands.dat reference — server name, map, players, PvP/PvE, perspective, difficulty, and all settings.
Unturned uses Commands.dat (one command per line, space-delimited).
Commands.dat
Config.json
Adminlist.dat
Whitelist.dat
Blacklist.dat
All Commands.dat Settings
| Command | Example | Description |
|---|---|---|
Name | Name My Server | Browser display name |
Port | Port 27015 | Game port (UDP) |
Password | Password secret | Join password (omit for public) |
Maxplayers | Maxplayers 24 | Max player slots |
Map | Map PEI | Active map |
Perspective | Perspective Both | First, Third, Both, Vehicle |
Mode | Mode Normal | Easy, Normal, Hard |
PvE | PvE | Enables PvE (omit line for PvP) |
Cheats | Cheats | Enable cheat commands |
Welcome | Welcome Hello! | Join message |
Owner | Owner 76561198012345678 | Server owner SteamID64 |
Login_Token | Login_Token GSLT_HERE | GSLT for browser listing |
Cycle | Cycle 3600 | Day/night cycle (seconds) |
Decay | Decay 604800 | Structure decay (seconds) |
BattlEye_Secure | BattlEye_Secure | Enable BattlEye anti-cheat |
Gold | Gold | Gold-only server |
Bind | Bind 0.0.0.0 | IP binding |
Loadout | Loadout 15/15/81 | Starting items (IDs separated by /) |
📝 Toggle commands (
PvE,Cheats,BattlEye_Secure,Gold): just include the line to enable, omit to disable.
Perspective Options
| Value | Description |
|---|---|
First | First-person only (competitive PvP) |
Third | Third-person only |
Both | Players toggle freely (default) |
Vehicle | First-person on foot, third-person in vehicles |
GSLT (Recommended)
Create at Steam Game Server Management with App ID 304930. Add: Login_Token YOUR_TOKEN
Without GSLT, the server may not appear in the browser reliably.
Ports
| Port | Protocol | Purpose |
|---|---|---|
| 27015 | UDP | Game |
| 27016 | UDP | Query (auto: game +1) |
Example Commands.dat
Name XGaming Unturned Server
Port 27015
Maxplayers 24
Map PEI
Mode Normal
Perspective Both
PvE
Welcome Welcome to our server!
Owner 76561198012345678
Login_Token YOUR_GSLT_HERE
BattlEye_Secure
Cycle 3600Related Guides
How is this guide?

40% Off — Limited TimeGet your Unturned server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server