Unturned
Updated May 14, 2026
Unturned Server Configuration (Commands.dat)
Complete reference for Commands.dat — Unturned's primary server configuration file. Covers server name, player limits, map selection, difficulty, PvE/PvP, GSLT, and all available commands.
UnturnedCommands.datconfigconfigurationserver settings
Unturned Server Configuration (Commands.dat)
The server configuration file is:
Servers/<ServerName>/Server/Commands.dat
Each line is one command: CommandName Value (no equals signs). Commands are not case-sensitive. Omit a command entirely to use its default value.
Essential Commands
Name My Unturned Server
Port 27015
MaxPlayers 24
Map PEI
Mode Normal
Perspective Both
Owner 76561198XXXXXXXXX
Login_Token YOUR_GSLT_TOKEN
Welcome Welcome to the server! Please read the rules.
Full Command Reference
Server Identity
| Command | Example | Description |
|---|---|---|
Name |
Name My Server |
Display name in server browser |
Port |
Port 27015 |
Base UDP port (query is Port+1) |
MaxPlayers |
MaxPlayers 24 |
Maximum concurrent players (default: 8) |
Password |
Password secret |
Join password; omit for a public server |
Welcome |
Welcome Hello! |
MOTD displayed to players on join |
Login_Token |
Login_Token XXXX |
GSLT from Steam — required for public browser |
Map and Gameplay
| Command | Example | Description |
|---|---|---|
Map |
Map PEI |
Map to load (case-sensitive, must match map name) |
Mode |
Mode Normal |
Difficulty: Easy, Normal, or Hard |
Perspective |
Perspective Both |
Camera: First, Third, Vehicle, or Both |
Cycle |
Cycle 3600 |
Day/night cycle length in seconds |
Decay |
Decay 604800 |
Structure decay time in seconds (default: 7 days) |
Loadout |
Loadout 300/15/16 |
Starting item IDs separated by / |
Access Control
| Command | Example | Description |
|---|---|---|
Owner |
Owner 76561198XXXXXXXXX |
Single Steam64 ID with full admin rights |
Whitelisted |
Whitelisted |
Toggle (no value) — whitelist-only server |
Gold |
Gold |
Toggle — restricts access to Gold Edition players |
BattlEye_Secure |
BattlEye_Secure |
Toggle — enables BattlEye anti-cheat |
Gameplay Modifiers
| Command | Example | Description |
|---|---|---|
PvE |
PvE |
Toggle — disables player-vs-player damage |
Cheats |
Cheats |
Toggle — enables admin cheat commands |
Hide_Admins |
Hide_Admins |
Toggle — hides admin badge from other players |
Votify |
Votify |
Toggle — enables the in-game vote system |
Sync |
Sync |
Toggle — enables cross-server save sharing |
Filter |
Filter |
Toggle — enforces player name character rules |
Performance and Network
| Command | Example | Description |
|---|---|---|
Bind |
Bind 0.0.0.0 |
IP to bind (use specific IP on multi-interface machines) |
Timeout |
Timeout 500 |
Max ping threshold in ms before kicking (default: 500) |
Queue_Size |
Queue_Size 5 |
Max players queued to join when server is full |
Chatrate |
Chatrate 3 |
Minimum seconds between a player's chat messages |
Example Configurations
Standard Public Server (PvP)
Name My Community Server
Port 27015
MaxPlayers 24
Map PEI
Mode Normal
Perspective Both
Login_Token YOUR_GSLT_HERE
BattlEye_Secure
Welcome Welcome! Discord: discord.gg/yourserver
Timeout 500
Chatrate 3
PvE Survival Server
Name PvE Survival
Port 27015
MaxPlayers 16
Map Washington
Mode Normal
Perspective Both
PvE
Login_Token YOUR_GSLT_HERE
Welcome Welcome to PvE! No player killing.
Decay 1209600
Cycle 7200
Applying Changes
Stop the server, edit Commands.dat, then restart. Changes are read only at startup.
Back to Knowledgebase
Need help?
Submit a Ticket →