Rust server admin commands: add owners, moderators and ban players
To run your Rust server you need admin rights. Rust has two levels: owners with full access and moderators with limited access.
Make yourself owner
You need your SteamID64, which is a long number you can look up on a site like steamid.io. In the Console tab, run:
- ownerid YOURSTEAMID64 "YourName" "reason"
- server.writecfg
The second command saves the change so it stays after restart. For moderators use moderatorid in the same format.
Rejoin the server afterward so your rights apply.
Use the console in game
Press F1 to open the in-game console. If you are an owner you can run commands there as well as in the panel.
Useful commands
- status lists connected players and their IDs.
- kick PlayerName reason removes a player.
- ban PlayerName reason bans a player.
- say message sends a chat message to everyone.
- server.save saves the map and player data now.
- server.hostname, server.description and server.maxplayers change what players see. Put them in your server config so they persist.
- removeowner and removemoderator take away admin rights.
Where settings are stored
Rust keeps admin and server settings in the server folder under server/ and cfg/. The server.cfg file can hold settings that run on every start. Check the Files tab for your exact folder names.
Tips
- Use server.writecfg after making permission changes.
- Do not give out owner rights lightly, since owners can do anything.
- If commands say you lack permission, check you used the right SteamID64 and rejoin.