πŸ“š General Information
πŸ”§ Garry's Mod Server Setup

How to use default administrator commands

Do you need to run a command in Unturned out of game? Are you unsure of which ones to use? This article will tell you about the commands that can be run in the console.

As part of Unturned, various commands can be run, which can impact how you and others experience the game. Since RocketMod is installed by default with every Unturned server, those commands will work as well. The table below provides a full list of commands that can be run:

Full list of commands

Name

Command

Description

​Admin​

/admin [Steam ID | Player]

This command makes a user administrator. The admin status grants permission to admin-only and server commands in chat.

​Admins​

/admins

This command lists the names of all users who have the administrator status on the server it is executed on.

​Airdrop​

/airdrop

This command forces the server to spawn an air drop at your current location.

​Animal​

/animal [Steam ID | Player] [Animal ID]

This command spawns an animal in an Unturned server. Animals include deer, moose, wolf, pig, bear, cow and reindeer. Cheats Must be Enabled​

​Ban​

/ban [Steam ID | Player] [Reason] [Duration]

This command removes a user/steam ID from a server and prevents them from reconnecting for the specified duration.

​Bans​

/bans

This command shows a list of all the users who are banned on an Unturned server.

​Chatrate​

/chatrate [Delay]

This command limits how fast players can send chat messages in an Unturned server.

​Cycle​

/cycle [Duration]

This command sets the duration of the day and night cycle on an Unturned server. A duration of 10 would mean that each day and night would last 10 seconds.

​Day​

/day

This command sets the current server/game time to day.

​Debug​

/debug

This command prints out a list of server debug information into the chat such as network information, active animals and zombies and the server TPS. This can be useful in fixing lag.

​Experience​

/experience [Steam ID | Player] [Experience Amount]

This command gives a player experience in Unturned. Cheats Must be Enabled​

​Flag​

/flag [Steam ID | Player] [Flag] [Value]

This command allows you to set and change any of a player's flags. Cheats Must be Enabled​

​Give​

/give [Steam ID | Player] [Item ID] [Amount]

This command allows you to give yourself, or another player items in an Unturned server. Cheats Must be Enabled​

​Help​

/help [Command Name]

This command sends you a message detailing help and information about an Unturned command.

​Kick​

/kick [Steam ID | Player] [Reason]

This command removes a player from an Unturned server with the kick message as the given reason.

​Kill​

/kill [Steam ID | Player]

This command kills a player on an Unturned server (sets their health to 0).

​Loadout​

/loadout [Skillset ID] [Item IDs]

This command allows you to set the loadout of all players, or those with a specific skillset. The loadout is the items a player spawns with.

​Log​

/log [Chat] [Join / Leave] [Death] [Anticheat]

This command sets the log options for the server - allowing you to choose what actions/events are printed/saved to the server log. E.g. /log Y/Y/N/Y

​MaxPlayers​

/maxplayers [Maximum Players]

This command sets the maximum amount of players that can be connected to your server at any given time - also known as server slots.

​Mode​

/mode [Difficulty Mode]

This command changes the difficulty mode of the server - to easy, normal or hard.

​Modules​

/modules

This command shows a list of all of the modules that are currently loaded.

​Name​

/name [Server Name]

This command changes the name of the server that shows in server lists (also known as an MOTD).

​Night​

/night

This command sets the server time to night.

​Permit​

/permit [Steam ID]

This command adds the specified player name/steam ID to the list of players who are allowed to join when the server is whitelisted.

​Permits​

/permits

This command shows a list of all the players who are currently on whitelist - i.e. it shows who is allowed to join the server if the server is in whitelist mode.

​Players​

/players

This command shows a list of all the players who are currently connected to the Unturned server.

​Quest​

/quest [Steam ID] [Quest]

This command assigns the specified player the specified quest to complete. Cheats Must be Enabled​

​Rain​

/rain [Minimum Frequency] [Maximum Frequency] [Minimum Time] [Maximum Time]

This command sets the maximum amount of players that can queue to join the server at any given time.

​Reputation​

/reputation [Steam ID] [Reputation Amount]

This command gives a player reputation. Cheats Must be Enabled​

​ResetConfig​

/resetconfig

This command resets the server config to the default configuration - undoing any changes you have previously made to the server.

​Save​

/save

This command forcefully saves the current state of the server meaning no progress can be lost from before the point the command was executed at.

​Say​

/say [Message] [R] [G] [B]

This command sends a message to all players currently connected to an Unturned server.

​Shutdown​

/shutdown [Delay]

This command stops the server, disconnecting all current players and saving the map.

​Slay​

/slay [Steam ID] [Reason]

This command permanently bans a player (and kills them).

​Spy​

/spy [Steam ID]

This command takes a picture of the game of the specified player, and saves it on the computer of the user who executed the command as Spy.jpg.

​Teleport​

/teleport [Steam ID] [Steam ID]

This command will teleport you to another player in Unturned, or if two steam IDs are entered, it will teleport the first player to the second player's location.

​Time​

/time [Seconds]

This command can be used to set the time of day or night in Unturned, the number provided is the amount of seconds through the day/night cycle you wish to.

​Timeout​

/timeout [Max Ping]

This command can be used to automatically kick players who have a latency (lag) higher than the given number.

​Unadmin​

/unadmin [Steam ID | Player]

This command can be used to remove the administrator status (demote) from another player on an Unturned server.

​Unban​

/unban [Steam ID]

This command can be used to remove a previously issued ban from a player in Unturned.

​Unpermit​

/unpermit [Steam ID]

This command can be used to remove a player from the server whitelist in Unturned.

​Vehicle​

/vehicle [Steam ID] [Vehicle ID]

This command can be used to spawn yourself, or give another player, a vehicle in an Unturned server. Vehicles include cars, boats, planes and helicopters. Cheats Must be Enabled​

​Votify​

/votify [Vote Allowed Y/N] [Pass Cooldown] [Fail Cooldown] [Vote Duration] [Yes Percentage] [Minimum Players]

This command can be used to spawn yourself, or give another player, a vehicle in an Unturned server. Vehicles include cars, boats, planes and helicopters.

​Weather​

/weather [None | Storm | Blizzard]

This command can be used to set the weather on an Unturned server (including turning off/stopping rain and snow).

​Welcome​

/welcome [Welcome Message] [R] [G] [B]

This command sets the welcome message that is shown to players when they join the Unturned server. This is shown in chat, not on server lists.

The above information and links are provided by UnturnedHub. We are not affiliated with this page, and we only provide it as a reference.

How to run a command

While these commands can be done in game, this article will focus on how to run them on the panel itself. Here is how to run a command:

1. Login to the panel and select the server you want to manage.

2. In the command bar, under the console window, type the appropriate command and press "Enter" to execute it, making sure that it is correct.