Useful Rust console commands
For the first few months of Rust's "experimental" development, most player variables such as the nudity censor and mouse sensitivity were controlled only by console commands (aka "cvars"). Thankfully, most of these controls are now in the game menu for your tweaking pleasure. Simply hit the escape key and open the options tab!
While it's now easier to edit many things, console commands still come in handy. Below is a list of use Rust console commands for both players and admins.
Note: 1=true and 0=false. These may be used interchangeably when entering console commands that have an "on or off" state.
The long running replacement for fps.graph, perf is the Newman's go-to tool for figuring out how much abuse their PC is under. This tool has two (viable) options "perf 1" & "perf 2". Perf 1 will display FPS only while Perf 2 will show you FPS + RAM usage.
Sometimes you don’t need the most frames per second that your computer can put out. Although it’s probably very rare that anyone would need this in Rust at the moment, its good to know it’s there for the future. -1 is the default value and that puts no limit on FPS but you can set it as high or low as desired.
The censor can easily be turned on and off through the options menu these days. That being said, there is just no substitute for telling a friend to type "censornudity false" into console and hearing their screams of horror as their screen is filled with literal dicks.
Rust is a harsh game to say the least. Sometimes your best course of action is to just to say screw it and start fresh. Typing "kill" in console will get this done instantly. There is a 60 second cooldown when using this command.
A very useful function that serves the purpose of binding various actions such as attack, crouch and the standard movement actions into one keybind. This can be particularly useful with reducing the grindy feeling that Rust conveys on occasion. Some useful binds are as follows:
bind m attack;duck - Dubbed the AutoMine bind, it automatically uses the attack action in conjunction with crouch - giving you more time to look around your surroundings more efficiently and ultimately allowing you to survive longer.
bind q forward;sprint - Simply this is an auto running bind which concurrently presses w and shift without you pressing the buttons themselves thus giving you opportunity to concentrate on your surroundings or finishing off your sunday roast (yum).
I recommend you take a look here. This will give you insight into the potential of ultimately making Rust easier in all areas such as attacking, time efficiency and generally allowing you and I to be lazier.
Not seeing the server you want to play on master server list? No worries, this handy command will set you straight (that is, if the server is up and on a compatible version to your client). Note you can also run client.disconnect if you like, which is the same thing has hitting escape and 'disconnect'.
This command will output the map seed of the server you're currently on. The procedural mapping system uses this number to generate the map. With the latest changes you can also get this information from the F1 menu under "system information".
This nifty switch allows you to enter streamer mode. While this is active, most identifying names (you, server, and players) will be changed to something random or be hidden entirely. It's not fool proof, but it should help deter the average stream sniper.
This command is used to give someone access to the admin commands.
This will kick someone from the server. You don't need the full name, unique partials will work. This also broadcasts a KICKED message to the server.
This will execute a kick ban. It will then be broadcast to the entire server.
This command will ban a user given their SteamID. This is the only kick/ban command that does not broadcast to the rest of the server.
This is a helpful command to force the server to write all bans / moderator id's which have been set to config files (located in the /server/*identity*/cfg folder. The config files do write upon shutdown, however if the server crashes... that will be lost. Therefore, it is smart to run this command after every ban to make sure it sticks.
This will cause the console to print out a partial list of connected clients along with their ping, ip and steamid.
inventory.give ITEM AMOUNT (example: inventory.give wood 1000)
This command allows you to give items to yourself. However with the items menu now being available from the F1 interface, this command is really only useful for spawning massive amounts of resources. The item name needs to be in the short name form or item ID. Oxide has a great list which is updated regularly, check it out here!
say "I am server console"
This allows you to speak as SERVER. Note, you need the quotes in to say multiple words.
This will make text chat local (meaning only people close to each other can see each others chat messages). This is currently set to 1 by default.
env.time 0 - 24
Change the time on the server. 6 = Dawn / 12 = Noon / 18 = Dusk etc
Rust now has teleport! Just type a partial name or full name.
This is a weird one... it allows you to teleport to any entity type of your choosing. For instance, to go to the nearest horse, type: teleportany horse.
Toggles noclip on and off. It's a good idea to bind this to a key (bind L noclip)
Breaks the camera away from your character or the player you're spectating and allows you to look around without players seeing you. Hold shift to speed up or spacebar to slow down. This is also a great one to have binded, we suggest using the P key (bind P debugcamera)
Changes fog chance to the value you set. Particularly useful in situations when big giants are fighting or to improve picture quality for the aspiring content creators. Weather.fog 0.25 will set the chance to 25%.
Like the above this will change the chance of rain on your server which will likely improve FPS but discourage those who value ultimate stealth. Weather.rain 0.38 would set the chance to 38%.