Back to the category
Game Servers & OuiPanel
53 guides
RustPublished on October 20, 20263 min read

Rust admin commands

This guide shows how to become a Rust admin on your server with two commands, typed in the console of OuiPanel, the OuiHeberg game panel. It then lists the Rust admin commands you will use most.

A Rust server has two levels of rights. The owner can use every command. The moderator manages players, with kicks, bans and messages.


Find your SteamID64

Your SteamID64 is a 17-digit number that starts with 7656119.

  1. Open your Steam profile in a browser.

  2. If the address contains /profiles/, the number after it is your SteamID64.

  3. If the address contains /id/ followed by a name, paste it into a converter such as steamid.io.

If you are already connected to the server, type status in the OuiPanel console. The list of connected players shows each player's SteamID64.


Add yourself as owner

  1. Log in to OuiPanel. In My servers, click Manage Server next to your Rust server.

  2. In the side menu, click Console. The server must be running.

  3. In the "Type a command, without the leading slash" field, enter the following command with your SteamID64 and your name. Click Send.

ownerid 76561198012345678 "YourName" "Owner"

Then save the admin list with this command.

server.writecfg

Without server.writecfg, your rights are lost at the next restart. This command writes them to the server/rust/cfg/users.cfg file.

If you were connected to the server, disconnect and reconnect. Rights apply when you connect.

OuiPanel console of a Rust server with the ownerid command typed in the field


Add moderators

It works the same way with moderatorid, followed by a new save.

moderatorid 76561198087654321 "ModName" "Staff"
server.writecfg

Remove a right

Type removeowner or removemoderator with the player's SteamID64, then save the list.

removeowner 76561198012345678
removemoderator 76561198087654321
server.writecfg

Use the commands in game

In Rust, press F1 to open the game console. Once you are admin, you type the same commands there as in OuiPanel. Some of them only work in game because they act on your character, such as teleport or noclip.


The most useful admin commands

CommandWhat it does
statusLists connected players with their SteamID64
say "message"Sends a message to the whole server
kick "name" "reason"Kicks a player
ban "name" "reason"Bans a connected player
banid 7656… "name" "reason"Bans a player by SteamID64
unban 7656…Lifts a ban
server.saveForces a world save
env.time 12Sets the in-game time, here noon
teleport "name"Teleports you to a player (in game)
noclipTurns free flight on or off (in game)

Schedule an announced restart

To restart the server right away, click Restart in the Console. For a nightly restart with a message that warns players, use a schedule.

  1. In the side menu, open Configuration › Scheduling, then click Create new schedule.

  2. In Simple mode, give it a name and pick the Frequency. Click Create schedule.

  3. Open the schedule with the blue button on its card, then click Create new task. Choose the Command action and write the message in Payload, for example say "Restart in 1 minute".

  4. Create a second task with the Power action and the restart payload. Set its Offset so players have time to read the message.

The tasks run in order, at the frequency you chose. A Backup task can also back up the server just before the restart.

Details of a nightly restart schedule with the command, backup and power tasks


Common issues

Commands don't work in game

Check the SteamID64, run server.writecfg again, then reconnect to the server.

My rights are gone after a restart

The list wasn't saved. Run ownerid again, then server.writecfg.

I use Oxide or Carbon

Plugins have their own permission system. With Oxide, use oxide.grant. With Carbon, use c.grant. The guide How to install Oxide or Carbon on a Rust server explains how to install them.


Need help?

Open a ticket from Tickets › Open a Ticket, or from the Contact support tile at the bottom of your server's page in the client area. You can also ask your question on the OuiHeberg Discord.

Was this article helpful?

38 views
Share this article
Rust
Need a Rust server?

Discover our Rust server hosting from $6.92/month, with Oxide or Carbon enabled from the panel and your server ready in a few minutes.

View plans →
Rust
Need a Rust server?

Discover our Rust server hosting from $6.92/month, with Oxide or Carbon enabled from the panel and your server ready in a few minutes.

View plans →

Related Articles