Rust Admin Commands: Key Console Commands for PC

Codes last checked on against the sources listed at the bottom of this page. Covers Rust on PC, on a server where you have auth level 2 (not Rust Console Edition).

Published by

Setup

CheatCommandEffect
Make yourself ownerPC serverownerid <SteamID64> "Name" "owner"Grant auth level 2 to that SteamID64; run it from the server console or RCON, then reconnect
Add a moderatorPC servermoderatorid <SteamID64> "Name" "Reason"Grant auth level 1 (kick, ban, teleport) to that SteamID64
Remove an ownerPC serverremoveowner <SteamID64>Take owner rights away from that SteamID64

God mode and movement

CheatCommandEffect
God mode onPC servergod trueBecome invincible, with no health, hunger or thirst loss
God mode offPC servergod falseTurn invincibility off again
NoclipPC servernoclipFly and pass through objects; type it again to turn it off
Teleport to playerPC serverteleport "player"Teleport yourself to that player
Bring player to youPC serverteleport2me "player"Teleport that player to your position
Teleport to coordinatesPC serverteleportpos "(x,y,z)"Teleport yourself to a map position
Teleport to markerPC serverteleport2markerTeleport to the marker you placed on your map
Debug cameraPC serverdebugcameraSwitch to the free-fly camera; run it again to leave

Items and spawning

CheatCommandEffect
Give itemPC serverinventory.give "item" amountGive yourself an amount of an item by its short name, for example rifle.ak or scrap
Give item to everyonePC serverinventory.giveall "item" amountGive every online player an amount of an item
Give blueprintPC serverinventory.givebp "item"Give yourself the blueprint for an item
Spawn entityPC serverspawn <prefab>Spawn an entity or animal, for example spawn bear

Players

CheatCommandEffect
List playersPC serverplayersList connected players with name, ping, SteamID and health
Kick playerPC serverkick "name" "reason"Kick a player from the server with a reason
Ban by SteamIDPC serverbanid <SteamID> "name" "reason"Ban a player by SteamID, even when they are offline
Unban playerPC serverunban <SteamID>Remove the ban on that SteamID
Mute chatPC serveradmin.mutechat "name"Stop a player from using text chat
Spectate playerPC serverspectate "name"Watch a player from their view

World and events

CheatCommandEffect
Set time for everyonePC serverenv.time <0-24>Set the server time of day; 12 is noon and 0 is midnight
Set time for youPC serveradmintime <0-24>Change the time only on your screen; use -1 to go back to server time
Set rainPC serverweather.rain <0-1>Set rain intensity from 0 to 1
Call helicopterPC serverheli.calltomeSend the patrol helicopter to your position
AirdropPC serverairdrop.dropTrigger an airdrop

Server

CheatCommandEffect
Save serverPC serverserver.saveForce an immediate save
Broadcast messagePC serversay "message"Send a chat message to the whole server
Restart serverPC serverrestart <seconds> "reason"Restart after a countdown in seconds, with a reason shown to players
Find a commandPC serverfind <text>List every command or setting whose name contains that text

How to enter cheats

PC server

  1. In the server console or RCON, run ownerid with your SteamID64.
  2. Reconnect to the server so the new auth level applies.
  3. Press F1 in the game to open the console.
  4. Type a command, for example noclip, and press Enter.

FAQ

How do you make yourself admin in Rust?

Run ownerid with your SteamID64, a name and "owner" from the server console or RCON, then reconnect. Rust saves it to users.cfg on its own.

How do you fly in Rust?

Type noclip in the F1 console while you have auth level 2. Type it again to stop flying.

Is there a god mode in Rust?

Yes. Type god true in the F1 console to become invincible and god false to turn it off.

How do you give yourself items in Rust?

Type inventory.give with the item's short name and an amount, for example inventory.give rifle.ak 1.

Why are my Rust admin commands not working?

Usually you do not have auth level 2, you have not reconnected since getting admin, a name is misspelled, or it is a plugin command that is not installed.

Part of

References: GameServerKings: Rust admin commands; Corrosion Hour: Rust admin commands and server variables.