Home/ Guides/ Unturned Commands
🧟 Unturned · Commands

Unturned Server Commands

Every Unturned server command, checked line by line rather than copied off a wiki, which is how two commands every other list carries turned out not to exist. Split the way the server treats them: startup, runtime, and cheat.

Checked on a booted Unturned 3.26.3.13 dedicated server · U3DS app 1110390 · config format Version 1
Unturned console
# startup commands go in Commands
# binds a specific internal ip to the socket
Bind [IP]
# allows the use of cheats like spawning items
Cheats
# filters out players with…
Filter
Three of them. The full searchable list is below.
⌨️

Unturned Command List

Startup commands go in Commands ·every row has a Copy button

Type to filter, hit Copy, paste in-game. Placeholders in [brackets] are values you fill in.

CommandWhat it doesCategory
Bind [IP]Binds a specific internal IP to the socket.Startup — put these in Commands.dat
CheatsAllows the use of cheats like spawning items, vehicles and experience.Startup — put these in Commands.dat
FilterFilters out players with non-English-alphanumeric names.Startup — put these in Commands.dat
GameMode [Class Name]Assigns the game mode of the server.Startup — put these in Commands.dat
GoldMarks the server as joinable only by Gold members.Startup — put these in Commands.dat
GSLT [Login Token]Sets the game server login token.Startup — put these in Commands.dat
Hide_AdminsHides the visibility of admin labels from players.Startup — put these in Commands.dat
Map [Level]Sets the map that the server loads on startup.Startup — put these in Commands.dat
Mode [Easy | Normal | Hard]Assigns the difficulty of the server.Startup — put these in Commands.dat
Owner [SteamID]Sets the owner of the server.Startup — put these in Commands.dat
Password [Text]Assigns the codeword required for entry to the server.Startup — put these in Commands.dat
Perspective [First | Third | Both | Vehicle]Assigns the perspective of the server.Startup — put these in Commands.dat
Port [Number]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.Startup — put these in Commands.dat
PvEDisables player-versus-player combat, in favor of player-versus-environment combat.Startup — put these in Commands.dat
SyncAllows players to share savedata between your servers.Startup — put these in Commands.dat
WhitelistedMakes only permitted players allowed to join the server.Startup — put these in Commands.dat
Admin [SteamID | Player]Adds the specified player to the list of users allowed to use admin commands in the chat.Players — admin, ban, kick, move
Unadmin [SteamID | Player]Removes the specified player from the list of users allowed to use admin commands in the chat.Players — admin, ban, kick, move
Ban [SteamID | Player]/[Reason]/[Duration]Adds the specified player to the list of users not allowed to join the server.Players — admin, ban, kick, move
Unban [SteamID]Removes the specified player from the list of users not allowed to join the server.Players — admin, ban, kick, move
Kick [SteamID | Player]/[Reason]Disconnects the specified player from the server.Players — admin, ban, kick, move
Kill [SteamID | Player]Kills the specified player in-game.Players — admin, ban, kick, move
Slay [SteamID | Player]/[Reason]Kills the specified player in-game and permanently bans them.Players — admin, ban, kick, move
Permit [SteamID]/[Tag]Adds the specified player to the list of users allowed to join the server.Players — admin, ban, kick, move
Unpermit [SteamID]Removes the specified player from the list of users allowed to join the server.Players — admin, ban, kick, move
Spy [SteamID | Player]Requests a screenshot from the target player and saves it on the caller's computer as Spy.jpg.Players — admin, ban, kick, move
Teleport [SteamID | Player]/[SteamID | Player | Location]Teleports a player to either another player, or a location.Players — admin, ban, kick, move
Say [Text]/[R]/[G]/[B]Broadcasts a message to all of the connected clients.Players — admin, ban, kick, move
Give [SteamID | Player]/[ItemID | Name]/[Amount]Gives a player an item. Requires Cheats.Cheats — needs Cheats enabled at startup
Vehicle [SteamID | Player]/[VehicleID | Name]Gives a player a vehicle. Requires Cheats.Cheats — needs Cheats enabled at startup
Animal [SteamID | Player]/[AnimalID]Gives a player an animal. Requires Cheats.Cheats — needs Cheats enabled at startup
Experience [SteamID | Player]/[Experience]Gives a player some experience. Requires Cheats.Cheats — needs Cheats enabled at startup
Reputation [SteamID | Player]/[Reputation]Gives a player some reputation. Requires Cheats.Cheats — needs Cheats enabled at startup
Flag [SteamID | Player]/[Flag]/[Value]Sets a player's flag. Requires Cheats.Cheats — needs Cheats enabled at startup
Quest [SteamID | Player]/[Quest]Gives a player a flag. Requires Cheats.Cheats — needs Cheats enabled at startup
DestroyDrivenVehicleDestroys the vehicle you are driving. Requires Cheats.Cheats — needs Cheats enabled at startup
Dialogue [GUID]Opens an NPC dialogue on you by its asset GUID, so you can test a conversation without walking to the NPC. Requires Cheats.Cheats — needs Cheats enabled at startup
RunRewardList [GUID]Runs an NPC reward list on you by its asset GUID if you meet its conditions; if not, the console lists the ones you miss. Requires Cheats.Cheats — needs Cheats enabled at startup
NpcEvent [Event ID]Fires an NPC event as if you had triggered it. Requires Cheats.Cheats — needs Cheats enabled at startup
SetNpcSpawn [Spawnpoint ID]Sets the spawnpoint you respawn at, the same thing an NPC spawnpoint reward does. Requires Cheats.Cheats — needs Cheats enabled at startup
ToggleNpcCutsceneModeTurns NPC cutscene mode on or off for you. Requires Cheats.Cheats — needs Cheats enabled at startup
UnlockNpcAchievement [Achievement ID]Unlocks one of the achievements an NPC quest can grant (the IDs under NPC_Achievement_IDs in the server’s Status.json, such as Soulcrystal); any other ID is refused. Requires Cheats.Cheats — needs Cheats enabled at startup
DayAssigns the current time to day.World — time, weather, airdrops
NightAssigns the current time to night.World — time, weather, airdrops
Time [Number]Assigns the current time in seconds of the day-night cycle.World — time, weather, airdrops
Cycle [Number]Assigns the length of the day/night cycle in seconds.World — time, weather, airdrops
Weather [None | Disable | Storm | Blizzard | GUID]Starts or stops the current weather cycle.World — time, weather, airdrops
AirdropForces a dropship to fly over and perform an airdrop.World — time, weather, airdrops
Name [Text]Assigns the name of the server on the server list.Tuning — change these while the server runs
MaxPlayers [Number]Sets the maximum number of connections the server is willing to accept.Tuning — change these while the server runs
Queue_Size [Number]Sets the maximum number of queued connections the server is willing to hold on to.Tuning — change these while the server runs
Timeout [Number]Assigns a maximum ping threshold to the server before a client is kicked.Tuning — change these while the server runs
Chatrate [Number]Assigns a minimum time between chat messages.Tuning — change these while the server runs
Log [Chat Y/N]/[Join/Leave Y/N]/[Death Y/N]/[Anticheat Y/N]Assigns the console log options.Tuning — change these while the server runs
Welcome [Text]/[R]/[G]/[B]Sets a welcome message shown to clients once they connect.Tuning — change these while the server runs
Loadout [SkillsetID]/[ItemID]/[ItemID]/...Gives players each item when spawning. Using a skillset ID of 255 gives the item to everyone.Tuning — change these while the server runs
Votify [Vote Allowed Y/N]/[Pass Cooldown]/[Fail Cooldown]/[Vote Duration]/[Vote Percentage]/[Players]Configures voting for the server.Tuning — change these while the server runs
AdminsShows a list of the current admins.Console — lists, saving, shutdown
BansShows a list of the current bans.Console — lists, saving, shutdown
PlayersShows a list of the current players on the server.Console — lists, saving, shutdown
PermitsShows a list of the current players allowed to join the server.Console — lists, saving, shutdown
ModulesShows a list of the loaded modules.Console — lists, saving, shutdown
Help [Command]Provides information on commands.Console — lists, saving, shutdown
DebugProvides information on the state of the server.Console — lists, saving, shutdown
SaveForces a proper save of the server state.Console — lists, saving, shutdown
Shutdown [Delay]/[Explanation]Properly saves the server state, disconnects the clients and closes the program.Console — lists, saving, shutdown
Reload [GUID | Path]Reloads an asset by GUID or an absolute directory path.Console — lists, saving, shutdown
EffectUI [EffectID]Spawns a UI effect for the executing player.Console — lists, saving, shutdown
CopyServerCodeCopies the Server Code to the clipboard of the machine the server runs on. Friends can join by Server Code without port forwarding. Console only.Console — lists, saving, shutdown
CopyFakeIPCopies the server’s Fake IP and port to that machine’s clipboard, another way to join without port forwarding. Needs Use_FakeIP on in Config.txt. Console only.Console — lists, saving, shutdown
ScheduledShutdownInfoSays when the scheduled shutdown will happen, or that it is off. Console only.Console — lists, saving, shutdown
LogTransportConnectionsLists each connected player’s network connection and address. Console only.Console — lists, saving, shutdown
LogMemoryUsageLogs how many of each kind of object the server has loaded (game objects, colliders, textures, meshes). For chasing a leak, not for tuning.Console — lists, saving, shutdown
🔛

How to Run Commands on an Unturned Server

1

Three places, not interchangeable. The console takes any command. Chat takes runtime commands as /give 132 if you are an admin. Commands.dat runs each of its lines once, at boot, one per line with no slash, and it is the only place startup commands work.

2

Set Owner first. Without your SteamID64 there you have the console and nothing else.

3

Cheats are off by default, so Give and friends answer "cheats disabled" until Cheats is in Commands.dat. That is not a permissions problem — no amount of admin fixes it.

4

Arguments split on /, not spaces — Give Nelson/Dragonfang/2. This is the one that catches everyone.

Commands.dat is created empty on a fresh server and is read once, at boot — editing it while the server runs does nothing. Two commands you will find on other lists, AllowP2PRelay and ResetConfig, do not exist in the current build: a scan of all 8,931 files in the U3DS install finds zero occurrences of either. Putting them in Commands.dat is a no-op. Armor and Decay are the opposite trap: their help text ships in the game, but the server never registers either command, and on 3.26.3.13 a Commands.dat line of either is answered "Unknown entry". Left off on purpose: ExitAndDestroyDrivenVehicle and EnterAndDestroyNearestVehicle, which exist only to reproduce a bug that destroys the player.

Unturned Commands FAQ

Why does my Give command say cheats are disabled?
Because they are, and you cannot turn them on from a running server. Cheats has to be a line in Commands.dat before boot — try it live and the game answers "Failed to enable cheats while running". Add the line, restart, and Give, Vehicle, Animal, Experience, Reputation, Flag and Quest all start working.
Is it Config.json or Config.txt?
Config.txt, since patch 3.25.8.0. A server created today writes Servers/<ServerId>/Config.txt — a braced text format with a Version 1 header, not JSON. Most guides still say Config.json because that is what the file was called for years. You only see Config_NormalDifficulty.txt if you migrated a pre-3.25.8.0 server that had a Config.json for the game to convert.
Why do arguments with spaces not work?
Unturned splits command arguments on /, not whitespace. Give Nelson/Dragonfang/2 is correct; Give Nelson Dragonfang 2 is one argument the parser cannot read. That is also why a player whose name contains a space is still addressable — the space is not a delimiter.
What is the difference between Kick, Ban and Slay?
Kick disconnects them and they can rejoin immediately. Ban [SteamID | Player]/[Reason]/[Duration] blocks them for a number of seconds — omit the duration and it is permanent. Slay kills them and permanently bans them in one action, which is what you want when someone is mid-exploit and logging out safely would let them keep the loot.
Which settings can I change without restarting?
Some. Name, MaxPlayers, Chatrate, Timeout, Welcome, Votify, Log and Loadout all take effect on a running server. Anything to do with identity or networking — Port, Password, Map, Mode, Perspective, Cheats, PvE, Owner, GSLT, Bind, Sync, Gold, Filter, Hide_Admins, Whitelisted, GameMode — is startup-only, and the server says so rather than silently ignoring you.

More from GamesOMG

Console open? Here's the rest of the toolkit.