Unturned Commands.dat Complete Configuration
The Commands.dat file is the heart of your Unturned server configuration. This comprehensive guide covers all available commands, best practices, and optimization techniques.
Every server command, 62 of them
This table is not copied from another wiki. It is read out of the dedicated server's own English text files, so the syntax column is the exact usage string the game prints when you get a command wrong, and the description is the game's own wording.
Two things that catch people out and are visible here. The command you type is not always the class name you see quoted elsewhere: the camera command is typed /perspective, and admin hiding is /hide_admins with the underscore. And where a command takes more than one parameter, 20 of the 62 do, they are separated by a forward slash rather than spaces. Reading the usage column literally, brackets and slashes included, is the difference between a command working and doing nothing.
| Command | Usage the game prints | What it does |
|---|---|---|
/admin | Admin [SteamID | Player] | This adds the specified player to the list of users allowed to use admin commands in the chat. |
/admins | Admins | This shows a list of the current admins. |
/airdrop | Airdrop | This forces a dropship to fly over and perform an airdrop. |
/animal | Animal [SteamID | Player]/[AnimalID] | This gives a player an animal. |
/armor | Armor [Barricade Multiplier]/[Structure Multiplier] | This assigns the barricade and structure damage multiplier where 0 is no damage, 0.5 is 50% damage and 1 is 100%. |
/ban | Ban [SteamID | Player]/[Reason]/[Duration] | This adds the specified player to the list of users not allowed to join the server. |
/bans | Bans | This shows a list of the current bans. |
/bind | Bind [IP] | This binds a specific internal IP to the socket. |
/perspective | Perspective [First | Third | Both | Vehicle] | This assigns the perspective of the server. |
/chatrate | Chatrate [Number] | This assigns a minimum time between chat messages. |
/cheats | Cheats | This allows the use of cheats like spawning items, vehicles and experience. |
/cycle | Cycle [Number] | This assigns the length of the day/night cycle in seconds. |
/day | Day | This assigns the current time to day. |
/debug | Debug | This provides information on the state of the server. |
/decay | Decay [Barricade Duration]/[Structure Duration] | This assigns the barricade and structure decay in seconds. Disables decay when set to 0. |
/experience | Experience [SteamID | Player]/[Experience] | This gives a player some experience. |
/filter | Filter | This filters out players with non-English-alphanumeric names. |
/flag | Flag [SteamID | Player]/[Flag]/[Value] | This sets a player's flag. |
/gslt | GSLT [Login Token] | This sets the game server login token. |
/gamemode | GameMode [Class Name] | This assigns the game mode of the server. |
/give | Give [SteamID | Player]/[ItemID | Name]/[Amount] | This gives a player an item. |
/gold | Gold | This marks the server as joinable only by Gold members. |
/help | Help [Command] | This provides information on commands. |
/hide_admins | Hide_Admins | This hides the visibility of admin labels from players. |
/kick | Kick [SteamID | Player]/[Reason] | This disconnects the specified player from the server. |
/kill | Kill [SteamID | Player] | This kills the specified player in-game. |
/loadout | Loadout [SkillsetID]/[ItemID]/[ItemID]/... | This gives players each item when spawning. Using a skillset ID of 255 gives the item to everyone. |
/log | Log [Chat Y/N]/[Join/Leave Y/N]/[Death Y/N]/[Anticheat Y/N] | This assigns the console log options. |
/map | Map [Level] | This sets the map that the server loads on startup. |
/maxplayers | MaxPlayers [Number] | This sets the maximum number of connections the server is willing to accept. |
/mode | Mode [Easy | Normal | Hard] | This assigns the difficulty of the server. |
/modules | Modules | This shows a list of the loaded modules. |
/name | Name [Text] | This assigns the name of the server on the server list. |
/night | Night | This assigns the current time to night. |
/owner | Owner [SteamID] | This sets the owner of the server. |
/password | Password [Text] | This assigns the codeword required for entry to the server. |
/permit | Permit [SteamID]/[Tag] | This adds the specified player to the list of users allowed to join the server. |
/permits | Permits | This shows a list of the current players allowed to join the server. |
/players | Players | This shows a list of the current players on the server. |
/port | Port [Number] | This assigns the port of the server. Servers use two consecutive ports: the first for server list queries, and the second for in-game traffic. The first should be configured here, but both should be opened on the router. |
/pve | PvE | This disables player-versus-player combat, in favor of player-versus-environment combat. |
/quest | Quest [SteamID | Player]/[Quest] | This gives a player a flag. |
/queue_size | Queue_Size [Number] | This sets the maximum number of queued connections the server is willing to hold on to. |
/reload | Reload [GUID | Path] | This reloads an asset by GUID or an absolute directory path. |
/reputation | Reputation [SteamID | Player]/[Reputation] | This gives a player some reputation. |
/save | Save | This forces a proper save of the server state. |
/say | Say [Text]/[R]/[G]/[B] | This broadcasts a message to all of the connected clients. |
/shutdown | Shutdown [Delay]/[Explanation] | This properly saves the server state, disconnects the clients and closes the program. |
/slay | Slay [SteamID | Player]/[Reason] | This kills the specified player in-game and permanently bans them. |
/spy | Spy [SteamID | Player] | This requests a screenshot from the target player and saves it on the caller's computer as Spy.jpg. |
/sync | Sync | This allows players to share savedata between your servers. |
/teleport | Teleport [SteamID | Player]/[SteamID | Player | Location] | This teleports a player to either another player, or a location. |
/time | Time [Number] | This assigns the current time in seconds of the day-night cycle. |
/timeout | Timeout [Number] | This assigns a maximum ping threshold to the server before a client is kicked. |
/unadmin | Unadmin [SteamID | Player] | This removes the specified player from the list of users allowed to use admin commands in the chat. |
/unban | Unban [SteamID] | This removes the specified player from the list of users not allowed to join the server. |
/unpermit | Unpermit [SteamID] | This removes the specified player from the list of users allowed to join the server. |
/vehicle | Vehicle [SteamID | Player]/[VehicleID | Name] | This gives a player a vehicle. |
/votify | Votify [Vote Allowed Y/N]/[Pass Cooldown]/[Fail Cooldown]/[Vote Duration]/[Vote Percentage]/[Players] | This configures voting for the server. |
/weather | Weather [None | Disable | Storm | Blizzard | GUID] | This starts or stops the current weather cycle. |
/welcome | Welcome [Text]/[R]/[G]/[B] | This sets a welcome message shown to clients once they connect. |
/whitelisted | Whitelisted | This makes only permitted players allowed to join the server. |
Verified on 17 September 2026 against the Unturned dedicated server we run, Steam buildid 25107012, from Localization/English/Server/.
Commands.dat is the same commands, run at startup
Everything above can be typed into the server console while it runs. Commands.dat is how you make them happen automatically every time the server starts, one command per line, without the leading slash. That is the whole relationship, and it is why a "commands list" and a "Commands.dat guide" are the same subject.
Understanding Commands.dat
Commands.dat controls:
- Server basic settings (name, map, players)
- Gameplay mechanics (difficulty, mode)
- Performance settings (tick rate, timeout)
- Network configuration (ports, binding)
- Security options (password, whitelist)
Basic Settings
Essential server configuration commands
Performance
Server optimization and resource management
Security
Access control and protection settings
Solution 1: Essential Configuration
Basic Server Setup
Fundamental commands for server operation:
// Server Identity
Name MyUnturnedServer
Map PEI
Password ""
MaxPlayers 24
// Network Configuration
Port 27015
Bind 0.0.0.0
Query_Port 27016
// Game Mode
Perspective Both
GameMode Normal
Difficulty Normal
Location of Commands.dat
Find the file in this directory structure:
Servers/
โโโ YourServerName/
โ โโโ Server/
โ โ โโโ Commands.dat
โ โ โโโ ServerConfig.json
โ โ โโโ Level.sav
โ โโโ Workshop/
โโโ ...
Solution 2: Performance Commands
Server Optimization
Performance-tuned configuration:
// Performance Settings
FrameRate 60
Tick_Delay 0.01
Timeout 60
Log 3
// Network Performance
Max_Ping 400
Max_Packets_Per_Second 2000
Chatrate 0.5
Sync_Reset_Items False
// Resource Management
Max_Zombies 100
Max_Animals 50
Max_Vehicles 10
Advanced Performance Options
| Command | Recommended | Impact |
|---|---|---|
| FrameRate | 30-60 | Affects server tick rate |
| Tick_Delay | 0.01-0.03 | Game update frequency |
| Max_Ping | 200-500 | Connection quality control |
| Max_Packets_Per_Second | 2000 | Network bandwidth usage |
Solution 3: Gameplay Configuration
Game Mode Settings
Configure gameplay mechanics:
// Difficulty Settings
Difficulty Normal/Easy/Hardcore
Cheats Disabled
PVE Enabled/Disabled
Decay Enabled
// Durability Settings
Durability_Vehicles Enabled
Durability_Weapons Disabled
Durability_Clothing Enabled
// Economy Settings
Gold Disabled
Allow_Workshop Enabled
Map and Environment
World-specific configuration:
| Map Option | Value | Description |
|---|---|---|
| Map | PEI/Russia/Washington | Selects game map |
| Cycle | 3600 | Day/night cycle length |
| Time | 12:00 | Starting time of day |
| Weather | True/False | Enable weather system |
Solution 4: Security and Access
Access Control
Server security configuration:
// Basic Security
Password "YourPassword"
Whitelist Enabled
Whelist Admin steamID1,steamID2
// Anti-Cheat
BattlEye Enabled
VAC Enabled
Secure Enabled
// Connection Security
Check_Licenses True
Secured True
Admin and Permissions
Administrative access setup:
- Owner: Automatic admin with all permissions
- Admins: Full server controlๆ้
- Moderators: Limited administrative powers
- VIP: Special player privileges
Solution 5: Complete Command Reference
Core Commands
| Command | Example | Description |
|---|---|---|
| Bind | Bind 192.168.1.100 | Server IP address binding |
| Port | Port 27015 | Game server port |
| Query_Port | Query_Port 27016 | Server query port |
| Name | Name "My Server" | Server display name |
| Password | Password "Secret123" | Server access password |
| MaxPlayers | MaxPlayers 24 | Maximum player capacity |
Gameplay Commands
| Command | Example | Description |
|---|---|---|
| Perspective | Perspective Both | First/Third/Both person view |
| GameMode | GameMode Normal | Normal/Hardcore/Battle Royale |
| Difficulty | Difficulty Normal | Easy/Normal/Hard |
| Cheats | Cheats | Enable cheat commands |
| PVE | PVE True | Player vs Environment only |
Performance Commands
| Command | Example | Description |
|---|---|---|
| FrameRate | FrameRate 60 | Server frames per second |
| Tick_Delay | Tick_Delay 0.01 | Server tick delay |
| Timeout | Timeout 120 | Connection timeout |
| Max_Ping | Max_Ping 400 | Maximum allowed ping |
| Log | Log 3 | Log verbosity level |
Advanced Configuration
Mod Integration
Common mod-related commands:
// RocketMod Integration
Rocket Enabled
Rocket_Plugins RocketMod.Plugins.*
// Workshop Support
Allow_Workshop True
Workshop_Download_Auto True
// Custom Configuration
Loadout_Civilian True
Loadout_Military False
Customization Options
Personalize your server:
- Custom loadouts and starting gear
- Vehicle spawn rates and types
- Weapon and item availability
- Building rules and restrictions
Troubleshooting Commands.dat
Common Configuration Issues
| Problem | Cause | Solution |
|---|---|---|
| Server not visible | Missing or incorrect ports | Verify Port and Query_Port |
| Players can't join | Incorrect Bind or firewall | Check Bind IP and firewall settings |
| High server load | Low FrameRate or many entities | Adjust FrameRate and spawn limits |
| Password not working | Special characters or quotes | Use simple passwords with quotes |
Pro Tip: Always backup your Commands.dat before making changes. Test new configurations with a few players first to ensure stability before opening to the public.
Best Practices
Configuration Management
- Keep a clean, commented Commands.dat
- Document your configuration changes
- Test new settings in a controlled environment
- Use version control for configuration files
Security Recommendations
- Always use strong passwords
- Enable BattlEye for anti-cheat protection
- Regularly update your server software
- Monitor server logs for suspicious activity
Master your Unturned server configuration with this comprehensive Commands.dat guide for optimal performance and security.