Sick Gaming
Useful Rust Console Commands for the Average Player and Admins - Printable Version

+- Sick Gaming (https://www.sickgaming.net)
+-- Forum: Our Game Servers (https://www.sickgaming.net/forum-58.html)
+--- Forum: Rust (https://www.sickgaming.net/forum-91.html)
+--- Thread: Useful Rust Console Commands for the Average Player and Admins (/thread-85524.html)



Useful Rust Console Commands for the Average Player and Admins - xSicKx - 07-05-2018

Useful Rust Console Commands for the Average Player and Admin

[Image: ?format=750w]

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.



perf

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.

[Image: 20161201024949_1.jpg?format=500w]

Perf 2 readout in the bottom left of the players screen.



fps.limit -1

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.


[Image: 2016-01-28-015116.normal.nohud.png?format=500w]

censornudity true - the default

censornudity true/false

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.



kill

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.


Binding keys

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.



client.connect ip:port

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'.


server.seed

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".



streamermode 0/1

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.

[Image: streamermode?format=1000w]


Admin commands

moderatorid STEAMID
This command is used to give someone access to the admin commands. 
[Image: 2016-01-28-030547.normal.png?format=500w]
kick NAME
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.
ban
This will execute a kick ban. It will then be broadcast to the entire server. 
banid STEAMID
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.
server.writecfg
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.
status
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!
[Image: 2016-01-28-025740.normal.png?format=750w]
say "I am server console"
This allows you to speak as SERVER. Note, you need the quotes in to say multiple words.
server.globalchat 0
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
teleport "playername"
Rust now has teleport! Just type a partial name or full name. 
teleportany [entity]
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.
noclip
Toggles noclip on and off. It's a good idea to bind this to a key (bind L noclip)
debugcamera
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)
weather.fog
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%.
weather.rain
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%.

Spreadsheets
Admin commands cheat sheet - Designed for quick and easy reference of commonly used admin tools.
Comprehensive cvar's list - A full list of commands and server settings.