Skip to content

Rust: Admin Commands

Discover essential Rust commands for server management and player control to optimize gameplay and administration → Learn more now

10 November 20263 min read0 Views0 helpful

Introduction

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.

Info

Some commands require a player's Steam64 ID. Use the brief guide below to learn how to find a player's Steam ID.

Command Categories

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.

Info

All commands listed here apply to Vanilla Rust.

Command SyntaxAccepted ValuesDescription
server.globalchattrue/falseWhen 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.securetrue/falseWhen 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.stabilitytrue/falseWhen 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.serverlogtrue/falseWhen 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.timeInteger (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 SyntaxAccepted ValuesDescription
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"IntegerBans 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"IntegerLifts 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"IntegerRemoves 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"IntegerRemoves moderator rights from a player by the specified Steam64 ID
global.listid-Returns a list of players banned via Steam64 ID
Command SyntaxAccepted ValuesDescription
kill-Kills your own player
global.quit-Saves and exits the game
global.godtrue/falseToggles god mode on/off so the player takes no damage (admins only)
global.nocliptrue/falseToggles noclip mode on/off so the player can fly freely (admins only)
global.debugcameratrue/falseToggles 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

FAQ

Frequently asked questions

Use a tool like the Steam ID Finder (steamidfinder.com) – enter your Steam URL, click “Find Steam ID,” and copy the Steam64ID (Dec).
Use the command server.saveinterval "value" (integer, default 60 seconds).
Use global.ban "playername" "reason" by player name, or global.banid "steam64" by Steam64 ID.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 Users found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP support team knows your product — briefly describe your issue and we'll help you personally.