Rust admin commands enable administrators to effectively moderate and control various aspects of a server. With the required permissions, admins can modify various server settings, update the config options, or kick, teleport, and remove players from the server. When combined with the various server mods/plugins available, server owners can heavily customize and moderate their server, keeping toxic individuals or cheaters from running rampant and adjusting server settings to their liking.
Note: The following list only contains common admin commands for moderating and managing a server.
How to Use Admin Commands
1. Join the server as an Admin.
2. Press F1 to open the Console Window.
3. Enter the desired command into the Chatbox.
4. Many commands also have Shortened Versions, such as god true.
Rust Admin Commands
| Command | Functionality |
|---|---|
admintime [1-24] |
Sets the time of day for the user only. |
ban [Steam64ID] [username] [reason] [duration] |
Bans a player from the server. Set username as a nickname to remember this player by. |
banid [Steam64ID] [name] [reason] [duration] |
Bans a player from the server with a reason using Steam64ID. Does not require the player to be on the server. |
banlistex |
Returns a list of banned users with reasons and names. |
bans |
Lists banned users. |
bradley.quickrespawn |
Respawns the bradley APC in launchsite, does not create a second APC. |
combatlog [Steam64ID] |
Displays recent damage information for what the player damaged and what the player was damaged by. |
connect IP:Port |
Connects to the designated server. |
connecthidden IP:Port |
Connects to the designated server without printing its information to the console. |
console.clear |
Clears the F1 console. |
console.copy |
Copies the contents of the F1 console to the clipboard. |
debug.lookingat |
Prints information about what the player is currently looking at. |
debug.lookingat_debug |
Toggles debug stats to hover over what the player is currently looking at. |
debugcamera |
Causes the player to enter freecam mode. |
debugcamera_unfreeze |
Freezes the debugcamera camera position allowing the user to move their character around from a fixed viewing angle. |
decay.scale [Value] |
Takes a float value that controls the multiplier for decay on the server. |
decay.upkeep_grief_protection [Minutes] |
Sets the max minutes of upkeep the tool cupboard can consume after being destroyed to keep the base from decaying for that period of time. |
decay.upkeep_period_minutes [Minutes] |
Sets how many minutes the upkeep cost lasts. Increase this value for upkeep to cost less. |
del [Path] |
Takes the asset path of an asset/prefab and deletes all that are found on the server. |
drink [Value] |
Increases thirst by the inputted amount. |
eat [Value] |
Increases hunger by the inputted amount. |
ent kill |
Destroys the entity the user is currently looking at. |
ent lock |
Locks the entity the user is looking at (codelocks, keylocks). |
ent unlock |
Unlocks the entity the user is looking at (codelocks, keylocks). |
ent who |
Returns the Steam64ID for the player who placed the entity that is currently being looked at. |
env.progesstime [true/false] |
Dictates whether time will continue or stay at the current hour forever. |
env.time [1-24] |
Sets the time of day for the whole server. |
fillwater |
Fills all water containers with freshwater in the player's inventory. |
find [word] |
Returns information on commands that match the inputted word. |
fps |
Returns current Frames Per Second. Can be used on client and server. |
fps.limit [Limit] |
Used to set the limit of what FPS can become. Can set server fps limit when prefixed with "sv".
|
god [true/false] |
Puts the user in god mode, preventing damage and hunger/thirst decay. |
headlerp_inertia [true/false] |
Controls whether there is a delay for 'alt look' to snap back to the front facing position after no longer being pressed. |
heal [amount] |
Heals the player by the amount inputted. |
heli.call |
Starts the patrol helicopter server event. |
heli.calltome |
Starts the patrol helicopter server event and summons the helicopter to the player. |
hurt [amount] |
Hurts the player by the inputted amount. |
injure |
Wounds the player. |
kick [Steam64ID/playerName] [reason] |
Kicks the player from the server with an optional reason. |
kill |
Kills the user and enters the respawn menu (same functionality as hitting "suicide" in the esc menu). |
killplayer [Steam64ID/playerName] |
Kills the inputted player sending them back to the respawn screen. |
moderatorid [Steam64ID] |
Makes the player the second highest admin auth level (1). |
mute [Steam64ID/playerName] |
Mutes the player locally if used without admin so you don't see their messages in chat. Mutes the player globally for the server if used as admin. |
mutelist |
Returns a list of locally muted players. |
netgraph.enabled [true/false] |
Toggles the netgraph debug overlay. |
noclip |
Toggle noclip flight for the player. |
ownerid [Steam64ID] |
Makes the player the highest admin auth level (2). |
perf [0/1/2/3/4/5/6] |
Sets performance data to show at the bottom left of the screen. |
ping |
Returns the users latency to the server. |
playerlist |
Returns connected player information in a JSON format. |
players |
Returns players on the server with their Steam64ID, name, and ping. |
printpos [Steam64ID] |
Print the designated players current coordinate position. |
quit |
Close the game to desktop. |
refillvitals |
Fills health, hunger and thirst to full. |
removemoderator [Steam64ID] |
Removes the second highest admin auth level (1) from the player. |
removeowner [Steam64ID] |
Removes the highest admin auth level (2) from the player. |
resetstate [Steam64ID] |
Resets the given player's state. |
server.writecfg |
Writes server convars/settings to the cfg files. |
sleep |
Makes the player sleep. |
sleepingusers |
Lists all players that are asleep on the server. |
spawn [entity] |
Spawns the designated entity. |
spawnitem [itemID] |
Spawns the designated item. |
status |
Returns the current players on the server. |
say |
Broadcasts a message to chat. |
sv stats |
Returns stats for currently connected players. |
teleport [playerName/Steam64ID] [playerName/Steam64ID] |
Teleports the first designated player to the second. |
teleport2marker |
Teleports to the marker set on the map. |
teleport2me [playerName/Steam64ID] |
Teleport the given player to the users position. |
teleport2owneditem [playerName/Steam64ID] |
Teleports the user to a designated players owned item. |
teleportany [entity] |
Teleports the user to any entity type on the server. |
teleportlos |
Teleports to where the player is looking. |
teleportpos [x, y, z] |
Teleport to the designated coordinates. |
unban [Steam64ID] |
Unbans the designated banned player by SteamID. |
unmute [Steam64ID/index] |
Unmutes the player locally, or server side if used as an admin. |
users |
Returns players on the server with Steam64ID and usernames. |
version |
Prints version and build info. |
wakeupall |
Wakes up all sleeping NPC players. |
weather.load [type] |
Loads a weather type. |
weather.report |
Prints the current weather stats for the server. |
world.rendermap |
Saves a high resolution png file of the map. |
writecfg |
Writes settings and keybinds to the cfg files. |