Skip to content
RustStats PRO
Console Commands

The Rust console, indexed

Press F1 in game to open the console. Everything below is grouped the way you actually use it, with the admin-only commands flagged — those need ownerid or moderatorid on the server, and they will simply do nothing on a server you do not own.

Who can run it
Search

Showing 44 of 70 commands.

Admin only

Giving Items

5 commands

inventory.give

Admin

inventory.give <item shortname> <amount>

Gives yourself the specified quantity of an item by its shortname.

Copiesinventory.give rifle.ak 1

inventory.giveto

Admin

inventory.giveto <player> <item shortname> <amount>

Gives an item to a named online player instead of yourself.

Copiesinventory.giveto Sam wood 1000

inventory.giveid

Admin

inventory.giveid <steamid> <item id> <amount>

Gives an item to a player by Steam ID using the numeric item ID rather than the shortname.

Copiesinventory.giveid 76561198012345678 -151838493 1

inventory.giveall

Admin

inventory.giveall <item shortname> <amount>

Gives the specified item to every player currently online.

Copiesinventory.giveall scrap 100

inventory.givearm

Admin

inventory.givearm <item shortname> <amount>

Gives yourself an item placed directly into your belt slots rather than the main inventory.

Copiesinventory.givearm syringe.medical 6

Admin only

Teleporting

6 commands

teleport

Admin

teleport <player> [target player]

Teleports you to a player, or teleports the first named player to the second one when two names are given.

Copiesteleport "Sam" "Alex"

teleport2me

Admin

teleport2me <player>

Brings the named player to your current position.

Copiesteleport2me Sam

teleport2grid

Admin

teleport2grid <grid> [player]

Teleports you, or an optionally named player, to the centre of a map grid square.

Copiesteleport2grid H14

teleportlos

Admin

teleportlos

Teleports you to the first surface in your line of sight, which is handy for crossing terrain quickly.

teleportpos

Admin

teleportpos <x> <y> <z>

Teleports you to exact world coordinates.

Copiesteleportpos 1200 25 -430

teleporteveryone

Admin

teleporteveryone

Teleports every online player to your current position.

Admin only

Spawning

6 commands

spawn

Admin

spawn <prefab shortname>

Spawns an entity by its short prefab name at the point you are looking at.

Copiesspawn bear

entity.create

Admin

entity.create <full prefab path>

Creates an entity from its full prefab path, which reaches prefabs that the short spawn name cannot.

Copiesentity.create assets/prefabs/deployable/locker/locker.deployed.prefab

heli.call

Admin

heli.call [player]

Calls in a patrol helicopter, targeting the named player when one is supplied.

Copiesheli.call

supply.call

Admin

supply.call

Calls a cargo plane that drops a supply crate at your position.

bradley.call

Admin

bradley.call

Spawns a Bradley APC on its patrol route at the Launch Site.

spawn.fillpopulation

Admin

spawn.fillpopulation

Immediately repopulates the world with animals, nodes and other spawn populations up to their configured targets.

Admin only

Player Administration

13 commands

kick

Admin

kick <player> [reason]

Disconnects a connected player from the server with an optional reason shown to them.

Copieskick "Sam" "afk in safe zone"

ban

Admin

ban <player> [reason] [duration]

Bans a currently connected player by name, optionally for a limited duration.

Copiesban "Sam" "cheating" 7d

banid

Admin

banid <steamid> [name] [reason]

Bans a player by Steam ID, which works even while they are offline.

Copiesbanid 76561198012345678 "Sam" "cheating"

unban

Admin

unban <steamid>

Removes a Steam ID from the ban list.

Copiesunban 76561198012345678

banlistex

Admin

banlistex

Prints the full ban list including each ban reason and expiry time.

god

Admin

god <true|false>

Toggles invulnerability for yourself so no damage source can hurt you.

Copiesgod true

noclip

Admin

noclip

Toggles free-fly movement that passes through terrain and buildings.

ownerid

Admin

ownerid <steamid> "<name>" "<reason>"

Grants a Steam ID full owner-level admin rights on the server.

Copiesownerid 76561198012345678 "Sam" "head admin"

moderatorid

Admin

moderatorid <steamid> "<name>" "<reason>"

Grants a Steam ID moderator rights, which allow most admin commands but not server configuration.

Copiesmoderatorid 76561198012345678 "Alex" "weekend mod"

removeowner

Admin

removeowner <steamid>

Revokes owner-level admin rights from a Steam ID.

Copiesremoveowner 76561198012345678

removemoderator

Admin

removemoderator <steamid>

Revokes moderator rights from a Steam ID.

Copiesremovemoderator 76561198012345678

mute

Admin

mute <player|steamid>

Silences a player so their voice and chat are hidden from everyone on the server.

Copiesmute 76561198012345678

unmute

Admin

unmute <player|steamid>

Restores voice and chat for a previously muted player.

Copiesunmute 76561198012345678

Admin only

Server Control

14 commands

serverinfo

Admin

serverinfo

Prints live server statistics including player count, framerate, memory use and uptime.

save

Admin

save

Forces an immediate world save so recent building and loot changes survive a restart.

server.writecfg

Admin

server.writecfg

Writes the current convar values plus the user and ban lists to disk.

restart

Admin

restart [seconds]

Starts a broadcast countdown and then restarts the server, saving on the way down.

Copiesrestart 300

quit

Admin

quit

Shuts the server down immediately with no countdown.

env.time

Admin

env.time <0-24>

Sets the in-game time of day for everyone on the server, where 12 is noon and 0 is midnight.

Copiesenv.time 12

admintime

Admin

admintime <-1-24>

Overrides the time of day for your client only, with -1 restoring the real server time.

Copiesadmintime 12

weather.rain

Admin

weather.rain <0.0-1.0>

Forces rainfall intensity, where 0 clears the sky and 1 is a full downpour.

Copiesweather.rain 1

weather.fog

Admin

weather.fog <0.0-1.0>

Forces fog density from clear to fully fogged.

Copiesweather.fog 0

weather.wind

Admin

weather.wind <0.0-1.0>

Forces wind strength, which affects trees, cloth and wind turbine output.

Copiesweather.wind 0.5

server.hostname

Admin

server.hostname "<name>"

Sets the server name shown in the in-game server browser.

Copiesserver.hostname "RustStats 2x Solo/Duo"

server.description

Admin

server.description "<text>"

Sets the long description shown on the server browser detail page.

Copiesserver.description "Weekly wipe, no BPs"

server.maxplayers

Admin

server.maxplayers <number>

Sets the maximum number of players allowed on the server at once.

Copiesserver.maxplayers 150

say

Admin

say "<message>"

Broadcasts a message to every player as the SERVER account.

Copiessay "wipe in 10 minutes"

The final word

This page mirrors the commands people actually use. The authoritative list is always the game itself: type find <text> in the console and it prints every command and convar the running build registers, together with its current value. If something here disagrees with find, trust find — Facepunch renames and retunes convars in the monthly patch.