Difference between revisions of "Console"
m (→Table: cleanup) |
m (cleanup) |
||
Line 1: | Line 1: | ||
[[Main Page]] :: [[Console]] | [[Main Page]] :: [[Console]] | ||
− | The console is a window for entering text commands to the client. It can be opened using {{key|F1}} in the default key bindings | + | The '''console''' is a window for entering text commands to the [[Wurm]] [[client]]. It can be opened using {{key|F1}} in the default key bindings ({{key|F9}} in the current unstable client). Console commands are different from [[chat commands]], which are typed in the chat and sent directly to the [[server]]. |
− | == | + | == Commands == |
− | + | Console commands are small commands to use in the console to change settings. These commands can also be used in [[Client Key Bindings|autorun.txt for defining key bindings]]. | |
− | Console commands are small commands to use in the console | ||
; bind <key> <action> : Binds the key to the specified action. See the [[#Key binds|key section]] for <key> and <action> values. | ; bind <key> <action> : Binds the key to the specified action. See the [[#Key binds|key section]] for <key> and <action> values. | ||
; bind <key> "<text>" : Binds the key to a console command. Pressing the key will act as if you had typed the text into the console. | ; bind <key> "<text>" : Binds the key to a console command. Pressing the key will act as if you had typed the text into the console. | ||
− | ; cmd <num> : Raw fight commands | + | ; cmd <num> : Raw [[fight]] commands; use with care. |
− | ; dump (debug | skills) : Saves the specified data to a file in the player's dumps directory. | + | ; dump (debug | skills) : Saves the specified data to a file in the [[player]]'s dumps directory. |
; dump (binds | options) : Dumps the specified data to the console. | ; dump (binds | options) : Dumps the specified data to the console. | ||
; exec <filename> : Executes each line in the file as a console command. | ; exec <filename> : Executes each line in the file as a console command. | ||
Line 24: | Line 23: | ||
; setoption <option_name> <option_value> : Changes a game option without restarting. Not all options can be changed while playing. Look in gamesettings.txt for option names and value hints. | ; setoption <option_name> <option_value> : Changes a game option without restarting. Not all options can be changed while playing. Look in gamesettings.txt for option names and value hints. | ||
; showbml <filename> : Parses the file as [[BML]] and displays it | ; showbml <filename> : Parses the file as [[BML]] and displays it | ||
− | ; switchlight : | + | ; switchlight : Toggles between old and new light code |
− | ; toggle (console | fightspam | fps | gui | healthbar | improve | inventory | keyboard_hints | skills | spelleffects | stats | target | wikisearch* | compass* | toolbelt*) : Toggles the specified feature. Most control display of [[HUD]] components. | + | ; toggle (console | fightspam | fps | gui | [[healthbar]] | [[improve]] | [[inventory]] | keyboard_hints | [[skills]] | [[spelleffects]] | [[stats]] | [[target]] | wikisearch* | [[compass]]* | [[toolbelt]]*) : Toggles the specified feature. Most control display of [[HUD]] components. |
; wiki <title> : Opens a window with the specified wiki page. | ; wiki <title> : Opens a window with the specified wiki page. | ||
Line 31: | Line 30: | ||
== Key binds == | == Key binds == | ||
− | |||
The bind commands require special values as input. | The bind commands require special values as input. | ||
− | <key> is based on Java key constants. Letters and numbers represent themselves. For other keys, search [http://java.sun.com/j2se/1.5.0/docs/api/java/awt/event/KeyEvent.html the full KeyEvent list] if you can't guess the correct name. 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. | + | <key> is based on Java key constants. Letters and numbers represent themselves. For other keys, search [http://java.sun.com/j2se/1.5.0/docs/api/java/awt/event/KeyEvent.html the full KeyEvent list] if you can't guess the correct name. 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. |
<table width=100%> | <table width=100%> | ||
Line 71: | Line 69: | ||
TRACK | TRACK | ||
− | === | + | ===Date added=== |
− | |||
Pre November 2007: <tt>NEXT_TAB, TOGGLE_CHAT, AUTORUN, CENTER_VIEW, TURN_DOWN, TURN_UP, TURN_LEFT, TURN_RIGHT, MOVE_FORWARD, MOVE_BACK, MOVE_LEFT, MOVE_RIGHT, STRAFE</tt> | Pre November 2007: <tt>NEXT_TAB, TOGGLE_CHAT, AUTORUN, CENTER_VIEW, TURN_DOWN, TURN_UP, TURN_LEFT, TURN_RIGHT, MOVE_FORWARD, MOVE_BACK, MOVE_LEFT, MOVE_RIGHT, STRAFE</tt> | ||
Line 86: | Line 83: | ||
<td> | <td> | ||
===Table=== | ===Table=== | ||
− | ''(date-sorted by default but doesn't sort correctly | + | ''(date-sorted by default but doesn't manually sort correctly so reload page)'' |
{| cellpadding=2 cellspacing=4 class=sortable | {| cellpadding=2 cellspacing=4 class=sortable | ||
− | !Bind | + | !Bind !!Category !!Date added |
− | !Category | ||
− | !Date added | ||
|- | |- | ||
|<tt>NEXT_TAB</tt> || [[Interface]] || Pre-November 2007 | |<tt>NEXT_TAB</tt> || [[Interface]] || Pre-November 2007 | ||
Line 96: | Line 91: | ||
|<tt>TOGGLE_CHAT</tt> || [[Interface]] || Pre-November 2007 | |<tt>TOGGLE_CHAT</tt> || [[Interface]] || Pre-November 2007 | ||
|- | |- | ||
− | |<tt>AUTORUN</tt> || Player | + | |<tt>AUTORUN</tt> || [[Player]] movement || Pre-November 2007 |
|- | |- | ||
|<tt>CENTER_VIEW</tt> || Camera || Pre-November 2007 | |<tt>CENTER_VIEW</tt> || Camera || Pre-November 2007 | ||
Line 104: | Line 99: | ||
|<tt>TURN_UP</tt> || Camera || Pre-November 2007 | |<tt>TURN_UP</tt> || Camera || Pre-November 2007 | ||
|- | |- | ||
− | |<tt>TURN_LEFT</tt> || Player | + | |<tt>TURN_LEFT</tt> || [[Player]] movement || Pre-November 2007 |
|- | |- | ||
− | |<tt>TURN_RIGHT</tt> || Player | + | |<tt>TURN_RIGHT</tt> || [[Player]] movement || Pre-November 2007 |
|- | |- | ||
− | |<tt>MOVE_FORWARD</tt> || Player | + | |<tt>MOVE_FORWARD</tt> || [[Player]] movement || Pre-November 2007 |
|- | |- | ||
− | |<tt>MOVE_BACK</tt> || Player | + | |<tt>MOVE_BACK</tt> || [[Player]] movement || Pre-November 2007 |
|- | |- | ||
− | |<tt>MOVE_LEFT</tt> || Player | + | |<tt>MOVE_LEFT</tt> || [[Player]] movement || Pre-November 2007 |
|- | |- | ||
− | |<tt>MOVE_RIGHT</tt> || Player | + | |<tt>MOVE_RIGHT</tt> || [[Player]] movement || Pre-November 2007 |
|- | |- | ||
− | |<tt>STRAFE</tt> || Player | + | |<tt>STRAFE</tt> || [[Player]] movement || Pre-November 2007 |
|- | |- | ||
|<tt>[[fight|FIGHT_DEFENSIVE]]</tt> || [[Fighting]] || November 2007 | |<tt>[[fight|FIGHT_DEFENSIVE]]</tt> || [[Fighting]] || November 2007 | ||
Line 124: | Line 119: | ||
|<tt>[[fight|FIGHT_AGGRESSIVELY]]</tt> || [[Fighting]] || November 2007 | |<tt>[[fight|FIGHT_AGGRESSIVELY]]</tt> || [[Fighting]] || November 2007 | ||
|- | |- | ||
− | |<tt>[[climb|TOGGLE_CLIMB]]</tt> || Player | + | |<tt>[[climb|TOGGLE_CLIMB]]</tt> || [[Player]] movement || November 2007 |
|- | |- | ||
|<tt>[[faith|TOGGLE_FAITHFUL]]</tt> || [[Religion]] || November 2007 | |<tt>[[faith|TOGGLE_FAITHFUL]]</tt> || [[Religion]] || November 2007 | ||
Line 130: | Line 125: | ||
|<tt>[[lawful|TOGGLE_LAWFUL]]</tt> || Morality || November 2007 | |<tt>[[lawful|TOGGLE_LAWFUL]]</tt> || Morality || November 2007 | ||
|- | |- | ||
− | |<tt>[[Toolbelt|ACTIVATE_TOOL1]]</tt> || [[Item]] | + | |<tt>[[Toolbelt|ACTIVATE_TOOL1]]</tt> || [[Item]] movement/manipulation || November 2007 |
|- | |- | ||
− | |<tt>[[Toolbelt|ACTIVATE_TOOL2]]</tt> || [[Item]] | + | |<tt>[[Toolbelt|ACTIVATE_TOOL2]]</tt> || [[Item]] movement/manipulation || November 2007 |
|- | |- | ||
− | |<tt>[[Toolbelt|ACTIVATE_TOOL3]]</tt> || [[Item]] | + | |<tt>[[Toolbelt|ACTIVATE_TOOL3]]</tt> || [[Item]] movement/manipulation || November 2007 |
|- | |- | ||
− | |<tt>[[Toolbelt|ACTIVATE_TOOL4]]</tt> || [[Item]] | + | |<tt>[[Toolbelt|ACTIVATE_TOOL4]]</tt> || [[Item]] movement/manipulation || November 2007 |
|- | |- | ||
− | |<tt>[[Toolbelt|ACTIVATE_TOOL5]]</tt> || [[Item]] | + | |<tt>[[Toolbelt|ACTIVATE_TOOL5]]</tt> || [[Item]] movement/manipulation || November 2007 |
|- | |- | ||
|<tt>[[Spam mode|TOGGLE_FIGHT_SPAM]]</tt> || [[Fighting]] || March 2008 | |<tt>[[Spam mode|TOGGLE_FIGHT_SPAM]]</tt> || [[Fighting]] || March 2008 | ||
Line 154: | Line 149: | ||
|<tt>PREVIOUS_WINDOW</tt> || [[Interface]] || March 2008 | |<tt>PREVIOUS_WINDOW</tt> || [[Interface]] || March 2008 | ||
|- | |- | ||
− | |<tt>[[Examine|EXAMINE]]</tt> || [[Item]] | + | |<tt>[[Examine|EXAMINE]]</tt> || [[Item]] movement/manipulation || March 2008 |
|- | |- | ||
− | |<tt>[[take|TAKE]]</tt> || [[Item]] | + | |<tt>[[take|TAKE]]</tt> || [[Item]] movement/manipulation || March 2008 |
|- | |- | ||
− | |<tt>[[drop|DROP]]</tt> || [[Item]] | + | |<tt>[[drop|DROP]]</tt> || [[Item]] movement/manipulation || March 2008 |
|- | |- | ||
− | |<tt>[[drag|DRAG]]</tt> || [[Item]] | + | |<tt>[[drag|DRAG]]</tt> || [[Item]] movement/manipulation || August 2009 |
|- | |- | ||
− | |<tt>[[drag|STOP_DRAGGING]]</tt> || [[Item]] | + | |<tt>[[drag|STOP_DRAGGING]]</tt> || [[Item]] movement/manipulation || August 2009 |
|- | |- | ||
− | |<tt>[[push|PUSH]]</tt> || [[Item]] | + | |<tt>[[push|PUSH]]</tt> || [[Item]] movement/manipulation || August 2009 |
|- | |- | ||
− | |<tt>[[repair|REPAIR]]</tt> || [[Item]] | + | |<tt>[[repair|REPAIR]]</tt> || [[Item]] movement/manipulation || August 2009 |
|- | |- | ||
− | |<tt>TURN_CLOCKWISE</tt> || [[Item]] | + | |<tt>TURN_CLOCKWISE</tt> || [[Item]] movement/manipulation || August 2009 |
|- | |- | ||
− | |<tt>TURN_COUNTERCLOCKWISE</tt> || [[Item]] | + | |<tt>TURN_COUNTERCLOCKWISE</tt> || [[Item]] movement/manipulation || August 2009 |
|- | |- | ||
− | |<tt>[[pull|PULL]]</tt> || [[Item]] | + | |<tt>[[pull|PULL]]</tt> || [[Item]] movement/manipulation || August 2009 |
|- | |- | ||
− | |<tt>[[improve|IMPROVE]]</tt> || [[Item]] | + | |<tt>[[improve|IMPROVE]]</tt> || [[Item]] movement/manipulation || August 2009 |
|- | |- | ||
|<tt>[[dig|DIG]]</tt> || [[Digging]] || August 2009 | |<tt>[[dig|DIG]]</tt> || [[Digging]] || August 2009 | ||
Line 208: | Line 203: | ||
|<tt>[[chop|CHOP_UP]]</tt> || [[Woodcutting]] || August 2009 | |<tt>[[chop|CHOP_UP]]</tt> || [[Woodcutting]] || August 2009 | ||
|- | |- | ||
− | |<tt>[[activate|ACTIVATE]]</tt> || [[Item ]] | + | |<tt>[[activate|ACTIVATE]]</tt> || [[Item ]] manipulation || October 2009 |
|- | |- | ||
|<tt>[[tame|TAME]]</tt> || [[Animals]] || October 2009 | |<tt>[[tame|TAME]]</tt> || [[Animals]] || October 2009 |
Revision as of 22:49, 9 December 2009
The console is a window for entering text commands to the Wurm client. It can be opened using F1 in the default key bindings ( F9 in the current unstable client). Console commands are different from chat commands, which are typed in the chat and sent directly to the server.
Commands
Console commands are small commands to use in the console to change settings. These commands can also be used in autorun.txt for defining key bindings.
- bind <key> <action>
- Binds the key to the specified action. See the key section for <key> and <action> values.
- bind <key> "<text>"
- Binds the key to a console command. Pressing the key will act as if you had typed the text into the console.
- cmd <num>
- Raw fight commands; use with care.
- dump (debug | skills)
- Saves the specified data to a file in the player's dumps directory.
- dump (binds | options)
- Dumps the specified data to the console.
- exec <filename>
- Executes each line in the file as a console command.
- fightmove<1-5>
- Use fight special move 1-5. (No space in the command.)
- irc [server] [port]
- Connects to the specified IRC network. Defaults are irc.heavenlyplace.net and 6667.
- ircsay <text>
- Sends the text to the topmost IRC window.
- quit
- Opens the quit dialog
- reallyquit
- Quits the client without asking for confirmation
- refresh
- Reloads the game graphics
- say <text>
- Sends the specified text to the local chat window. (Access other chat windows using /tell, /shout, /village)
- screenshot
- Creates a screenshot (in the player's screenshot directory)
- sensitivity <0-10>
- Changes mouse sensitivity to the given value. Note that this only changes the senstivity when looking around.
- setoption <option_name> <option_value>
- Changes a game option without restarting. Not all options can be changed while playing. Look in gamesettings.txt for option names and value hints.
- showbml <filename>
- Parses the file as BML and displays it
- switchlight
- Toggles between old and new light code
- toggle (console | fightspam | fps | gui | healthbar | improve | inventory | keyboard_hints | skills | spelleffects | stats | target | wikisearch* | compass* | toolbelt*)
- Toggles the specified feature. Most control display of HUD components.
- wiki <title>
- Opens a window with the specified wiki page.
Legend: <name> is a mandatory argument, [name] is an optional argument, (name|other) is an argument which requires one of the listed values.
Key binds
The bind commands require special values as input.
<key> is based on Java key constants. Letters and numbers represent themselves. For other keys, search the full KeyEvent list if you can't guess the correct name. Meta keys can also be specified, e.g. shift-tab or ctrl-alt-w. 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.
Category(incomplete and needs cleaning up) * UI CONTROL: NEXT_TAB, TOGGLE_CHAT, PREVIOUS_TAB, NEXT_WINDOW, PREVIOUS_WINDOW * Movement/Control: AUTORUN, CENTER_VIEW, TURN_DOWN, TURN_UP, TURN_LEFT, TURN_RIGHT, MOVE_FORWARD, MOVE_BACK, MOVE_LEFT, MOVE_RIGHT, STRAFE, GLANCE_LEFT, GLANCE_RIGHT * FIGHTING/COMBAT: FIGHT_DEFENSIVE, FIGHT_NORMAL, FIGHT_AGGRESSIVELY, TOGGLE_FIGHT_SPAM, NO_TARGET, TARGET * STATUS TOGGLES: TOGGLE_CLIMB, TOGGLE_FAITHFUL, TOGGLE_LAWFUL * ITEM MOVEMENT/MANIPULATION: DRAG, STOP_DRAGGING, PUSH, PULL, TURN_CLOCKWISE, TURN_COUNTERCLOCKWISE, ACTIVATE_TOOL1, ACTIVATE_TOOL2, ACTIVATE_TOOL3, ACTIVATE_TOOL4, ACTIVATE_TOOL5, TAKE, DROP, EXAMINE * MINING/DIGGING: DIG, FLATTEN, PACK, MINE_FORWARD, MINE_UP, MINE_DOWN, MINE_SURFACE, MINE_TUNNEL, PROSPECT, DREDGE * NATURE/FARMING/GROOMING: FORAGE, BOTANIZE, PICK_FLOWERS, PRUNE, CULTIVATE, PICK_SPROUT, FARM, HARVEST, BREED, GROOM, TAME, LEAD, STOP_LEADING, FEED * RELIGION: ABSORB * ITEM CREATION/MISC ITEMS: IMPROVE, REPAIR, CUT_DOWN, CHOP_UP * MISC SKILLS: TRACK Date addedPre November 2007: NEXT_TAB, TOGGLE_CHAT, AUTORUN, CENTER_VIEW, TURN_DOWN, TURN_UP, TURN_LEFT, TURN_RIGHT, MOVE_FORWARD, MOVE_BACK, MOVE_LEFT, MOVE_RIGHT, STRAFE In November 2007, more "keys" were added: FIGHT_DEFENSIVE, FIGHT_NORMAL, FIGHT_AGGRESSIVELY, TOGGLE_CLIMB, TOGGLE_FAITHFUL, TOGGLE_LAWFUL, ACTIVATE_TOOL1, ACTIVATE_TOOL2, ACTIVATE_TOOL3, ACTIVATE_TOOL4, ACTIVATE_TOOL5 (there was no key option for spam mode) In March 2008, more "keys" were added: TOGGLE_FIGHT_SPAM, GLANCE_LEFT, GLANCE_RIGHT, NO_TARGET, PREVIOUS_TAB, NEXT_WINDOW, PREVIOUS_WINDOW, EXAMINE, TAKE, DROP In August 2009 (client version 2.6.8-1658 [unstable]), more "keys" were added to the unstable client: DRAG, STOP_DRAGGING, PUSH, REPAIR, TURN_CLOCKWISE, TURN_COUNTERCLOCKWISE, PULL, IMPROVE, DIG, FLATTEN, PACK, HARVEST, FARM, CULTIVATE, MINE_FORWARD, MINE_UP, MINE_DOWN, MINE_SURFACE, MINE_TUNNEL, PROSPECT, PICK_SPROUT, PRUNE, CUT_DOWN, CHOP_UP In October 2009 (2.6.8-1735 [testing]): ACTIVATE, TAME, LEAD, STOP_LEADING, TRACK, FEED, TARGET, ABSORB, BREED, GROOM, DREDGE, FORAGE, BOTANIZE, PICK_FLOWERS |
Table(date-sorted by default but doesn't manually sort correctly so reload page)
|