Rust offers a variety of commands that server owners and players can use. On this page, we summarize the most useful and popular commands for server settings, player administration, and player control.
Some commands require a player's Steam64 ID. Use the brief guide below to learn how to find a player's Steam ID.
Use the tabs below to switch between categories. The tables show the command itself, accepted values (if any), and a description to help you understand everything better.
All commands listed here apply to Vanilla Rust.
| Command Syntax | Accepted Values | Description |
|---|---|---|
| server.globalchat | true/false | When enabled, all chat messages are visible to all players |
| server.stop | - | Stops the server |
| server.save | - | Saves the server |
| server.saveinterval "value" | Integer (default 60) | Sets the automatic save interval for your server (in seconds) |
| server.secure | true/false | When enabled, Easy Anti Cheat (EAC) blocks connections from unregistered or banned players before connection |
| server.seed "value" | Integer (e.g., 123456) | Sets the seed value for the server world |
| server.stability | true/false | When enabled, building stability is active |
| server.tickrate "rate" | Integer (default 30) | Sets the tick rate for your server |
| server.writecfg | - | Saves configuration changes previously set via other server commands |
| chat.serverlog | true/false | When enabled, chat messages are always logged in the server console |
| commands.echo "text" | String (e.g., "Hello World!") | Outputs the specified message in the server console |
| global.say "message" | String (e.g., "Welcome!") | Sends a message to all players on the server |
| env.time | Integer (e.g., 16) | Sets the in-game world time to the specified value (in hours) |
| server.events | - | When enabled, server events like airdrops are activated |
| commands.find "command" | String (e.g., "quit") | Searches for a command or lists all available commands with "." |
| global.quit | - | Saves the server and then stops it |
| global.init | - | Loads configuration files |
| Command Syntax | Accepted Values | Description |
|---|---|---|
| global.ban "playername" "reason" | String (e.g., "Jacob"), String (e.g., "Was naughty!") | Bans a player from the server (with optional reason) |
| global.banid "steam64" | Integer | Bans a player by their Steam64 ID |
| global.banlistex | - | Returns a list of banned players with names and ban reasons |
| global.banlist | - | Displays a list of banned players in chat |
| global.unban "steam64" | Integer | Lifts a ban for a player by their Steam64 ID |
| global.kickall | - | Kicks all players from the server |
| global.kick "steam64 / playername" "reason" | Integer/String (e.g., "Jacob"), String (e.g., "Was naughty!") | Kicks a player by Steam64 ID or player name (with optional reason) |
| global.ownerid "steam64 / playername" | Integer/String (e.g., "Jacob") | Sets the specified player as server admin by Steam64 ID or player name (Auth Level 2) |
| global.removeowner "steam64" | Integer | Removes admin rights from a player by the specified Steam64 ID |
| global.moderatorid "steam64 / playername" | Integer/String (e.g., "Jacob") | Sets the specified player as server moderator by Steam64 ID or player name (Auth Level 1) |
| global.removemoderator "steam64" | Integer | Removes moderator rights from a player by the specified Steam64 ID |
| global.listid | - | Returns a list of players banned via Steam64 ID |
| Command Syntax | Accepted Values | Description |
|---|---|---|
| kill | - | Kills your own player |
| global.quit | - | Saves and exits the game |
| global.god | true/false | Toggles god mode on/off so the player takes no damage (admins only) |
| global.noclip | true/false | Toggles noclip mode on/off so the player can fly freely (admins only) |
| global.debugcamera | true/false | Toggles debug camera mode on/off so the player can switch to free camera mode (admins only) |
| player.sleep | - | Forces your player to sleep |
| commands.find "command" | String (e.g., "quit") | Searches for a command available to the player |
| chat.say "text" | String (e.g., "Hello World!") | Sends a message to all players on the server |
| inventory.give "itemID" "amount" | Integer (itemID), Integer (e.g., 5) | Gives you an item in your inventory |
| inventory.giveto "playername" "itemID" "amount" | String (e.g., "Jacob"), Integer (itemID), Integer (e.g., 5) | Gives the specified player an item in their inventory |
