Rust Admin Commands: Key Console Commands for PC
- PC server Run ownerid with your SteamID64 from the server console, reconnect, then press F1 in the game and type a command.
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 Andrew B.
No cheats match that filter.
Setup
| Cheat | Command | Effect |
|---|---|---|
| Make yourself owner | PC serverownerid <SteamID64> "Name" "owner" | Grant auth level 2 to that SteamID64; run it from the server console or RCON, then reconnect |
| Add a moderator | PC servermoderatorid <SteamID64> "Name" "Reason" | Grant auth level 1 (kick, ban, teleport) to that SteamID64 |
| Remove an owner | PC serverremoveowner <SteamID64> | Take owner rights away from that SteamID64 |
God mode and movement
| Cheat | Command | Effect |
|---|---|---|
| God mode on | PC servergod true | Become invincible, with no health, hunger or thirst loss |
| God mode off | PC servergod false | Turn invincibility off again |
| Noclip | PC servernoclip | Fly and pass through objects; type it again to turn it off |
| Teleport to player | PC serverteleport "player" | Teleport yourself to that player |
| Bring player to you | PC serverteleport2me "player" | Teleport that player to your position |
| Teleport to coordinates | PC serverteleportpos "(x,y,z)" | Teleport yourself to a map position |
| Teleport to marker | PC serverteleport2marker | Teleport to the marker you placed on your map |
| Debug camera | PC serverdebugcamera | Switch to the free-fly camera; run it again to leave |
Items and spawning
| Cheat | Command | Effect |
|---|---|---|
| Give item | PC serverinventory.give "item" amount | Give yourself an amount of an item by its short name, for example rifle.ak or scrap |
| Give item to everyone | PC serverinventory.giveall "item" amount | Give every online player an amount of an item |
| Give blueprint | PC serverinventory.givebp "item" | Give yourself the blueprint for an item |
| Spawn entity | PC serverspawn <prefab> | Spawn an entity or animal, for example spawn bear |
Players
| Cheat | Command | Effect |
|---|---|---|
| List players | PC serverplayers | List connected players with name, ping, SteamID and health |
| Kick player | PC serverkick "name" "reason" | Kick a player from the server with a reason |
| Ban by SteamID | PC serverbanid <SteamID> "name" "reason" | Ban a player by SteamID, even when they are offline |
| Unban player | PC serverunban <SteamID> | Remove the ban on that SteamID |
| Mute chat | PC serveradmin.mutechat "name" | Stop a player from using text chat |
| Spectate player | PC serverspectate "name" | Watch a player from their view |
World and events
| Cheat | Command | Effect |
|---|---|---|
| Set time for everyone | PC serverenv.time <0-24> | Set the server time of day; 12 is noon and 0 is midnight |
| Set time for you | PC serveradmintime <0-24> | Change the time only on your screen; use -1 to go back to server time |
| Set rain | PC serverweather.rain <0-1> | Set rain intensity from 0 to 1 |
| Call helicopter | PC serverheli.calltome | Send the patrol helicopter to your position |
| Airdrop | PC serverairdrop.drop | Trigger an airdrop |
Server
| Cheat | Command | Effect |
|---|---|---|
| Save server | PC serverserver.save | Force an immediate save |
| Broadcast message | PC serversay "message" | Send a chat message to the whole server |
| Restart server | PC serverrestart <seconds> "reason" | Restart after a countdown in seconds, with a reason shown to players |
| Find a command | PC serverfind <text> | List every command or setting whose name contains that text |
How to enter cheats
PC server
- In the server console or RCON, run ownerid with your SteamID64.
- Reconnect to the server so the new auth level applies.
- Press F1 in the game to open the console.
- 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.
