Menu
 

Unturned Server Commands: All 62, With the Game's Own Syntax, Plus Commands.dat

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.

CommandUsage the game printsWhat it does
/adminAdmin [SteamID | Player]This adds the specified player to the list of users allowed to use admin commands in the chat.
/adminsAdminsThis shows a list of the current admins.
/airdropAirdropThis forces a dropship to fly over and perform an airdrop.
/animalAnimal [SteamID | Player]/[AnimalID]This gives a player an animal.
/armorArmor [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%.
/banBan [SteamID | Player]/[Reason]/[Duration]This adds the specified player to the list of users not allowed to join the server.
/bansBansThis shows a list of the current bans.
/bindBind [IP]This binds a specific internal IP to the socket.
/perspectivePerspective [First | Third | Both | Vehicle]This assigns the perspective of the server.
/chatrateChatrate [Number]This assigns a minimum time between chat messages.
/cheatsCheatsThis allows the use of cheats like spawning items, vehicles and experience.
/cycleCycle [Number]This assigns the length of the day/night cycle in seconds.
/dayDayThis assigns the current time to day.
/debugDebugThis provides information on the state of the server.
/decayDecay [Barricade Duration]/[Structure Duration]This assigns the barricade and structure decay in seconds. Disables decay when set to 0.
/experienceExperience [SteamID | Player]/[Experience]This gives a player some experience.
/filterFilterThis filters out players with non-English-alphanumeric names.
/flagFlag [SteamID | Player]/[Flag]/[Value]This sets a player's flag.
/gsltGSLT [Login Token]This sets the game server login token.
/gamemodeGameMode [Class Name]This assigns the game mode of the server.
/giveGive [SteamID | Player]/[ItemID | Name]/[Amount]This gives a player an item.
/goldGoldThis marks the server as joinable only by Gold members.
/helpHelp [Command]This provides information on commands.
/hide_adminsHide_AdminsThis hides the visibility of admin labels from players.
/kickKick [SteamID | Player]/[Reason]This disconnects the specified player from the server.
/killKill [SteamID | Player]This kills the specified player in-game.
/loadoutLoadout [SkillsetID]/[ItemID]/[ItemID]/...This gives players each item when spawning. Using a skillset ID of 255 gives the item to everyone.
/logLog [Chat Y/N]/[Join/Leave Y/N]/[Death Y/N]/[Anticheat Y/N]This assigns the console log options.
/mapMap [Level]This sets the map that the server loads on startup.
/maxplayersMaxPlayers [Number]This sets the maximum number of connections the server is willing to accept.
/modeMode [Easy | Normal | Hard]This assigns the difficulty of the server.
/modulesModulesThis shows a list of the loaded modules.
/nameName [Text]This assigns the name of the server on the server list.
/nightNightThis assigns the current time to night.
/ownerOwner [SteamID]This sets the owner of the server.
/passwordPassword [Text]This assigns the codeword required for entry to the server.
/permitPermit [SteamID]/[Tag]This adds the specified player to the list of users allowed to join the server.
/permitsPermitsThis shows a list of the current players allowed to join the server.
/playersPlayersThis shows a list of the current players on the server.
/portPort [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.
/pvePvEThis disables player-versus-player combat, in favor of player-versus-environment combat.
/questQuest [SteamID | Player]/[Quest]This gives a player a flag.
/queue_sizeQueue_Size [Number]This sets the maximum number of queued connections the server is willing to hold on to.
/reloadReload [GUID | Path]This reloads an asset by GUID or an absolute directory path.
/reputationReputation [SteamID | Player]/[Reputation]This gives a player some reputation.
/saveSaveThis forces a proper save of the server state.
/saySay [Text]/[R]/[G]/[B]This broadcasts a message to all of the connected clients.
/shutdownShutdown [Delay]/[Explanation]This properly saves the server state, disconnects the clients and closes the program.
/slaySlay [SteamID | Player]/[Reason]This kills the specified player in-game and permanently bans them.
/spySpy [SteamID | Player]This requests a screenshot from the target player and saves it on the caller's computer as Spy.jpg.
/syncSyncThis allows players to share savedata between your servers.
/teleportTeleport [SteamID | Player]/[SteamID | Player | Location]This teleports a player to either another player, or a location.
/timeTime [Number]This assigns the current time in seconds of the day-night cycle.
/timeoutTimeout [Number]This assigns a maximum ping threshold to the server before a client is kicked.
/unadminUnadmin [SteamID | Player]This removes the specified player from the list of users allowed to use admin commands in the chat.
/unbanUnban [SteamID]This removes the specified player from the list of users not allowed to join the server.
/unpermitUnpermit [SteamID]This removes the specified player from the list of users allowed to join the server.
/vehicleVehicle [SteamID | Player]/[VehicleID | Name]This gives a player a vehicle.
/votifyVotify [Vote Allowed Y/N]/[Pass Cooldown]/[Fail Cooldown]/[Vote Duration]/[Vote Percentage]/[Players]This configures voting for the server.
/weatherWeather [None | Disable | Storm | Blizzard | GUID]This starts or stops the current weather cycle.
/welcomeWelcome [Text]/[R]/[G]/[B]This sets a welcome message shown to clients once they connect.
/whitelistedWhitelistedThis 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
FrameRate30-60Affects server tick rate
Tick_Delay0.01-0.03Game update frequency
Max_Ping200-500Connection quality control
Max_Packets_Per_Second2000Network 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
MapPEI/Russia/WashingtonSelects game map
Cycle3600Day/night cycle length
Time12:00Starting time of day
WeatherTrue/FalseEnable 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
BindBind 192.168.1.100Server IP address binding
PortPort 27015Game server port
Query_PortQuery_Port 27016Server query port
NameName "My Server"Server display name
PasswordPassword "Secret123"Server access password
MaxPlayersMaxPlayers 24Maximum player capacity

Gameplay Commands

Command Example Description
PerspectivePerspective BothFirst/Third/Both person view
GameModeGameMode NormalNormal/Hardcore/Battle Royale
DifficultyDifficulty NormalEasy/Normal/Hard
CheatsCheatsEnable cheat commands
PVEPVE TruePlayer vs Environment only

Performance Commands

Command Example Description
FrameRateFrameRate 60Server frames per second
Tick_DelayTick_Delay 0.01Server tick delay
TimeoutTimeout 120Connection timeout
Max_PingMax_Ping 400Maximum allowed ping
LogLog 3Log 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 visibleMissing or incorrect portsVerify Port and Query_Port
Players can't joinIncorrect Bind or firewallCheck Bind IP and firewall settings
High server loadLow FrameRate or many entitiesAdjust FrameRate and spawn limits
Password not workingSpecial characters or quotesUse 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.

Tired of fighting this issue every patch?

Run a managed Unturned server with us. We handle the patches, mod-version pinning, save backups, and DDoS protection. Set up in minutes, multiple datacenter regions, no contract.

See Unturned hosting plans โ†’
Top