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.
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 to that SteamID64; moderators can run the admin commands on this page too |
| 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 |
A code here did not work? Tell us and it gets rechecked. Report a code
How to enter cheats in Rust Admin
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.
Can you use these cheats in multiplayer?
These commands are for servers, so what matters is your rights on that server. GameServerKings says the vanilla commands work on any server once you have admin, auth level 1 or 2, so on someone else's server the owner has to grant it. Commands that start with / come from the Oxide/uMod or Carbon frameworks and only exist where those are installed. GameServerKings: Rust admin commands
Compatibility notes
Which releases these codes apply to, and where one behaves differently. Each note links to the source that documents it.
- Rust Console Edition (PS4, PS5, Xbox) GameServerKings says Console Edition is a separate product with no F1 console; admins there get an in-game menu with a smaller command set and cannot spawn arbitrary entities. GameServerKings: Rust admin commands
- Auth level 1 vs 2 GameServerKings says moderators (level 1) and owners (level 2) can both run these commands; only level 2 can run ownerid from in-game or see player IP addresses. GameServerKings: Rust admin commands
- users.cfg GameServerKings says ownerid and moderatorid save users.cfg on their own, and that hand edits to the file only stick if the server is stopped, because a running server rewrites it. GameServerKings: Rust admin commands
- Client-side commands GameServerKings lists admintime among client-side commands that change only your own game; env.time is the one that changes the time for everyone. GameServerKings: Rust admin commands
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 are admin on the server. 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 have no auth level on that server, you have not reconnected since getting admin, a name is misspelled, or it is a plugin command that is not installed.
