Changes

Jump to navigation Jump to search

Key bindings

21 bytes removed, 07:57, 17 March 2011
→‎Key binds: console commands have to be in quotes always
bind <key> <action>
bind <key> "<[[Console#Commands|console command]]>"
'''<key>''' is based on Java key constants. Letters and numbers represent themselves. For other keys, if you can't guess the correct name search [http://java.sun.com/j2se/1.5.0/docs/api/java/awt/event/KeyEvent.html the full KeyEvent list]. Meta keys can also be specified, e.g. <tt>shift-tab</tt> or <tt>ctrl-alt-w</tt>. Available meta keys are Ctrl, Shift, and Alt. The "Alt Gr" key is treated as Alt (if your keyboard has one). The non-meta key must always be the last key in the combination. It is not possible to bind only meta keys.
bind M MINE_FORWARD
'''<console command>''' can be any console command. If the command contains spaces the The console command has to be in quotes.
bind F2 "toggle inventory"
editor
1,247

edits

Navigation menu