Unturned commands
Table of contents
All available Unturned commands
Are you struggling to find a handy page with all Unturned commands? You've come to the right place! On this page, you'll find a complete list of all Unturned commands, including those for the commands.dat file, singleplayer commands, and all available console commands for your server.
In-game Unturned commands
You can use many commands while playing, but cheats must be enabled on the server you're playing on. If you're playing on a multiplayer server, you also need an admin role to use these commands. To use any command, simply copy an example command from the list and paste it directly into the game!
As shown below, some commands require item or vehicle IDs. You can find these IDs in our Vehicles ID List and Items ID List.
Command | Example | Description |
---|---|---|
/give [item ID] | /give 363 | Gives an item with a specified ID. |
/vehicle [vehicle ID] | /vehicle 10 | Gives a vehicle with a specified ID. |
/experience [amount] | /experience 5000 | Provides a specific amount of experience points to the player. |
/teleport [target] | /teleport wp | Initiates the teleportation to specific map coordinates or to a designated player. |
/time | /time 360 | Assigns the current time of the day-night cycle, in seconds. |
/night | /night | Initiates the setting of nighttime. Can be used in a console. |
/day | /day | Initiates the setting of daytime. Can be used in a console. |
/kill [player] | /kill desiredPlayer | Eliminates the specified player. Can be used in a console. |
/animal [animal ID] | /animal 1 | Summons the chosen animal to the game world. |
Flag [SteamID | Player]/[Flag]/[Value] | /flag John/friendly/true | Sets the "friendly" flag to true for the player named John. If no player is specified, the flag is set for the executing player. |
Kick [SteamID | Player]/[Reason] | /kick desiredPlayer spam | Removes a player from the server; leaving the reason blank kicks them with an "unspecified" message. Console-ready. |
Spy [SteamID | Player] | /spy player | Requests a screenshot from the target player and saves it on the caller\'s computer as Spy.jpg. |
Slay [SteamID | Player]/[Reason] | /slay player/bad player | Eliminates the designated player in-game and issues a permanent ban. If a player is specified without optional parameters, the banned duration defaults to 31,536,000 seconds (365 days) for an "unspecified" reason. |
Weather [None | Disable | Storm | Blizzard | GUID] | /weather blizzard | Controls the current weather cycle. |
UnlockNpcAchievement [SteamID | Player]/[AchievementID] | /UnlockNpcAchievement player/2 | Bestows a player with the specified achievement. Only certain achievements are eligible for granting. |
Unpermit [SteamID] | /unpermit 7652119XXXXXXXXXX | Excludes the designated player from the list of users allowed to join the server. |
Commands.dat
Your server folder\steamapps\common\U3DS\Servers\WikbaseServer\Server
Unturned Dedicated Servers provide a simple configuration file, Commands.dat, which allows you to modify server settings. You can adjust the settings by adding new lines to this file. Below is a list of all available configuration lines for the Commands.dat file:
Command | Example | Description |
---|---|---|
Name [text] | name Wikbase Server | Sets a name for your Unturned server |
Port [Number] | port 27015 | Sets a port for your Unturned server |
PvE [ON | OFF] | pve on | Turning off player versus player combat, enables player versus environment mode. |
Owner [SteamID] | owner 7654219XXXXXXXX | Gives an admin role for a chosen SteamID. |
Perspective [First | Third | Both | Vehicle] | perspective both | Decides if players can use first, third or both perspectives. "Vehicle" enables third perspective only when you’re in a vehicle. |
Queue_Size [0-64] | queue_size 20 | Sets the maximum connection in query for your server. |
Welcome [Text]/[R]/[G]/[B] | hello, gamer/25/52/255 | Defines a welcome message displayed to clients upon connection. |
Whitelisted [ON | OFF] | whitelisted on | Restricts server access to permitted players only. |
Bind[IP] | bind 0.0.0.0 | Binds the specified internal IP to the socket. |
Sync [ON | OFF] | sync on | Enables players to synchronize savedata across your servers. |
Chatrate [0-60 in seconds] | chatrate 15 | Sets a cooldown of 10 seconds between chat messages. |
Cheats [ON/OFF] | cheats on | Enables the usage of cheat commands. |
Cycle [seconds] | Cycle 3600 | Sets the length of the day/night cycle to your period of time. |
Filter | filter | Filters out players with non-English, non-alphanumeric names. |
Mode [easy | normal | hard] | mode hard | Assigns the difficulty of the server. |
GameMode [Class Name] | gamemode survival | Assigns the game mode of the server. |
Map [Level] | map Russia | Sets the map that the server loads on startup. |
MaxPlayers [1-200] | maxplayers 36 | Sets the maximum number of connections the server is willing to accept. |
Gold [ON/OFF] | gold on | Marks the server as joinable only by Gold members.'}, {command: 'GSLT [Login Token]', example: 'GSLT your login token', description: 'Sets the game server login token |
Hide_Admins [ON/OFF] | Hide_Admins on | Hides the visibility of admin labels from players. |
Loadout [SkillsetID]/[ItemID]... | loadout 2/1176 | When spawning, grants players the specified item corresponding to their skillset. If the skillset ID is set to 255, it applies to all skillsets. |
Console commands
You can manage your server using console commands through your server's console. Below is a list of all Unturned console commands:
Command | Example | Description |
---|---|---|
Admin [SteamID | Player] | admin dihardy | Grants administrator privileges to the player named John. |
Ban [SteamID | Player] | ban dihardy | Issues a ban to the specified player. |
Bans | bans | Initiates a search for a comprehensive list of banned players. |
CopyServerCode | CopyServerCode | Copies your server code to share it with your friends and play together. |
EffectUI | EffectUI 24 | Initiates the spawning of a UI effect for the executing player. |
Reload | reload | Refreshes an asset identified by its GUID |
Reputation | Reputation dihardy/10000 | Grants reputation to a specified player. If no player is specified, the executing player receives the reputation. |
Timeout [50-10000] | timeout 250 | Sets a maximum ping threshold for the server, resulting in a client being kicked if their ping exceeds the specified limit. If the command is not provided, it defaults to the value set by Max_Ping_Milliseconds, which is typically 750 milliseconds. |
Unadmin [SteamID | Player] | unadmin dihardy | Restores the configuration file to its default values. |
Unban [SteamID] | unadmin 7656119XXXXXXXXXX | Deletes the designated player from the list of prohibited users not allowed to join the server. |
ResetConfig | resetconfig | Restores the configuration file to its default values. |
Save | save | Compels a valid save of the server state. |
Say [Text]/[R]/[G]/[B] | say text/255/255/255 | Conveys a message to all connected clients through in-game chat. If an RGB color is unspecified, it defaults to 0, 255, 0. |
Debug | debug | Outputs information on the state of the server to the server console. |
Shutdown [Delay]/[Explanation] | shutdown 600/updating | Saves the server state, disconnects clients, and shuts down the server. If executed without optional parameters, it immediately closes with no explanation to disconnected clients. |
Help | help | Outputs information on commands, to the server console. |
Votify [Vote Allowed Y/N]/[Pass Cooldown]/[Fail Cooldown]/[Vote Duration]/[Vote Percentage]/[Players] | votify y/20/300/20/24 | Enables server voting configuration. By default, voting is completely disabled. |
Log [Chat Y/N]/[Join/Leave Y/N]/[Death Y/N]/[Anticheat Y/N] | log y/y/y/y | Assigns the console log options. |
Modules | modules | Generates a roster of the loaded modules and displays it on the server console. |
Permit [SteamID]/[Tag] | permit 7656119XXXXXXXXXX/2 | Includes the designated player in the list of allowed server users. |
Permits | permits | Displays a roster of players authorized to join the server on the server console. |
Players | players | Shows a list of current players on the server on the server console. |
Quest [SteamID | Player]/[Quest] | quest dihardy/suspected | Assigns a quest flag to a player. If no player is specified, the executing player receives the quest flag. |