Rust Guides

Rust admin command list

Navigation:

Rust offers quite a selection of admin commands. Hit Control+F on your keyboard to search through the lists.

To use these commands, you must have auth level 2, or admin authentication. We show you how to become admin within our Rust New Server Startup Guide - Becoming A Server Administrator.

Note - Sometimes inventory.give or inventory.giveto commands do not operate as they should. This is due to an Oxide Mod Permissions error. This can be fixed easily, with one line of code, by following our guide on the matter. Inventory.giveto Bug - a Simple Fix

If you are not a GameServerKings customer, we invite you to check out our industry low pricing! We do our best to offer a lag free, seamless hosting for all of our users. With several hundred satisfied Rust Hosting customers, we'd like to continue our growth and pass our savings along to you. To learn more, check out our Rust Server Hosting page for more information.

If you like the information in this guide, we recommend you give our Rust Knowledge Base a search. We offer articles which are always up to date, and for server owners, 24/7 customer support and troubleshooting help. Give us a read by clicking on this link. Rust Knowledge Base Articles Updated for 2018


Vanilla Rust Commands

These are commands which are vanilla rust commands, sorted by use case scenario.

Server Settings / Console editing

Commands

Default Values

Description

chat.serverlog true If True, chat will be logged to the console
echo "text"   Prints text to the server console
env.time   Sets the time to this value in hours
event.run   Sends an airdrop from a random direction
find <command or ".">   Searches for a command, using "." will list all commands.
say "Message"   Broadcasts a message to all players
server.globalchat true If true, chat messages will be broadcasted to all players
server.stop   Stops your server
server.save   Saves your server
server.saveinternal "value" 60 Defines the time cycle for your server to autosave in seconds.
server.secure true If True, EAC will kick banned or unregistered players before joining
server.seed "value" 123456 Sets the server's seed
server.stability true If true, Structure stability is enabled
server.tickrate <rate> 30 Sets the tick rate of your server
server.writecfg   Saves .cfg changes which have been implemented via commands
quit   saves everything and stops the server
init   Loads config files

 

Player Administration

Command

Default Values

Description

ban "player name" "reason"   Bans Player for specified reason
banid <steam64>   Bans Player via Steam 64 ID. We have a guide on finding a user's steam ID is located here.
banlist   Lists the banned user list within chat
banlistex   List of banned users with reasons and usernames
kick <steam64 or playername> reason   Kicks a user by inputting their steamID64 or their playername for an optional reason.
kickall   Kicks all users
listid <steam64>   Lists users who have been banned via Steam64 ID.
moderatorid <steam64 or playername>   Sets a player as a server mod, with auth level 1.
ownerid <steam64 or playername>   Sets player as a server admin with auth level 2.
removemoderator <steam64>   Removes authorization from a user who has level 1 auth
removeowner <steam64>   Removes ownership from a user who has level 2 auth
unban <steam64>   Unbans a user via their steam ID.

 

Player Controls

Command

Default Values

Description

chat.say  

Sends a message in chat through the F1 console

craft.add    
craft.cancel    
craft.canceltask    
find <command>  

Search for a command which is available to you

inventory.endloot    
inventory.give    
inventory.giveid    
inventory.givebp    
kill   Suicide
quit   Saves everything, closes the game
respawn   Forces yourself to respawn
respawn_sleepingbag   Forces yourself to respawn in your sleeping bag
sleep    
spectate    
wakeup    

 

Logs

Command

Default Values

Description

players   Shows connected Players
status   Shows connected Clients
users   Shows user info for connected players

 

Debugging/Development

Commands

Default Values

Description

colliders    
ddraw.arrow    
ddraw.line    
ddraw.sphere    
ddraw.text    
dev.culling    
dev.hidelayer    
dev.samling    
dev.showlayer    
dev.togglelayer    
entity.debug_toggle    
entity.nudge    
gc.collect   Recollects unused memory and unloads unused assets
objects    
perf   Prints out performance data
physics_iterations "number" 7 Sets the default solver iteration count permitted for rigid bodies.
physics_steps   Amount of physics steps per second
queue   Shows the stability and surroundings queue
report   Generates a report of all spawned entities in the server's root directory
textures   Lists the loaded textures

 

 

Oxide Specific Commands

Commands

Default Values

Description

oxide.load "file name"   Loads a plugin with name given (do not include file extension)
oxide.reload "file name"   Reloads a plugin via its file name (do not include file extension)
oxide.unload "file name"   Unloads a plugin via its file name (do not include file extension)
version   Displays the Oxide Version and the Rust Network Protocol version within the Console.

Special Offer for new customers only

We noticed you stumbled upon our Knowledge Base from a search engine.

The guide you're reading right now was created to help our customers of our Rust hosting service. We decided to share them for free!

If your current game server provider, is unable or unwilling to go the extra mile, switch to Gameserverkings.

We utilize the best hardware, the fastest connections and a very user friendly control panel.

Switching is easy! Sign up today, we'll transfer your files and handle everything else.

Click below, and receive a lifetime 5% discount on your service.