Unturned commands

Every command built into Unturned 3.26.3.14: 74 that work, with their syntax read from the game's own files, who can use each one and an example you can copy. Plugins such as RocketMod and OpenMod add their own commands, which aren't listed here.

How to type a command

How to turn on cheats in singleplayer

  1. From the main menu go to Play, then Singleplayer, and pick the map.
  2. Tick Allow Cheatcodes, then press Play Offline. The game remembers the tick for next time.
  3. In game, open the chat and type a command, such as /give 363 or /experience 10000.

Only the spawning commands need cheats (the list). Teleporting, time, weather and/kill work in any singleplayer game, cheats or not. Server-only commands such as /ban do nothing offline.

How to become admin on your own server

  1. Find your SteamID64, the 17-digit number Steam shows on your Account details page.
  2. Open Servers/<name>/Server/Commands.dat in the server's folder (the server creates it, empty, on its first start) and add the line Owner 76561198… with your number.
  3. To use /give, /vehicle and the other spawning commands, add a line with just Cheats.
  4. Restart the server. You are now an admin every time you join.

To make someone else an admin, type admin and their name in the server console while they're online, or /admin in chat once you are one. On someone else's server only their admins can do that: no command makes you admin there.

All commands

77 rows
GiveThis gives a player an item.Admin + cheatsWith cheats
VehicleThis gives a player a vehicle.Admin + cheatsWith cheats
ExperienceThis gives a player some experience.Admin + cheatsWith cheats
ReputationThis gives a player some reputation.Admin + cheatsWith cheats
AnimalThis gives a player an animal.Admin + cheatsWith cheats
TeleportThis teleports a player to either another player, or a location.AdminYes
KillThis kills the specified player in-game.AdminYes
PlayersThis shows a list of the current players on the server.AdminNo
SayThis broadcasts a message to all of the connected clients.AdminNo
TimeThis assigns the current time in seconds of the day-night cycle.AdminYes
DayThis assigns the current time to day.AdminYes
NightThis assigns the current time to night.AdminYes
CycleThis assigns the length of the day/night cycle in seconds.AdminYes
WeatherThis starts or stops the current weather cycle.AdminYes
AirdropThis forces a dropship to fly over and perform an airdrop.AdminYes
KickThis disconnects the specified player from the server.AdminNo
BanThis adds the specified player to the list of users not allowed to join the server.AdminNo
UnbanThis removes the specified player from the list of users not allowed to join the server.AdminNo
BansThis shows a list of the current bans.AdminNo
SlayThis kills the specified player in-game and permanently bans them.AdminNo
SpyThis requests a screenshot from the target player and saves it on the caller's computer as Spy.jpg.AdminYes
AdminThis adds the specified player to the list of users allowed to use admin commands in the chat.AdminNo
UnadminThis removes the specified player from the list of users allowed to use admin commands in the chat.AdminNo
AdminsThis shows a list of the current admins.AdminNo
PermitThis adds the specified player to the list of users allowed to join the server.AdminNo
UnpermitThis removes the specified player from the list of users allowed to join the server.AdminNo
PermitsThis shows a list of the current players allowed to join the server.AdminNo
SaveThis forces a proper save of the server state.AdminYes
ShutdownThis properly saves the server state, disconnects the clients and closes the program.AdminNo
HelpThis provides information on commands.AdminYes
DebugThis provides information on the state of the server.AdminNo
ModulesThis shows a list of the loaded modules.AdminYes
LogThis assigns the console log options.AdminNo
TimeoutThis assigns a maximum ping threshold to the server before a client is kicked.AdminNo
LogMemoryUsagePrints counts of loaded objects, textures, sounds and meshes.AdminYes
MapThis sets the map that the server loads on startup.Commands.datNo
PortThis 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.Commands.datNo
BindThis binds a specific internal IP to the socket.Commands.datNo
PasswordThis assigns the codeword required for entry to the server.Commands.datNo
NameThis assigns the name of the server on the server list.AdminNo
MaxPlayersThis sets the maximum number of connections the server is willing to accept.AdminNo
Queue_SizeThis sets the maximum number of queued connections the server is willing to hold on to.AdminNo
ModeThis assigns the difficulty of the server.Commands.datNo
PvEThis disables player-versus-player combat, in favor of player-versus-environment combat.Commands.datNo
PerspectiveThis assigns the perspective of the server.Commands.datNo
CheatsThis allows the use of cheats like spawning items, vehicles and experience.Commands.datNo
OwnerThis sets the owner of the server.Commands.datNo
WelcomeThis sets a welcome message shown to clients once they connect.AdminNo
GSLTThis sets the game server login token.Commands.datNo
WhitelistedThis makes only permitted players allowed to join the server.Commands.datNo
Hide_AdminsThis hides the visibility of admin labels from players.Commands.datNo
FilterThis filters out players with non-English-alphanumeric names.Commands.datNo
SyncThis allows players to share savedata between your servers.Commands.datNo
GoldThis marks the server as joinable only by Gold members.Commands.datNo
LoadoutThis gives players each item when spawning. Using a skillset ID of 255 gives the item to everyone.AdminYes
ChatrateThis assigns a minimum time between chat messages.AdminNo
VotifyThis configures voting for the server.AdminNo
CopyServerCodeCopies the server code to the clipboard.ConsoleNo
CopyFakeIPCopies the server's Steam Fake IP address to the clipboard.ConsoleNo
ScheduledShutdownInfoShows when the scheduled shutdown will happen.ConsoleNo
LogTransportConnectionsLists each player's network connection and address.ConsoleNo
ReloadThis reloads an asset by GUID or an absolute directory path.AdminYes
FlagThis sets a player's flag.Admin + cheatsWith cheats
QuestThis gives a player a flag.Admin + cheatsWith cheats
EffectUIThis spawns a UI effect for the executing player.AdminYes
NpcEventFires an NPC event as if you had triggered it.Admin + cheatsWith cheats
DialogueOpens an NPC dialogue for you.Admin + cheatsWith cheats
RunRewardListGrants an NPC reward list to you.Admin + cheatsWith cheats
SetNpcSpawnSets your NPC spawnpoint ID.Admin + cheatsWith cheats
ToggleNpcCutsceneModeTurns NPC cutscene mode on or off for you.Admin + cheatsWith cheats
UnlockNpcAchievementUnlocks a Steam achievement that NPC rewards may grant.Admin + cheatsWith cheats
DestroyDrivenVehicleDestroys the vehicle you are in.Admin + cheatsWith cheats
ExitAndDestroyDrivenVehicleGets you out of your vehicle and destroys it in the same moment.Admin + cheatsWith cheats
EnterAndDestroyNearestVehicleGets you into the nearest vehicle (within 16 m) and destroys it in the same moment.Admin + cheatsWith cheats
GameModeThis assigns the game mode of the server.Not workingNo
ArmorThis assigns the barricade and structure damage multiplier where 0 is no damage, 0.5 is 50% damage and 1 is 100%.Not workingNo
DecayThis assigns the barricade and structure decay in seconds. Disables decay when set to 0.Not workingNo

Admin means an admin in chat or the server console. Commands.dat means a startup line in the server's Commands.dat. The help text is the game's own.

Spawning items, vehicles and XP

These need cheats: the Cheats line in Commands.dat on a server, or Allow Cheatcodes in singleplayer. Leave out the player to target yourself.

Give

/Give [SteamID | Player]/[ItemID | Name]/[Amount]

This gives a player an item.

The item goes into the inventory (weapons and clothing are equipped when a slot is free), or drops at the player's feet when there is no room. The item can be its ID, its GUID or a name: an exact file or in-game name wins, then the first partial match, so an ID is the safe choice. Each copy is a full item; the amount is capped at 255.

SteamID | PlayerA player on the server: any part of their Steam or character name, or their 17-digit SteamID64. Leave it out to target yourself.
ItemID | NameItem ID (see the ID list), GUID or name.
AmountHow many, 1 to 255. Default 1.
Who can use itAdmins and the server console, when the server has the Cheats line. In singleplayer: with Allow Cheatcodes on.
/give 363

Gives you a Maplestrike.

/give 15/5

Gives you 5 × Medkit.

/give Nelson/253

Gives the player whose name contains Nelson an Alicepack.

Vehicle

/Vehicle [SteamID | Player]/[VehicleID | Name]

This gives a player a vehicle.

Spawns the vehicle next to the player. The vehicle can be its ID, GUID or name (exact matches first, then partial). Paint-variant IDs, such as the coloured Off-Roaders, spawn that colour.

SteamID | PlayerA player on the server: any part of their Steam or character name, or their 17-digit SteamID64. Leave it out to target yourself.
VehicleID | NameVehicle ID (see the vehicle ID list), GUID or name.
Who can use itAdmins and the server console, when the server has the Cheats line. In singleplayer: with Allow Cheatcodes on.
/vehicle 140

Spawns a Fighter Jet next to you.

/vehicle 1

Spawns a black Offroader.

/vehicle Nelson/185

Spawns a Bicycle next to the player named Nelson.

Experience

/Experience [SteamID | Player]/[Experience]

This gives a player some experience.

Adds experience points, which pay for skills. It adds to what the player has; it can't take any away.

SteamID | PlayerA player on the server: any part of their Steam or character name, or their 17-digit SteamID64. Leave it out to target yourself.
ExperiencePoints to add, a whole number from 0 up.
Who can use itAdmins and the server console, when the server has the Cheats line. In singleplayer: with Allow Cheatcodes on.
/experience 10000

Gives you 10,000 experience.

/experience Nelson/500

Gives Nelson 500 experience.

Reputation

/Reputation [SteamID | Player]/[Reputation]

This gives a player some reputation.

Changes reputation (the bandit/hero meter) by the amount given, up or down.

SteamID | PlayerA player on the server: any part of their Steam or character name, or their 17-digit SteamID64. Leave it out to target yourself.
ReputationA whole number; negative lowers it.
Who can use itAdmins and the server console, when the server has the Cheats line. In singleplayer: with Allow Cheatcodes on.
/reputation 100

Raises your reputation by 100.

/reputation Nelson/-50

Lowers Nelson's reputation by 50.

Animal

/Animal [SteamID | Player]/[AnimalID]

This gives a player an animal.

Spawns an animal near the player. It takes the numeric animal ID only.

SteamID | PlayerA player on the server: any part of their Steam or character name, or their 17-digit SteamID64. Leave it out to target yourself.
AnimalIDNumeric animal ID.
Animal IDs1 Deer, 2 Moose, 3 Wolf, 4 Pig, 5 Bear, 6 Cow, 7 Reindeer
Who can use itAdmins and the server console, when the server has the Cheats line. In singleplayer: with Allow Cheatcodes on.
/animal 5

Spawns a Bear near you.

/animal Nelson/1

Spawns a Deer near Nelson.

Teleporting and players

No cheats needed. On a server you have to be an admin.

Teleport

/Teleport [SteamID | Player]/[SteamID | Player | Location]

This teleports a player to either another player, or a location.

With one parameter it moves you; with two, it moves the first player to the second target. A target is a player, a named location on the map (any part of the name), WP for the marker you placed on your map, or Bed for your bed. You can't teleport to a player who is in a vehicle. The vanilla command is /teleport: /tp is a RocketMod shortcut and does nothing without it.

SteamID | PlayerA player on the server: any part of their Steam or character name, or their 17-digit SteamID64.
SteamID | Player | LocationWhere to: a player, a location name, WP or Bed.
KeywordsWP (your map marker), Bed (your bed)
Who can use itAdmins and the server console. In singleplayer: works without cheats.
/teleport WP

Teleports you to your map marker.

/teleport Nelson

Teleports you to Nelson.

/teleport Nelson/Summerside

Teleports Nelson to Summerside (on PEI).

Kill

/Kill [SteamID | Player]

This kills the specified player in-game.

Kills the player outright. Nothing else happens to them: they respawn as usual.

SteamID | PlayerA player on the server: any part of their Steam or character name, or their 17-digit SteamID64.
Who can use itAdmins and the server console. In singleplayer: works without cheats.
/kill Nelson

Kills Nelson.

Players

/Players

This shows a list of the current players on the server.

Lists everyone online with their SteamID64, Steam name, character name and ping. The list goes to the server console, so it's mostly useful there.

Who can use itAdmins and the server console. Does nothing in singleplayer.
players

Lists the players online (typed in the server console).

Say

/Say [Text]/[R]/[G]/[B]

This broadcasts a message to all of the connected clients.

Sends a message to everyone, shown as coming from the server. Add three numbers for a colour.

TextThe message. It can't contain a slash.
ROptional colour, three numbers from 0 to 255 for red, green and blue.
GOptional colour, three numbers from 0 to 255 for red, green and blue.
BOptional colour, three numbers from 0 to 255 for red, green and blue.
Who can use itAdmins and the server console. Does nothing in singleplayer.
/say Restart in 5 minutes

Broadcasts the message in the server colour.

/say Restart in 5 minutes/255/0/0

The same message in red.

Time, weather and airdrops

No cheats needed, so they also work in a plain singleplayer game. Time commands are refused on Horde and Arena maps.

Time

/Time [Number]

This assigns the current time in seconds of the day-night cycle.

Sets the time as seconds into the day-night cycle (3,600 seconds by default; see Cycle). 0 is sunrise. Day takes the first part of the cycle (half of it with the default lighting), so on the default cycle 900 is around midday and 2700 around midnight.

NumberSeconds into the cycle.
Who can use itAdmins and the server console. In singleplayer: works without cheats.
/time 900

Sets the time to around midday on a default 3,600-second cycle.

Day

/Day

This assigns the current time to day.

Skips to the start of the day.

Who can use itAdmins and the server console. In singleplayer: works without cheats.
/day

Makes it day.

Night

/Night

This assigns the current time to night.

Skips to the start of the night.

Who can use itAdmins and the server console. In singleplayer: works without cheats.
/night

Makes it night.

Cycle

/Cycle [Number]

This assigns the length of the day/night cycle in seconds.

Sets how long a full day and night lasts, in seconds. The default is 3,600 (one hour).

NumberSeconds for one full day and night.
Who can use itAdmins and the server console. In singleplayer: works without cheats.
/cycle 7200

Makes a full day last two hours.

Weather

/Weather [None | Disable | Storm | Blizzard | GUID]

This starts or stops the current weather cycle.

Storm and Blizzard start rain or snow, or stop it if it's already falling. None goes back to the map's normal weather schedule; Disable stops weather altogether. A weather asset GUID starts that weather.

None | Disable | Storm | Blizzard | GUIDOne of the words, or the GUID of a weather asset.
Who can use itAdmins and the server console. In singleplayer: works without cheats.
/weather Storm

Starts rain, or stops it if it is raining.

/weather None

Hands the weather back to the map's own schedule.

Airdrop

/Airdrop

This forces a dropship to fly over and perform an airdrop.

Calls the next airdrop now. It does nothing on maps without airdrops.

Who can use itAdmins and the server console. In singleplayer: works without cheats.
/airdrop

Sends a plane to drop a care package.

Moderation

Dedicated servers only: in singleplayer these do nothing.

Kick

/Kick [SteamID | Player]/[Reason]

This disconnects the specified player from the server.

Disconnects the player. They can rejoin straight away.

SteamID | PlayerA player on the server: any part of their Steam or character name, or their 17-digit SteamID64.
ReasonOptional; shown to the player. Without it the reason is "unspecified".
Who can use itAdmins and the server console. Does nothing in singleplayer.
/kick Nelson/Spamming chat

Kicks Nelson with a reason.

Ban

/Ban [SteamID | Player]/[Reason]/[Duration]

This adds the specified player to the list of users not allowed to join the server.

Bans by SteamID, and also by IP address and hardware ID when the player is online. A SteamID64 works for offline players too. Without a duration the ban is "permanent", which the game stores as one year (31,536,000 seconds).

SteamID | PlayerA player on the server: any part of their Steam or character name, or their 17-digit SteamID64.
ReasonOptional reason shown to the player.
DurationOptional length in seconds (86400 is one day).
Who can use itAdmins and the server console. Does nothing in singleplayer.
/ban Nelson/Cheating

Bans Nelson for a year.

/ban 76561198000000000/Griefing/86400

Bans that SteamID for one day.

Unban

/Unban [SteamID]

This removes the specified player from the list of users not allowed to join the server.

Lifts a ban. Use the SteamID64 shown by Bans.

SteamIDA 17-digit SteamID64 (starts with 7656119). An online player's name works too where the game says Player.
Who can use itAdmins and the server console. Does nothing in singleplayer.
/unban 76561198000000000

Unbans that player.

Bans

/Bans

This shows a list of the current bans.

Lists every ban with who banned them, the reason and the time left. The list goes to the server console.

Who can use itAdmins and the server console. Does nothing in singleplayer.
bans

Lists the bans (typed in the server console).

Slay

/Slay [SteamID | Player]/[Reason]

This kills the specified player in-game and permanently bans them.

Bans the player (for a year, like Ban without a duration) and kills them. The player has to be online.

SteamID | PlayerA player on the server: any part of their Steam or character name, or their 17-digit SteamID64.
ReasonOptional reason shown to the player.
Who can use itAdmins and the server console. Does nothing in singleplayer.
/slay Nelson/Cheating

Kills and bans Nelson.

Spy

/Spy [SteamID | Player]

This requests a screenshot from the target player and saves it on the caller's computer as Spy.jpg.

Asks the player's game for a screenshot and saves it on your computer as Spy.jpg. Handy for checking for wallhacks.

SteamID | PlayerA player on the server: any part of their Steam or character name, or their 17-digit SteamID64.
Who can use itAdmins and the server console. In singleplayer: works without cheats.
/spy Nelson

Saves a screenshot of Nelson's screen.

Admins and the whitelist

Dedicated servers only. Lists are saved in the server's folder, so they survive a restart.

Admin

/Admin [SteamID | Player]

This adds the specified player to the list of users allowed to use admin commands in the chat.

Makes the player an admin, so they can use commands in chat. It takes effect at once and is saved in Adminlist.dat.

SteamID | PlayerAn online player's name, or any SteamID64.
Who can use itAdmins and the server console. Does nothing in singleplayer.
admin Nelson

Makes Nelson an admin (from the server console).

Unadmin

/Unadmin [SteamID | Player]

This removes the specified player from the list of users allowed to use admin commands in the chat.

Removes a player from the admin list. The owner set in Commands.dat is an admin again on their next join.

SteamID | PlayerAn online player's name, or any SteamID64.
Who can use itAdmins and the server console. Does nothing in singleplayer.
/unadmin Nelson

Takes Nelson's admin away.

Admins

/Admins

This shows a list of the current admins.

Lists the admins and who made each one admin. The list goes to the server console.

Who can use itAdmins and the server console. Does nothing in singleplayer.
admins

Lists the admins (typed in the server console).

Permit

/Permit [SteamID]/[Tag]

This adds the specified player to the list of users allowed to join the server.

Adds a SteamID to the whitelist. It only matters on a server with the Whitelisted line.

SteamIDA 17-digit SteamID64 (starts with 7656119). An online player's name works too where the game says Player.
TagA note for yourself, usually the player's name.
Who can use itAdmins and the server console. Does nothing in singleplayer.
permit 76561198000000000/Nelson

Lets that player join a whitelisted server.

Unpermit

/Unpermit [SteamID]

This removes the specified player from the list of users allowed to join the server.

Removes a SteamID from the whitelist.

SteamIDA 17-digit SteamID64 (starts with 7656119). An online player's name works too where the game says Player.
Who can use itAdmins and the server console. Does nothing in singleplayer.
unpermit 76561198000000000

Takes that player off the whitelist.

Permits

/Permits

This shows a list of the current players allowed to join the server.

Lists the whitelist. The list goes to the server console.

Who can use itAdmins and the server console. Does nothing in singleplayer.
permits

Lists who may join (typed in the server console).

Running the server

For the server console or an admin in chat while the server runs.

Save

/Save

This forces a proper save of the server state.

Saves the world and every player now. The server also saves on its own and on Shutdown.

Who can use itAdmins and the server console. In singleplayer: works without cheats.
save

Saves the server.

Shutdown

/Shutdown [Delay]/[Explanation]

This properly saves the server state, disconnects the clients and closes the program.

Saves, disconnects everyone and closes the server. With a delay, players get a countdown and the explanation.

DelayOptional seconds to wait.
ExplanationOptional message shown to players.
Who can use itAdmins and the server console. Does nothing in singleplayer.
shutdown

Saves and stops the server now.

/shutdown 300/Restarting for the update

Shuts down in five minutes with a message.

Help

/Help [Command]

This provides information on commands.

Without a command it prints every command's syntax to the server console. With one, it shows that command's syntax and help in chat.

CommandOptional command name.
Who can use itAdmins and the server console. In singleplayer: works without cheats.
/help give

Shows the syntax of Give in chat.

Debug

/Debug

This provides information on the state of the server.

Prints the server's update and tick rates (as a percentage of the 50 per second it aims for) and how many zombies and animals are active.

Who can use itAdmins and the server console. Does nothing in singleplayer.
debug

Shows how the server is coping.

Modules

/Modules

This shows a list of the loaded modules.

Lists the loaded modules (the loaders that plugin frameworks such as RocketMod and OpenMod install) with their versions.

Who can use itAdmins and the server console. In singleplayer: works without cheats.
modules

Lists the modules.

Log

/Log [Chat Y/N]/[Join/Leave Y/N]/[Death Y/N]/[Anticheat Y/N]

This assigns the console log options.

Chooses what the server console logs. All four are on by default.

Chat Y/NY or N: log chat.
Join/Leave Y/NY or N: log players joining and leaving.
Death Y/NY or N: log deaths.
Anticheat Y/NY or N: log anti-cheat messages.
Who can use itAdmins and the server console. Also works as a line in Commands.dat. Does nothing in singleplayer.
Log N/Y/Y/Y

Stops logging chat, keeps the rest.

Timeout

/Timeout [Number]

This assigns a maximum ping threshold to the server before a client is kicked.

Players whose ping stays above this many milliseconds are kicked; 50 to 10,000. It changes Max_Ping_Milliseconds from Config.json (750 by default) until the next restart. In Commands.dat it has no effect, because Config.json is read after it: set the value there instead.

NumberMilliseconds.
Who can use itAdmins and the server console. Does nothing in singleplayer.
Timeout 500

Kicks players above 500 ms.

LogMemoryUsage

/LogMemoryUsage

Prints counts of loaded objects, textures, sounds and meshes.

For tracking down memory use, mostly by modded servers. The output goes to the console.

Who can use itAdmins and the server console. In singleplayer: works without cheats.
LogMemoryUsage

Prints the counts.

Server settings (Commands.dat)

One per line in Servers/<name>/Server/Commands.dat, without the slash. Most are refused once the server is running, so change the file and restart.

Map

Map [Level]

This sets the map that the server loads on startup.

The map to load, by its folder name. The default is PEI.

LevelMap folder name, such as PEI, Washington, Russia or a Workshop map's folder.
Who can use itDedicated server only, as a line in Commands.dat. Refused once the server is running.
Map Washington

Loads Washington.

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.

The default is 27015. For a second server on the same machine use 27017, then 27019, and so on.

NumberPort number.
Who can use itDedicated server only, as a line in Commands.dat. Refused once the server is running.
Port 27015

Uses ports 27015 and 27016.

Bind

Bind [IP]

This binds a specific internal IP to the socket.

Only needed on a machine with several network addresses.

IPAn IPv4 address of this machine.
Who can use itDedicated server only, as a line in Commands.dat. Refused once the server is running.
Bind 192.168.1.20

Listens on that address only.

Password

Password [Text]

This assigns the codeword required for entry to the server.

Players must type it to join. The game only SHA1-hashes it, so don't reuse a password from anywhere else. Leave it out for an open server.

TextThe password.
Who can use itDedicated server only, as a line in Commands.dat. Refused once the server is running.
Password hunter2

Sets the join password.

Name

/Name [Text]

This assigns the name of the server on the server list.

The name in the server list, 5 to 50 characters. Without it the server is called Unturned.

TextServer name.
Who can use itAdmins and the server console. Also works as a line in Commands.dat. Does nothing in singleplayer.
Name Nelson's PvE Server

Names the server.

MaxPlayers

/MaxPlayers [Number]

This sets the maximum number of connections the server is willing to accept.

From 1 to 200. The default on a dedicated server is 8.

NumberPlayer slots.
Who can use itAdmins and the server console. Also works as a line in Commands.dat. Does nothing in singleplayer.
MaxPlayers 24

Allows 24 players.

Queue_Size

/Queue_Size [Number]

This sets the maximum number of queued connections the server is willing to hold on to.

How many players may wait in the join queue while the server is full, up to 64.

NumberQueue length, 0 to 64.
Who can use itAdmins and the server console. Also works as a line in Commands.dat. Does nothing in singleplayer.
Queue_Size 8

Lets eight players queue.

Mode

Mode [Easy | Normal | Hard]

This assigns the difficulty of the server.

The difficulty preset; its values (zombie damage, loot, decay…) are in the server's Config.json. The default is Normal.

Easy | Normal | HardOne of the three.
Who can use itDedicated server only, as a line in Commands.dat. Refused once the server is running.
Mode Hard

Runs the server on Hard.

PvE

PvE

This disables player-versus-player combat, in favor of player-versus-environment combat.

Players can't damage each other. Without the line the server is PvP.

Who can use itDedicated server only, as a line in Commands.dat. Refused once the server is running.
PvE

Turns off player-versus-player damage.

Perspective

Perspective [First | Third | Both | Vehicle]

This assigns the perspective of the server.

First (the default on a dedicated server) allows first person only; Third, third person only; Both, either; Vehicle, first person on foot and third person in vehicles.

First | Third | Both | VehicleOne of the four.
Who can use itDedicated server only, as a line in Commands.dat. Refused once the server is running.
Perspective Both

Lets players switch between first and third person.

Cheats

Cheats

This allows the use of cheats like spawning items, vehicles and experience.

Lets admins use the spawning commands (Give, Vehicle, Experience…). Without it those commands are refused, even for the owner.

Who can use itDedicated server only, as a line in Commands.dat. Refused once the server is running.
Cheats

Turns cheat commands on for admins.

Owner

Owner [SteamID]

This sets the owner of the server.

The owner is always an admin, even when not on the admin list. Use your SteamID64: Steam shows it on your Account details page.

SteamIDYour 17-digit SteamID64.
Who can use itDedicated server only, as a line in Commands.dat. Refused once the server is running.
Owner 76561198000000000

Makes that Steam account the owner.

Welcome

/Welcome [Text]/[R]/[G]/[B]

This sets a welcome message shown to clients once they connect.

Shown in chat to every player who joins. Add three numbers for a colour.

TextThe message. It can't contain a slash.
ROptional colour, three numbers from 0 to 255 for red, green and blue.
GOptional colour, three numbers from 0 to 255 for red, green and blue.
BOptional colour, three numbers from 0 to 255 for red, green and blue.
Who can use itAdmins and the server console. Also works as a line in Commands.dat. Does nothing in singleplayer.
Welcome Welcome! No raiding before day 3/0/255/0

A green welcome message.

GSLT

GSLT [Login Token]

This sets the game server login token.

A Game Server Login Token from Steam (steamcommunity.com/dev/managegameservers, app ID 304930) puts the server on the internet server list. It can also go in Config.json as Login_Token under Browser.

Login TokenThe 32-character token.
Who can use itDedicated server only, as a line in Commands.dat. Refused once the server is running.
GSLT 0123456789ABCDEF0123456789ABCDEF

Sets the token (use your own).

Whitelisted

Whitelisted

This makes only permitted players allowed to join the server.

Only players added with Permit can join.

Who can use itDedicated server only, as a line in Commands.dat. Refused once the server is running.
Whitelisted

Makes the server whitelist-only.

Hide_Admins

Hide_Admins

This hides the visibility of admin labels from players.

Other players can no longer tell who is an admin: no admin colour in chat or the player list.

Who can use itDedicated server only, as a line in Commands.dat. Refused once the server is running.
Hide_Admins

Hides admin labels.

Filter

Filter

This filters out players with non-English-alphanumeric names.

Refuses players whose Steam or character name has characters outside plain English text, such as accents, emoji or other alphabets.

Who can use itDedicated server only, as a line in Commands.dat. Refused once the server is running.
Filter

Turns the name filter on.

Sync

Sync

This allows players to share savedata between your servers.

Saves player data (inventory, skills) in a Sync folder of the game installation instead of the server's own folder, so servers run from the same installation share characters on the same map.

Who can use itDedicated server only, as a line in Commands.dat. Refused once the server is running.
Sync

Shares player data between servers.

Gold

Gold

This marks the server as joinable only by Gold members.

Only players who own the Permanent Gold Upgrade can join.

Who can use itDedicated server only, as a line in Commands.dat. Refused once the server is running.
Gold

Makes the server Gold-only.

Loadout

/Loadout [SkillsetID]/[ItemID]/[ItemID]/...

This gives players each item when spawning. Using a skillset ID of 255 gives the item to everyone.

Items players spawn with. Skillset IDs: 0 none, 1 firefighter, 2 police officer, 3 army, 4 farmer, 5 fisher, 6 camper, 7 worker, 8 chef, 9 thief, 10 medic; 255 means everyone. Use one line per skillset.

SkillsetID0 to 10, or 255 for everyone.
ItemIDItem IDs, as many as you like, separated by slashes.
ItemIDItem IDs, as many as you like, separated by slashes.
Who can use itAdmins and the server console. In singleplayer: works without cheats.
Loadout 255/15/81

Everyone spawns with a Medkit and an MRE.

Chatrate

/Chatrate [Number]

This assigns a minimum time between chat messages.

Minimum seconds between two chat messages from the same player, 0 to 60. The default is 0.25.

NumberSeconds; decimals allowed.
Who can use itAdmins and the server console. Also works as a line in Commands.dat. Does nothing in singleplayer.
Chatrate 2

One message every two seconds at most.

Votify

/Votify [Vote Allowed Y/N]/[Pass Cooldown]/[Fail Cooldown]/[Vote Duration]/[Vote Percentage]/[Players]

This configures voting for the server.

Vote-kick settings, all six in one line. The game's defaults: voting off, 5 s pass cooldown, 60 s fail cooldown, 15 s to vote, 0.75 of players needed, at least 3 players online.

Vote Allowed Y/NY to let players start votes.
Pass CooldownSeconds before another vote after one passes.
Fail CooldownSeconds before another vote after one fails.
Vote DurationSeconds a vote stays open.
Vote PercentageShare of players who must vote yes, from 0 to 1 (0.75 is 75%).
PlayersFewest players online for a vote.
Who can use itAdmins and the server console. Also works as a line in Commands.dat. Does nothing in singleplayer.
Votify Y/5/60/30/0.6/4

Turns voting on, 30 s votes, 60% needed, 4 players minimum.

Server console only

Typed into the server's own console window. They ignore players, admins included.

CopyServerCode

CopyServerCode

Copies the server code to the clipboard.

The server code lets friends join through Connect Directly without port forwarding. The server prints it at startup.

Who can use itServer console only.
CopyServerCode

Copies the code.

CopyFakeIP

CopyFakeIP

Copies the server's Steam Fake IP address to the clipboard.

Only when Use_FakeIP is on in Config.json. Like the server code, the Fake IP lets friends join without port forwarding.

Who can use itServer console only.
CopyFakeIP

Copies the Fake IP and port.

ScheduledShutdownInfo

ScheduledShutdownInfo

Shows when the scheduled shutdown will happen.

Scheduled shutdowns are set in Config.json. Prints the time and how long is left, or that none is scheduled.

Who can use itServer console only.
ScheduledShutdownInfo

Shows the next scheduled shutdown.

LogTransportConnections

LogTransportConnections

Lists each player's network connection and address.

For tracking down connection problems or matching a player to an IP address.

Who can use itServer console only.
LogTransportConnections

Prints every connection.

Map-making and testing

Tools for map and mod makers. Most need cheats and act on the player who types them.

Reload

/Reload [GUID | Path]

This reloads an asset by GUID or an absolute directory path.

Reloads an asset from disk while the game runs, for testing changes to a mod or map asset.

GUID | PathAn asset GUID, or the full path of a folder.
Who can use itAdmins and the server console. In singleplayer: works without cheats.
/reload 0123456789abcdef0123456789abcdef

Reloads the folder of that asset (use a real GUID).

Flag

/Flag [SteamID | Player]/[Flag]/[Value]

This sets a player's flag.

Sets one of the player's quest flags (the numbers NPC quests and dialogue check). For testing quests.

SteamID | PlayerA player on the server: any part of their Steam or character name, or their 17-digit SteamID64. Leave it out to target yourself.
FlagFlag ID, 0 to 65535.
ValueValue, -32768 to 32767.
Who can use itAdmins and the server console, when the server has the Cheats line. In singleplayer: with Allow Cheatcodes on.
/flag 1000/1

Sets your flag 1000 to 1.

Quest

/Quest [SteamID | Player]/[Quest]

This gives a player a flag.

Adds a quest to the player's quest log (the game's help text says flag; it adds a quest). For testing NPC quests.

SteamID | PlayerA player on the server: any part of their Steam or character name, or their 17-digit SteamID64. Leave it out to target yourself.
QuestQuest ID or GUID.
Who can use itAdmins and the server console, when the server has the Cheats line. In singleplayer: with Allow Cheatcodes on.
/quest 1000

Gives you the quest with ID 1000 (if the map has one).

EffectUI

/EffectUI [EffectID]

This spawns a UI effect for the executing player.

Shows a UI effect to you (or, from the console, to the first player online). clearall removes every effect. Extra slash-separated values fill the effect's text fields.

EffectIDEffect ID or GUID, or clearall.
Who can use itAdmins and the server console. In singleplayer: works without cheats.
/effectui clearall

Clears every effect.

NpcEvent

/NpcEvent [Event ID]

Fires an NPC event as if you had triggered it.

For testing map objects that listen for NPC events.

Event IDThe event name the map's objects listen for.
Who can use itAdmins and the server console, when the server has the Cheats line. In singleplayer: with Allow Cheatcodes on.
/npcevent OpenBunkerDoor

Fires the event named OpenBunkerDoor (use one your map listens for).

Dialogue

/Dialogue [GUID]

Opens an NPC dialogue for you.

For testing dialogue without walking to the NPC.

GUIDThe dialogue asset's GUID.
Who can use itAdmins and the server console, when the server has the Cheats line. In singleplayer: with Allow Cheatcodes on.

RunRewardList

/RunRewardList [GUID]

Grants an NPC reward list to you.

Checks the list's conditions first and prints the unmet ones.

GUIDThe reward list asset's GUID.
Who can use itAdmins and the server console, when the server has the Cheats line. In singleplayer: with Allow Cheatcodes on.

SetNpcSpawn

/SetNpcSpawn [Spawn ID]

Sets your NPC spawnpoint ID.

The ID that NPC rewards use to choose where a player respawns.

Spawn IDThe spawnpoint ID used by the map's NPC rewards.
Who can use itAdmins and the server console, when the server has the Cheats line. In singleplayer: with Allow Cheatcodes on.

ToggleNpcCutsceneMode

/ToggleNpcCutsceneMode

Turns NPC cutscene mode on or off for you.

For testing cutscenes made with NPC rewards.

Who can use itAdmins and the server console, when the server has the Cheats line. In singleplayer: with Allow Cheatcodes on.
/togglenpccutscenemode

Toggles cutscene mode.

UnlockNpcAchievement

/UnlockNpcAchievement [Name]

Unlocks a Steam achievement that NPC rewards may grant.

Only achievements the game allows NPCs to grant.

NameThe achievement's internal name.
Who can use itAdmins and the server console, when the server has the Cheats line. In singleplayer: with Allow Cheatcodes on.

DestroyDrivenVehicle

/DestroyDrivenVehicle

Destroys the vehicle you are in.

A test command the developers added while fixing a vehicle bug.

Who can use itAdmins and the server console, when the server has the Cheats line. In singleplayer: with Allow Cheatcodes on.
/destroydrivenvehicle

Destroys your current vehicle.

ExitAndDestroyDrivenVehicle

/ExitAndDestroyDrivenVehicle

Gets you out of your vehicle and destroys it in the same moment.

A test command for a bug the developers fixed in 2025. No use in normal play.

Who can use itAdmins and the server console, when the server has the Cheats line. In singleplayer: with Allow Cheatcodes on.

EnterAndDestroyNearestVehicle

/EnterAndDestroyNearestVehicle

Gets you into the nearest vehicle (within 16 m) and destroys it in the same moment.

A test command for a bug the developers fixed in 2025. No use in normal play.

Who can use itAdmins and the server console, when the server has the Cheats line. In singleplayer: with Allow Cheatcodes on.

In the game files but not working

These have a name and help text in the game files but do nothing in this version.

GameMode

GameMode [Class Name]

This assigns the game mode of the server.

Accepted, but does nothing: the game's code marks it as deprecated.

Class NameSee the syntax line.
Who can use itNobody: it does nothing.

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%.

Never registered as a command, so the game doesn't recognise it. Building damage is set in Config.json instead.

Barricade MultiplierSee the syntax line.
Structure MultiplierSee the syntax line.
Who can use itNobody: it does nothing.

Decay

Decay [Barricade Duration]/[Structure Duration]

This assigns the barricade and structure decay in seconds. Disables decay when set to 0.

Never registered as a command, so the game doesn't recognise it. Decay is set in Config.json instead.

Barricade DurationSee the syntax line.
Structure DurationSee the syntax line.
Who can use itNobody: it does nothing.

A Commands.dat example

The file is Servers/<name>/Server/Commands.dat, where <name> is the server ID you start the server with (+InternetServer/<name>). One command per line, no slash. The server reads it once at startup, so restart after a change. Gameplay values such as loot, zombie damage and decay live next to it in Config.json.

// Lines starting with // are comments.
Name UnturnedLord Test Server
Map PEI
Port 27015
MaxPlayers 24
Mode Normal
Perspective Both
Owner 76561198000000000
Cheats
Welcome Welcome! Type /help for commands
GSLT 0123456789ABCDEF0123456789ABCDEF

Plugin commands

Many community servers run RocketMod or OpenMod. Their plugins add commands such as /tp, /i, /v, /home or /heal, with their own permissions. They aren't part of the game, so they aren't listed here, and they don't work in singleplayer or on a vanilla server.

Source: the 63 command files in Localization/English/Server/ of the Unturned 3.26.3.14 dedicated server, checked against the game code to see which are registered, plus 14 commands that only exist in the code. Not listed: four commands built only into the developers' test builds. Who-can-use and the notes come from reading the game's command code.