Commands with spaces

Press F1 to open your console



Decide what key you want to bind the command to



Type this command into the console bind <key> "chat.say "/command""



Example : bind g "chat.say "/home 1""



This will bind the "G" key to initiate the teleport to your home.



Here is the "tricky" part, to have this save for your next rust adventure, type writecfg into console then, navigate to your rust folder and find the key.cfg file ( Steam\steamapps\common\Rust\cfg ) and open the keys.cfg file. Now what you want to do is find the line that your bind is stored on, it should look a little different from the way you entered it (there will be an addiional \)



Example : bind g "chat.say \"/home 1"



you now want to remove the \ before the " at the start of your command. Save this file, then right click it and navigate to properites. Under the general tab, you will want to tick the box at the bottom that is: Read-Only. MAKE SURE YOU HAVE CLOSED RUST BEFORE YOU DO THIS



Once you have completed these steps you should be able to use the bind without it getting reset.

Additional Information :

Disclaimer

[nobull.net.au]

Executing commands with spaces is a little trickier, but if you are able to ♥♥♥♥-talk kids in rust, you should be able to do it.If you do not do the last 3 steps, the bind will still work but will get reset when you next launch your game.If you are kicked from your game after changing the keys.cfg file to read-only or are unable to re-join the server, this could be an issue caused by plugins on the server, or by doing certain actions in the menu. This issue is currently being worked on.Thanks to Brengun from the NoBull Australian modded server for help with this.