To become owner of your Rust server, type ownerid with your SteamID64 in the panel’s Console, then rejoin. Owners and moderators can then use admin commands in the Console or in game with F1. This page shows how, and lists the commands you’ll use most.
Find your SteamID64
Your SteamID64 is a 17-digit number that starts with 7656. It’s the same on every server.
- Easiest: join your server, then type
usersin the panel’s Console. It lists everyone online with their SteamID64 and name. - From Steam: in the Steam app, open your account details. Your Steam ID is shown at the top. Steam’s help page explains it too.
Make yourself owner or moderator
- Join your server once.
- Open the Console in the panel.
- Type one of these, with your own number and name:
ownerid 76561198000000000 "YourName"for ownermoderatorid 76561198000000000 "YourName"for moderator
- Type
server.writecfgso the list is written tousers.cfgstraight away. - Leave the server and join again. The Console shows that you joined with an auth level.
| Level | Command | Can do |
|---|---|---|
| Owner (auth level 2) | ownerid |
Every admin command |
| Moderator (auth level 1) | moderatorid |
Most admin commands. A good level for trusted helpers |
To remove someone, use removeowner 76561198000000000 or removemoderator 76561198000000000, then server.writecfg.
If you linked your Steam account in the panel, the admin list in Settings can add you without typing.
By editing users.cfg
You can also add admins straight into the file, but only while the server is stopped:
- Stop the server.
- Open
server/wilderack/cfg/users.cfgin Files. - Add one line per person:
ownerid 76561198000000000 "YourName" "". - Save and start the server.
Where to type commands
| Where | How | Notes |
|---|---|---|
| Panel Console | Type the command and send it | Works for everything. Friends with console access in Friends can use it too |
| In game | Press F1 and type | Needs owner or moderator. A few server commands need sv in front, like sv say |
Type find and a word to search every command, like find teleport.
Players and moderation
| Command | What it does |
|---|---|
users |
Lists online players with their SteamID64 |
status |
Lists players with SteamID64, ping, time online and IP address |
kick Name "Reason" |
Kicks a player. They can rejoin straight away |
ban 76561198000000000 "Name" "Reason" 7d |
Bans a player. Leave out the time for a permanent ban |
banid 76561198000000000 "Name" "Reason" |
Bans someone who isn’t online |
unban 76561198000000000 |
Removes a ban |
banlistex |
Lists bans with names and reasons |
mute Name |
Mutes a player in chat for everyone |
global.skipqueueid 76561198000000000 "Name" |
Lets a player skip the queue when the server is full |
say "Message" |
Sends a message to everyone (sv say when typed in game) |
Ban times join a number and a unit: m for minutes, d for days and M for months. 1M7d is one month and seven days.
Moving around and checking things
These are for in game, in the F1 console:
| Command | What it does |
|---|---|
noclip |
Fly through walls. Type it again to stop |
god true |
You can’t take damage, and you don’t get hungry or thirsty. god false turns it off |
teleport Name |
Teleports you to a player |
teleport2me Name |
Brings a player to you |
teleport2marker |
Teleports you to the marker on your map |
ent who |
Shows the SteamID64 of whoever placed what you’re looking at |
ent kill |
Removes what you’re looking at |
combatlog 76561198000000000 |
Shows recent damage a player dealt and took |
Use a SteamID64 instead of a name when two players have similar names.
The world and the server
| Command | What it does |
|---|---|
env.time 12 |
Sets the time of day for everyone, from 1 to 24 |
weather.load clear |
Sets the weather |
heli.call |
Starts the patrol helicopter event |
server.save |
Saves the world now |
server.writecfg |
Writes admins, bans and settings to the cfg files |
serverinfo |
Shows the server’s frame rate, entity count, memory and players |
version |
Shows the server’s Rust version |
For restarts and stops, use the buttons on Overview instead of console commands. Then the panel always knows what your server is doing, and saves the world first.
Plugin permissions
On Oxide or Carbon, plugins have their own permissions. Give them with oxide.grant user Name permission.name or c.grant user Name permission.name. See Rust plugins.
Owners can ban, remove bases and give themselves anything. Only make someone owner if you trust them completely, and use moderator for everyone else.
Questions
How do I make myself admin on my Rust server?
Find your SteamID64, then type ownerid followed by your SteamID64 and your name in quotes in the panel's Console. Run server.writecfg, then leave and rejoin the server.
What is the difference between ownerid and moderatorid in Rust?
ownerid gives auth level 2, the highest. moderatorid gives auth level 1. Give owner only to people you trust completely.
How do I ban someone on my Rust server?
Type ban followed by the player's SteamID64, a name to remember them by and a reason. Add a time like 7d for a temporary ban. Remove a ban with unban and the SteamID64.
Where do I type Rust admin commands?
In the panel's Console, or in game by pressing F1 once you are owner or moderator. Some commands need sv in front when typed in game, like sv say.
Sources we checked
- Creating a serverFacepunch Studios
- Useful Console CommandsFacepunch Studios
- What is a SteamID?Valve
