As administrator of a Rust server you have access to an extensive arsenal of console and RCON commands. With these you manage players, adjust settings and resolve issues without restarting the server. In this guide we cover all essential commands, organized by category.
Connecting via RCON
RCON (Remote Console) gives you remote access to the server console. You connect through an RCON client or via the web interface (if you use Rust+WebRcon).
- Set an RCON password in the server configuration:
+rcon.password "yourpassword". - Open the RCON port (default 28016) in your firewall.
- Connect with an RCON client such as RustAdmin, BattleMetrics RCON or webrcon.
Always use a strong password. Anyone with the RCON password has full control over your server.
Player management
| Command | Explanation |
|---|---|
kick "name/steamid" "reason" | Removes a player from the server |
ban "name/steamid" "reason" | Permanently bans a player |
unban "steamid" | Lifts a ban |
banlist | Shows all banned players |
moderatorid "steamid" "name" | Grants moderator privileges |
ownerid "steamid" "name" | Grants owner privileges (full admin) |
removemoderator "steamid" | Removes moderator privileges |
removeowner "steamid" | Removes owner privileges |
players | Shows all online players |
Server management
| Command | Explanation |
|---|---|
server.save | Saves the world |
server.writecfg | Writes the current configuration to the cfg file |
server.hostname "name" | Changes the server name |
server.maxplayers 100 | Sets the maximum player count |
server.seed 12345 | Changes the map seed (requires wipe) |
server.worldsize 3000 | Map size in meters (requires wipe) |
quit | Shuts down the server safely |
Moderation and in-game actions
| Command | Explanation |
|---|---|
say "message" | Sends a server message to all players |
teleport "player1" "player2" | Teleports player1 to player2 |
teleportpos "player" x y z | Teleports to coordinates |
entid kill "id" | Removes a specific object by entity ID |
noclip | Toggles fly mode (only as admin in-game) |
god true/false | Toggles invincibility |
inventory.give "item" amount | Gives yourself an item |
inventory.giveto "player" "item" amount | Gives a player an item |
Performance and debugging
| Command | Explanation |
|---|---|
status | Shows server info: players, FPS, uptime |
server.fps | Shows the current server FPS |
perf 1 | Enables performance monitoring |
gc.collect | Forces garbage collection (may cause a brief stutter) |
entities.count | Counts all objects in the world |
pool.status | Shows memory pool usage |
Monitor the server FPS regularly. A stable Rust server runs at 20 FPS or higher. If the value consistently drops below 15, there are too many objects in the world or too few resources available.
Wipe-related commands
server.savefollowed byquit: safe shutdown for maintenance.- Delete the save files (the
server/folder) for a full map wipe. - Delete
player.blueprints.*.dbfor a blueprint wipe.
Oxide/Carbon commands
If you use Oxide or Carbon, you have access to additional commands:
oxide.reload PluginName: reloads a plugin without restarting the server.oxide.load/unload PluginName: loads or unloads a plugin.oxide.grant user/group "name" "permission": grants a permission to a user or group.oxide.revoke user/group "name" "permission": removes a permission.oxide.show perms: shows all available permissions.
How do I find a player's SteamID?
Type players in the console. This shows a list of all online players including their SteamID. You can also use BattleMetrics or the Steam profile page to look up a SteamID.
Can I run commands without RCON?
Yes. If you are set as owner (ownerid), you can open the console in-game with F1 and enter commands there. The server also lets you type commands directly in the server window if you have local access via SSH or the game panel.
Why HostValues?
Rust servers at HostValues run on AMD Ryzen 9 7950X hardware with NVMe storage and DDoS protection included. All plans can be cancelled monthly. Check out Rust hosting.