Skip to content
Black Friday · −50 % off your first invoice on Xeon VPS with code BF50XEON, −30 % off our other services with BF30 · domain names and dedicated servers excluded See our plans
CloudFive
Log in

01

Becoming admin: ownerid and moderatorid

Rust has two admin levels, assigned by SteamID64 (the 17-digit number of the Steam account, not the player name):

  • ownerid gives the highest level (level 2);
  • moderatorid gives the level just below (level 1).

These commands are typed in the server console, not in the game: as long as nobody is admin, it alone has the rights.

ownerid 76561198123456789 "Pseudo"
moderatorid 76561198123456789 "Pseudo"
server.writecfg

The name in quotes is only a reminder for you. The server answers Added owner or Added moderator; the official wiki says the change is saved on its own, and server.writecfg forces the configuration files to be written if you would rather be sure. The player must then disconnect and reconnect to receive their rights.

To find the SteamID64 of a connected player, the users command lists players with their ID. To remove a rank:

removeowner 76561198123456789
removemoderator 76561198123456789

The list is stored in the users.cfg file, in the server/<identity>/cfg folder (the identity is the value of server.identity), one line per admin. Only edit this file by hand while the server is stopped. Keep ownerid for people who need to be able to do everything: an admin can give themselves any item and ban anyone.

02

Where to type commands: server console, F1 and RCON

An admin command can be sent from three places:

  • The server console: the terminal where RustDedicated runs, or the console provided by your host. It has every right.
  • The in-game console: the F1 key opens a tabbed menu. The CONSOLE tab takes commands; the ITEMS and TOOLS tabs are only of use to players who have rights on the server.
  • RCON: a remote console, protected by a password, to administer the server without launching the game.

Some commands are designed for the server console. An admin can still run them from F1 by putting sv in front:

sv say Redémarrage dans dix minutes
sv weather.load Clear

When you cannot remember the exact name of a command, find followed by a word (for example find teleport) lists the ones that contain it.

RCON is set when the server starts, with three parameters:

+rcon.port 28016 +rcon.password "un-mot-de-passe-long" +rcon.web 1

The official wiki recommends rcon.web 1. The RCON port uses TCP; you connect to it with a Rust-compatible RCON client, giving the server address, this port and the password. This password grants full power: make it long and unique, share it only with admins, and on a VPS open the port to your own address only (see game server ports).

03

Listing, kicking and banning players

Three commands show who is connected:

users
players
status
  • users: players with their SteamID64 and name;
  • players: the same list, with ping;
  • status: in addition, connection time and IP address.

To sanction a player:

kick Pseudo "raison"
ban Pseudo "raison"
banid 76561198123456789 "Pseudo" "raison"
unban 76561198123456789
banlistex
  • kick removes the player, who can come straight back: it is a warning, not a lasting sanction;
  • ban bans a connected player, identified by name or SteamID64;
  • banid bans by SteamID64, even if the player is not on the server. The name is only there to help you remember;
  • unban lifts the ban, again by SteamID64;
  • banlistex shows banned players with their name and the reason.

ban and banid also accept an optional duration at the end, written as a number followed by a unit (7d for seven days). Without a duration, the ban is permanent. Always give a reason: six months from now, it is what will tell you why this player is on the list.

04

Teleporting, items, time and weather

Commands that act on your own character are typed in the game, in the F1 console:

teleport Pseudo
teleport Pseudo1 Pseudo2
teleport2me Pseudo
teleportpos "120, 35, -480"
noclip
god true
debugcamera
  • teleport takes you to a player; with two names, it takes the first player to the second;
  • teleport2me brings a player to you;
  • teleportpos sends you to coordinates;
  • noclip lets you fly and pass through walls, god true makes you immune to damage, hunger and thirst (god false to go back), debugcamera detaches the camera to watch a scene.

To spawn something:

spawn minicopter.entity
inventory.give wood 1000

spawn creates an entity (vehicle, animal, crate…) where you are looking; if the name is incomplete, the console suggests the closest ones. inventory.give adds an item to your inventory, from its short name and a quantity. Simpler still: the ITEMS tab of the F1 menu lists every item in the game and gives them in one click to anyone with the rights.

Time and weather are set for the whole server:

env.time 12
weather.load Clear
weather.report
weather.reset
  • env.time sets the time of day (12 for noon);
  • weather.load loads a weather type: Clear, Dust, Fog, Overcast, RainMild, RainHeavy or Storm;
  • weather.report prints the current weather, and weather.reset hands control back to dynamic weather.

Watch out for the weather trap: typed as is in F1, weather.load only changes the weather on your screen. For every player, run it from the server console or RCON, or write sv weather.load Clear in the game.

05

Saving, stopping and restarting

server.save
server.writecfg
restart 300 "Mise à jour du serveur"
quit
  • server.save forces the game to be saved to disk. The server also does it on its own, at the interval set by server.saveinterval (600 seconds by default, that is ten minutes);
  • server.writecfg writes the configuration files, including the admin list and the ban list;
  • restart warns players in chat with a countdown, in seconds, and the message of your choice, then saves and stops the server;
  • quit, in the server console, saves then closes the server.

Two traps to know. In the F1 console, quit closes your game, not the server: in the game, sv quit is what stops the server. And despite its name, restart does not start anything again: it stops the server cleanly. Something has to bring it back up afterwards, for example your host's panel or a systemd service set to Restart=always (with on-failure, systemd does not relaunch a program that stopped normally). Setting up the service is described in installing a Rust server on a VPS.

A game save does not replace a copy kept off the server: before a wipe or an update, copy the server/<identity> folder (map, save, configuration) and the oxide folder. The guide creating a Rust server explains wipes and the forced wipe on the first Thursday of the month.

06

Basic Oxide (uMod) commands

With Oxide installed, the console gains commands prefixed with oxide. (or o. for short). For plugins:

oxide.version
oxide.plugins
oxide.load NomDuPlugin
oxide.unload NomDuPlugin
oxide.reload NomDuPlugin
oxide.reload *
  • oxide.version prints the Oxide version. If the console answers that the command is unknown, Oxide is not loaded, which happens after a game update has overwritten its files;
  • oxide.plugins lists loaded plugins and their version;
  • oxide.reload reloads a plugin after a change to its configuration, without restarting the server; the star reloads them all.

For permissions, Oxide works with groups. The default (all players) and admin groups exist from the start:

oxide.grant user Pseudo nomplugin.use
oxide.grant group default nomplugin.use
oxide.revoke group default nomplugin.use
oxide.group add vip
oxide.usergroup add Pseudo vip
oxide.usergroup remove Pseudo vip
oxide.show groups
oxide.show user Pseudo
oxide.show perms

grant gives a permission to a player or a group, revoke takes it away. oxide.group add creates a group, oxide.usergroup puts a player in it or takes them out, and oxide.show displays the groups, a player's rights or the list of all known permissions. The name of each permission is given on the plugin's page. Carbon, the other plugin framework, has its own commands: refer to its documentation. To choose your first plugins, see essential Rust plugins with uMod.

07

On a CloudFive server

On our Rust offers, everything is done from the server page, in the customer area:

  • Console tab: logs arrive live, commands keep their history, and processor, memory, disk and player count stay on screen. It is the server console: bans, weather, saving or oxide. commands are typed there without the sv prefix, while those that act on your own character (teleporting, noclip, god) still have to be typed in the game, in F1;
  • Administrators tab: admins are declared by SteamID, without opening users.cfg;
  • RCON: the server's RCON address is shown on the page, so you can plug in your usual client;
  • uMod tab: uMod (Oxide) installs in one click, after which the oxide. commands answer in the console;
  • Wipes tab: map and blueprint wipes are scheduled on the day and at the time you want, with a new seed if you wish;
  • Backups tab: automatic backups over five rolling days, dated, and restorable in one click. The server stops for the duration of the restore.

You can also share access to the server with your team, right by right, instead of passing the RCON password around. The servers run in France on Ryzen 9 9950X, with Anti-DDoS Premium included and no commitment.

08

Frequently asked questions

How do I become admin on my Rust server?

In the server console, type ownerid followed by your SteamID64 and your name in quotes, then reconnect to the game. The rights are active on reconnection, and the F1 key opens the admin console.

What is the difference between ownerid and moderatorid?

ownerid gives the highest admin level (level 2), moderatorid the level just below (level 1). Both are assigned by SteamID64 and removed with removeowner and removemoderator.

How do I ban a player on a Rust server?

With ban followed by the player's name if they are connected, or banid followed by their SteamID64 if they are not, then a reason in quotes. unban followed by the SteamID64 lifts the ban, and banlistex shows the list of banned players.

How do I teleport as an admin in Rust?

In the F1 console: teleport followed by a name takes you to that player, teleport2me brings them to you, and teleportpos sends you to coordinates. You must be owner or moderator of the server.

How do I change the time or the weather on a Rust server?

env.time followed by an hour sets the time of day, for example env.time 12 for noon. weather.load followed by a weather type (Clear, Fog, Storm…) changes the weather, and weather.reset restores dynamic weather. In the game, write sv in front of weather.load so the change applies to every player.

How do I reload an Oxide plugin without restarting the server?

With oxide.reload followed by the plugin name, or o.reload for short. oxide.reload * reloads every plugin, and oxide.plugins shows the ones that are loaded.

Support CloudFive AI

An answer right away, a real team behind it.

CloudFive AI answers you at any hour, in seconds. When it doesn’t know, or as soon as you ask, the team that runs the machines takes over. No offshore call centre.

  • TicketThe team replies in under 2 hours, 7 days a week.
  • CloudFive AIAt any hour, on ia.cloudfive.fr, Discord and in your customer area.
  • DiscordThe team, the AI and other customers, in the help channel.
  • Your data stays with usAI runs on our servers in France; e-mails, IPs and passwords are masked.
A ticket in the customer area: a customer’s question about a Minecraft plugin, and the CloudFive team’s reply
A real ticket in the customer area, answered by the team (demo account; shown in French).
CUSTOMER AREA · APP

Your servers.
At your fingertips.

Restart a server, watch its resources live, pay an invoice or open a ticket — and get an alert when something goes wrong.

  • The status of all your services at a glance
  • Blocked attacks, filtered traffic, monthly peak
  • A notification when a server goes down or an invoice is due

App coming soon · in the meantime, everything works in your browser at manager.cloudfive.fr

The CloudFive app: the list of your services, with their status
The CloudFive app: the home screen, your services’ status, blocked attacks and an invoice to pay