Admin reference

Rust admin commands

Every admin and console command you need to run a Rust server – 87 in all, grouped and searchable, with parameters, examples, and a note on which need admin auth. The trickier ones are broken down under Details.

87 commands

Moderation & Bans

Remove, mute, and manage disruptive players.

ban <Steam64ID> <username> <reason> <duration>Admin

Bans a connected player. Set a username you'll remember them by, a reason, and an optional duration for when the ban expires.

Parameters: Duration is a value followed by a time letter, chained together, e.g. 1M7d5m = 1 month, 7 days, 5 minutes from now.

banid <Steam64ID> <name> <reason> <duration>Admin

Bans a player by Steam64ID with a reason. Does not require the player to be on the server.

banlistexAdmin

Returns a list of banned users with reasons and names.

bansAdmin

Lists banned users.

unban <Steam64ID>Admin

Unbans a previously banned player.

kick <Steam64ID/playerName> <reason>Admin

Kicks a player from the server with an optional reason. They can rejoin straight away.

mute <Steam64ID/playerName>Partial

Mutes a player. Local (just for you) without admin; server-wide with admin.

mutelistAnyone

Returns a numbered list of players you have locally muted.

unmute <Steam64ID/index>Partial

Unmutes a player. You can pass the index from mutelist instead of a Steam64ID. Local without admin, server-wide with admin.

resetstate <Steam64ID>Admin

Resets a player's state – e.g. clearing a hostile flag so safe zones stop attacking them.

Players & Permissions

Auth levels, player lists, and sleep management.

ownerid <Steam64ID>Admin

Grants the player the highest admin auth level (2).

moderatorid <Steam64ID>Admin

Grants the player the second-highest admin auth level (1).

removeowner <Steam64ID>Admin

Removes the highest admin auth level (2) from the player.

removemoderator <Steam64ID>Admin

Removes the second-highest admin auth level (1) from the player.

playersAdmin

Returns connected players with their Steam64ID, name and ping.

playerlistAdmin

Returns connected player information in JSON format.

statusAdmin

Returns connected players with Steam64ID, name, ping, time played and IP address.

usersAdmin

Returns connected players with Steam64ID and names.

sv statsAdmin

Returns per-player stats – time connected, kills, deaths, suicides – with Steam64ID and name.

sleepingusersAdmin

Lists all players currently asleep on the server.

gotosleep <ID>Admin

Forces a player/NPC to sleep. Input the ID shown above their head.

wakeupallAdmin

Wakes up all sleeping NPC players.

Player State

Health, hunger, god mode, and movement for admins.

heal <amount>Admin

Heals your player by the amount entered.

hurt <amount>Admin

Damages your player by the amount entered.

injureAdmin

Puts your player into the wounded (injured) state.

refillvitalsAdmin

Fills your health, hunger and thirst to full.

eat <amount>Admin

Increases your hunger by the amount entered.

Parameters: e.g. 500

drink <amount>Admin

Increases your thirst by the amount entered.

Parameters: e.g. 250

fillwaterAdmin

Fills all water containers in your inventory with fresh water.

god <true/false>Admin

Toggles god mode – no damage from the world, no hunger or thirst loss.

noclipAdmin

Toggles noclip flight, letting you fly through walls and terrain.

sleepAdmin

Puts your own player to sleep.

killAnyone

Kills your player, sending you to the respawn menu (same as Suicide in the Esc menu).

killplayer <Steam64ID/playerName>Admin

Kills another player, sending them to the respawn screen.

Parameters: Use Steam64ID for reliable targeting.

Teleportation

Move yourself or other players around the map.

teleport <playerName/Steam64ID> <playerName/Steam64ID>Admin

Teleport to a player. With two players, teleports the first to the second.

Parameters: Use Steam64ID for reliable targeting when names are similar.

teleport2me <playerName/Steam64ID>Admin

Teleports the given player to your position.

Parameters: Use Steam64ID for reliable targeting.

teleport2markerAdmin

Teleports you to the marker you placed on the map.

teleport2owneditem <playerName/Steam64ID>Admin

Teleports you to an item the given player has placed.

Parameters: Use Steam64ID for reliable targeting.

teleportany <entity>Admin

Teleports you to any entity of the given type on the server.

teleportlosAdmin

Teleports you to the closest thing in your line of sight.

teleportpos "x, y, z"Admin

Teleports you to an exact coordinate.

printpos <Steam64ID>Partial

Prints your current x, y, z coordinate.

Parameters: Prefix with sv and pass a Steam64ID to read another player’s position.

Time & Weather

Control the time of day and weather.

admintime <1-24>Admin

Sets the time of day for your player only.

Parameters: Input -1 to reset back to the server’s regular time.

env.time <0-24>Admin

Sets the time of day for the entire server.

env.progresstime <true/false>Admin

Controls whether time advances or stays frozen at the current hour.

weather.load <type>Admin

Forces a weather type on the server, e.g. weather.load clear.

weather.reportAdmin

Prints the current weather stats for the server.

World & Decay

Decay, upkeep, and world-level convars.

decay.scale <float>Admin

Multiplier for how fast bases decay. Default 1.

Parameters: Default is 1.

decay.upkeep_period_minutes <minutes>Admin

How long one payment of upkeep lasts. Raise it to make upkeep cheaper.

Parameters: Default is 1440 (24 hours).

decay.upkeep_grief_protection <minutes>Admin

Minutes of upkeep a tool cupboard can still spend after being destroyed, to keep the base from decaying.

Parameters: Default is 1440 (24 hours).

hackablelockedcrate.requiredhackseconds <seconds>Admin

How long a locked crate takes to unlock once hacking starts.

Parameters: Default is 900 (15 minutes).

playerhelicopter.insidedecayminutes <minutes>Admin

Minutes for a minicopter/attack/transport heli to decay from full health when under a roof.

Parameters: Default is 2880 (48 hours).

playerhelicopter.outsidedecayminutes <minutes>Admin

Minutes for a minicopter/attack/transport heli to decay from full health when left outdoors.

Parameters: Default is 480 (8 hours).

world.rendermapAnyone

Saves a high-resolution PNG of the server map.

Server Events

Trigger the helicopter, Bradley, and more.

heli.callAdmin

Starts the patrol helicopter server event.

heli.calltomeAdmin

Starts the patrol helicopter event and summons it to your position.

bradley.quickrespawnAdmin

Respawns the Bradley APC at Launch Site.

Entities & Spawning

Spawn, delete, lock, and inspect entities.

spawn <entity>Admin

Spawns an entity where you are looking.

Parameters: If the name is not an exact match, Rust prints close matches to choose from.

spawnitem <item> <quantity>Admin

Spawns an item where you are looking.

Parameters: If the name is not an exact match, Rust prints close matches. Add a quantity after the name.

del <asset path>Admin

Deletes every instance of a given prefab/asset on the server.

Parameters: Find the asset path by aiming at the object, running debug.lookingat, then console.copy.

ent killAdmin

Destroys the entity you are looking at.

ent lockAdmin

Locks the entity you are looking at (code locks, key locks).

ent unlockAdmin

Unlocks the entity you are looking at (code locks, key locks).

ent whoAdmin

Returns the Steam64ID of whoever placed the entity you are looking at.

Debug & Camera

Free camera, combat logs, and debug overlays.

debugcameraAdmin

Enters free-fly camera mode, detached from your player.

debugcamera_unfreezeAdmin

Freezes the debug camera position while handing control back to your player.

debug.lookingatAdmin

Prints information about the object you are currently looking at.

debug.lookingat_debugAdmin

Toggles a hover overlay with debug stats for whatever you look at.

combatlog <Steam64ID>Partial

Displays recent damage you dealt and took.

Parameters: Optional Steam64ID (admin) to read another player’s combat log.

netgraph.enabled <true/false>Anyone

Toggles a netgraph overlay with network info on entities (white bars across the top).

Parameters: State only updates while in a server.

headlerp_inertia <true/false>Anyone

Controls whether there is a delay for alt-look to snap back to front-facing.

Performance & Info

FPS, latency, and diagnostic readouts.

perf <0-6>Anyone

Shows a performance readout in the bottom-left of your screen.

Parameters: 0 off · 1 FPS · 2 +frame time · 3 +RAM · 4 +ping · 5 +invokes · 6 +tasks.

fpsAnyone

Returns the current frames per second. Works on client and server.

fps.limit <value>Anyone

Caps your client frame rate.

pingAnyone

Returns your latency to the server.

benchmarkAnyone

Runs a benchmark simulation to gauge how well your machine runs the game.

versionAnyone

Prints version and build info (server version when run on the server).

find <word>Anyone

Searches for commands and convars matching a word and prints them.

console.clearAnyone

Clears the F1 console.

console.copyAnyone

Copies the contents of the F1 console to your clipboard.

Connection & Config

Join servers and write settings to disk.

connect <IP:Port>Anyone

Connects to a server by IP address and port.

Parameters: For a locally hosted server you can use localhost in place of the IP.

connecthidden <IP:Port>Anyone

Connects to a server by IP and port without printing the connection info to console.

quitPartial

Closes the game to desktop.

Parameters: Prefix with sv (sv quit) to save and shut down the server.

server.writecfgAdmin

Writes the server’s convars and owner/moderator list to the cfg files.

writecfgAnyone

Writes your client settings and keybinds to the cfg files.

Chat & Gestures

Broadcast messages and perform gestures.

sv say <message>Admin

Broadcasts a message to everyone’s chat from the server.

gesture <gestureName>Anyone

Makes your player perform a gesture.

Parameters: wave / victory / shrug / thumbsup / chicken / hurry / whoa

Running a server?

These commands run any Rust server – but the plugins, loot tables, and configs are the hard part. Our premade setups ship them ready to deploy, and our guides walk you through the rest.