Jump to content

Recommended Posts

  • Staff
Posted

How to keybind functions in Rust

  1. Press F1 to open game console
  2. Ensure console tab is selected at the upper-left hand corner.
  3. Use the following structure and change accordingly to your needs:
    bind <key> <function> <value>
    bind k chat.say test

    Do note that not all binds require values unless the function requires it:

    bind c duck


How to bind multiple functions to a single key

  1. Using the method above, simply add a semi-colon at the end of each string:
    bind z attack;duck
    The above bind will execute both attack and duck at the same time when the key is pressed. This bind, in particular, is used to auto harvest nodes.

How to bind multiple binds at once

It's a good practice to always save your binds in the event they're reset by an update. This method allows you to bind all of your commands at once without having to do them one-by-one.

  1. Using the same method as above, simply add a semi-colon after every string:
    bind c duck;bind z attack;bind r reload;bind p run;bind z attack;duck

    There is no limit to how many binds you can execute at once just be sure to be careful with binds that require multiple values.

Useful Binds

bind q forward;sprint
bind z attack;duck
bind z +attack;+duck
bind c duck


Default Binds

bind f1 consoletoggle
bind w +forward
bind s +backward
bind a +left
bind d +right
bind mouse0 +attack
bind mouse1 +attack2
bind mouse2 +attack3
bind 1 +slot1
bind 2 +slot2
bind 3 +slot3
bind 4 +slot4
bind 5 +slot5
bind 6 +slot6
bind 7 +slot7
bind 8 +slot8
bind leftshift +sprint
bind rightshift +sprint
bind leftalt +altlook
bind r +reload
bind space +jump
bind leftcontrol +duck
bind e +use
bind v +voice
bind g +map
bind t chat.open
bind return chat.open
bind mousewheeldown +invnext
bind mousewheelup +invprev
bind tab inventory.toggle
bind q inventory.togglecrafting
bind f lighttoggle
bind n inventory.examineheld
bind x swapseats
bind c +compass

 

  • Like 11
  • Love 4
  • Death featured this topic
  • 1 month later...
  • 5 months later...
  • 4 months later...
  • 1 month later...
  • Death unfeatured and pinned this topic
  • 7 months later...
Posted

I didn’t see any mention of this and wanted to share since it’s not something found on many Rust keybind guides.

Crafting Keybinds

Go to F1 console and type the following

bind key craft.add itemID quantity

ItemID’s can be found at the link below. If the ItemID has a ‘-‘ at the front, be sure to include that. This is really helpful when crafting large amounts of anything, or for crafting certain items while on the run. I typically make binds for gunpowder, bullets, and bandages. Keep in mind that if an item has a crafting multiplier(x2 for bullets, x10 for gunpowder, etc), that holds with keybinds. So if you want to make a keybind for crafting 1,000 gunpowder, it would read as follows:

 

bind 0 craft.add -265876753 100
 

https://www.corrosionhour.com/rust-item-list/

 

  • Like 1
  • Love 1
  • 2 months later...
Posted

Here are a few useful commands and keybinds for the RustEZ servers. Some functions are available only on the modded servers.

VIP Recycler
To use your VIP recycler type /rec in chat
To bind the recycler press F1 and type bind <key> chat.say /rec

Backpack
To use your backpack type /backpack in chat
To bind the backpack press F1 and type bind <key> backpack

If you want to use the same key for backpack, regardless of the server you play on (i.e. outside of RustEZ) bind "backpack" and "backpack.open" to the same key, like this:  bind <key> "backpack;backpack.open"

Black market
To use the black market type /shop in chat
To bind black market commands, in F1 type:
- Buy:  bind <key> blackmarket 0
- Sell:  bind <key> blackmarket 1
Note: An argument is not required and will default to 0, or Buy tab, if left empty.

Teleport to a Player
To teleport to a player type /tp Playername in chat
To bind teleport to a player (that you TP to frequently) press F1 and type bind <key> chat.say "/tp Playername"

Claim VIP Drop
To claim your VIP drop type /vip in chat
To bind your VIP drop press F1 and type bind <key> chat.say /vip

Teleport Home
To teleport to a home type /home in chat.
To bind Home press F1 and type bind <key> chat.say /home

Skin Shop
To open the Skin Shop type /skin in chat.
To bind the Skin Shop press F1 and type bind <key> chat.say /skin

  • Like 1
  • Love 5
Posted

A few things to add...

Before binding a key, I HIGHLY recommend you check first to see if it is already bound to something else for use in Rust! Do this by just typing bind <key> in the F1 console. If it isn't bound and is free for use, it will usually say (nothing) in response.

To unbind a key, type bind <key> ""

That is, two quotation marks with nothing in between!

---------------------

Here is a great resource that shows you the key dictionary, as in what to type in the F1 console in order to be able to bind to a special symbol or number on your keyboard or mouse.

https://wiki.facepunch.com/rust/Keybinds#keydictionary

Example: bind backslash chat.say "Hello everyone!" 

Every time you bind the \ key on your keyboard, it will now type Hello everyone! into global chat.

Hope this addendum helps!

  • Love 2
  • 2 years later...
Posted

i tried to "bind b backpack" and it threw my backpack on the ground after pressing B. Now I can't pick the backpack up, is there something I did wrong?

  • Staff
Posted
3 hours ago, Major Foe said:

i tried to "bind b backpack" and it threw my backpack on the ground after pressing B. Now I can't pick the backpack up, is there something I did wrong?

use bind b backpack.open 

you will first need to unbind the one you have set by using bind b ''''

 

  • Love 1
  • 2 months later...
Posted
On 3/6/2018 at 2:03 PM, Maxx_Forte said:

Is there an available <function> one can use to create a key bind for the pocket recycler? 

did anyone ever put the bind for this? My reccler bind dropped off for some reason.

Posted
On 7/1/2024 at 10:10 PM, Sweet Tooth said:

use bind b backpack.open 

you will first need to unbind the one you have set by using bind b ''''

 

I did that, then rebinded the B button and it just throws the backpack off. Actually lost my backpack because I didnt notice B would do that and inadvertenly pressed B at some point. Lost a bunch of scrap.  Used to just hit b and the back pack would open. THis change was not a good one!

  • Staff
Posted
11 hours ago, G-Lover said:

did anyone ever put the bind for this? My reccler bind dropped off for some reason.

bind "key" chat.say /rec

  • Staff
Posted
11 hours ago, G-Lover said:

I did that, then rebinded the B button and it just throws the backpack off. Actually lost my backpack because I didnt notice B would do that and inadvertenly pressed B at some point. Lost a bunch of scrap.  Used to just hit b and the back pack would open. THis change was not a good one!

you first need to do the bind B """ make sure to include the """ to clear the original bind before making the new one

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.