As an admin you can kick and ban players, go invisible and run commands right in the game.
Find your Steam ID
You need your SteamID64 – a 17-digit number starting with 7656119:
- In the game: press F1 and type
client.steamid. - Or enter your Steam profile on a site like steamid.io.
Make yourself admin
- Open the Console tab in the client area.
- Enter:
ownerid 7656119XXXXXXXXXX "YourName" - Then:
server.writecfg– this keeps it after a restart. - Reconnect to the server once.
removeowner 7656119XXXXXXXXXX takes the rights away again.
Moderators
Moderators can kick and ban but cannot use admin tools like flying:
moderatorid 7656119XXXXXXXXXX "Name" followed by server.writecfg.
Remove with removemoderator 7656119XXXXXXXXXX.
Key commands
In the Console tab or as admin in the game (F1):
| Command | Effect |
|---|---|
status | Show online players with Steam ID |
say "Text" | Message to everyone |
kick "Name" "Reason" | Kick a player |
ban "Name" "Reason" | Ban a player |
banid 7656119XXXXXXXXXX "Name" "Reason" | Ban by Steam ID (also offline) |
unban 7656119XXXXXXXXXX | Lift a ban |
server.save | Save the world now |
server.writecfg | Store admins, moderators and bans permanently |
In the game only (as admin):
| Command | Effect |
|---|---|
noclip | Fly through walls on/off |
god true / god false | Invulnerable on/off |
debugcamera | Free camera |
teleport "Name" | Teleport to a player |
Good to know
- Admin rights apply after reconnecting.
- Without
server.writecfg, new admins are gone after a restart. - For finer permissions (e.g. groups), Oxide/uMod helps – see Install Rust plugins with Oxide.