Rust Admin Commands
Once you are admin on your Rust server, everything happens through commands. This is the set worth knowing, grouped by what you are actually trying to do. Run them in the F1 console in game, or from the Console page in your panel.
Most of This Has a Button Now
Before reaching for commands, check the Players page. Kicking, banning, unbanning, broadcasting, teleporting and giving items are all buttons there, with the player list and the chat in front of you. Commands are for what that page does not cover, and for scripting.
Where to Run Them
- In game: press F1 and type the command. This is the only place the movement and building commands work, since they act on your character.
- In the panel: open the Console page and use the command box. Server-wide commands work here and you do not need to be in game.
- You need admin first. See how to make yourself admin.
Managing Players
say Hello everyone
kick "PlayerName" "Reason"
ban "PlayerName" "Reason"
unban 76561198000000000
banlist
status
statuslists everyone connected with their Steam ID and ping, which is how you find the ID you need for the other commands.bantakes a Steam ID as well as a name, and the ID is safer because names change.global.teleport "PlayerA" "PlayerB"moves one player to another.
Moving Around and Building
Run these in game.
noclip
teleport2marker
god true
debugcamera
nocliptoggles flying through terrain and is the one you will use most.teleport2markersends you to the marker you placed on the map, which beats flying across the island.god truemakes you invulnerable,god falseturns it off again.
Giving Items
inventory.give wood 1000
inventory.giveto "PlayerName" rifle.ak 1
inventory.giveall scrap 100
- Item names are Rust's internal short names, not what the item is called in game.
rifle.ak,wood,scrap,stones. - On a modded server, a kits plugin is usually a better answer than handing items out one at a time.
Time and Weather
env.time 12
weather.clouds 0
weather.rain 0
env.timetakes a 24 hour value, so12is midday and0is midnight.- Setting weather values to
0clears the sky, which is useful when you are building or taking screenshots.
Server Wide
server.save
server.writecfg
players
serverinfo
server.saveforces a save immediately. Worth running before you do anything risky.server.writecfgwrites your current settings to disk. Anything you changed with a console command is lost on restart without it.
Good to Know
- server.writecfg is the one people forget. Admin grants, convar changes and most settings are session only until you write them. If a change keeps reverting after a restart, this is why.
- Modded servers add their own commands. Anything from a plugin has its own name and its own permission. See how Oxide and Carbon permissions work.
- Not every command works from the panel. Anything acting on your character, like
nocliporgod, needs the in game console. - Facepunch changes commands between updates. If one stops working after a force wipe, check the current name rather than assuming the server is broken.
Finished
You have the commands you need day to day. For the settings that live outside the console, see every Rust startup variable explained.
Did this solve your problem?
Still stuck?
Our support team actually knows the games we host. Open a ticket and we will figure it out together.
Open a ticket