Jump to Main Content

Appendix A - Player Commands

For a full list of available commands, visit the Run Time Commands as well.

Client Side Commands:

bind
bind a command to key

Syntax:
bind [-nfreg] <command>
Flags (default -nrf):
n - used in normal-mode
f - used in fire-mode
r - used in run-mode
e - leave command in line edit
g - global key (not recommended)

Multiple commands can be bound to the same key be seperating them with semicolons.

Special bind's:
bind commandkey - sets commandkey
bind firekey1 - sets first firekey
bind firekey2 - sets second firekey
bind runkey1 - sets first runkey
bind runkey2 - sets second runkey

Examples:
bind -f cast paralyzed (F3)
will typically mean that Shift-F3 is used to select that spell (Shift being the fire key)

bind use_skill sense curse; use_skill sense magic (S)
will bind those two commands to the S key.

unbind
unbind a command, show bindings

Syntax:
unbind [-g] [#]
unbind reset
Without -g command uses user's binding,
with -g global binding.
Without number it displays current bindings, with # it unbinds it.
'reset' resets default bindings

cwindow <val>
set size of command window (if val is exceeded client won't send new commands to server)

foodbeep
toggle audible low on food warning

disconnect
close connection to server

magicmap
show last received magicmap

metaserver
Get updated list of metaservers and show it. Warning: This may freeze the client until it gets the update.

showicon
draw status icons in inventory window

showweight
show weight in inventory look windows

scroll
toggle scroll/wrap mode in info window

savewinpos
save window positions - split windows mode only

savedefaults
save various defaults into ~/.crossfire/defaults

show
determine what type of items to show in inventory

autorepeat
toggle autorepeat

Keyboard commands:

apply
Applies an object.

If no options are given, it applies an object you are standing on.

If an object name is given, it will apply/unapply that object (toggle)

Extra options to apply:
-a: Always applies the object
-u: Always unapplies the object.

These two options disable the toggling feature.

archs
Unknown..

brace
Toggles brace status. While braced you will not move.

cast
You use the cast command to set your range-weapon to the spell you want. See also prepare

Example: 'cast burning hands
sets your RANGE weapon to 'spell: burning hands'

It is helpful to bind strings like 'cast burning hands' to keys. see 'help bind'

'help range for more information on range weapons.

disarm
Readies and applies the skill disarm traps, also executes a single disarming action in 10 directions. Often used with the command search. See also search.

dm
Player becomes the dm, if able.

drop

dropall
Drops all but locked objects in inventory.

east
Executes a single step east

examine
Examines object and displays details.

Syntax:
defaults to object or floor you are currently standing on.
Add <string> will examine <string>. Example: 'examine longsword

get
Picks up top object in look (You see:) window

gsay <string>
Sends a message only to members of your party.

Example: 'gsay I need help
will send the message "I need help" to all party members only.

help <subject>
Help on subject, defaults to shows list of available help.

Syntax:
'help topics (list of help topics)
'help commands (list of valid commands)
'help <command> (help on a topic or command)

hiscore
Show list of highest player scores.

inventory
Displays all items (name and weight) you are currently carrying and your total weight.

invoke
The invoke command is used to cast a spell immediately, or when it is necessary to give a parameter to the spell. Invoke will not set the range weapon.

Examples:
'invoke restoration
'invoke magic rune of large fireball
'invoke reincarnation of Iamdead
'invoke create food of waybread

It is very helpful to bind healing spells to keys like this:

'bind invoke medium healing
c

the c key now casts medium healing instantly

killpets
Kills your summoned pet monster(s) immediately, leaving behind any items the pet may have picked up.

listen
Changes the level of your hearing.

logs
Displays total number of monster kills for a party.

malloc
Shows which stuff is taking up how much memory.

mapinfo
Displays information (directory, creator's name, email address, creation date. If there's been any updates, if so, by who and when) on current map.

maps
Show status of all active maps.

motd
Shows message of the day again.

north
Executes a single step north.

northeast
Executes a single step northeast.

northwest
Executes a single step northwest.

output-count
As of version 0.91.7, new output handling was added. The behaviour is controlled with the output-sync and output-count commands.

output-count sets after how many messages of the same type, they are then printed out. If the value was 10, then after killing ten orcs, the message '10 times you kill orc' would be printed out. The default value is 1 - this means that all messages get printed out as they are requested - buffering is disabled in this regard. See also output-sync

output-sync
As of version 0.91.7, new output handling was added. The behaviour is controlled with the output-sync and output-count commands.

output-sync controls how often information is sent to the screen. Each buffer has its own time value, and will be flushed independantly. The default value is 16 ticks (about 2 seconds). See also output-count

party <command>
Set of commands used with simple party system.


party join partyname
Puts you in a party, prompts you for a passwd if there is
one

party form partyname
Forms a party and puts you as leader, 32 character max.
At the moment, being party leader does nothing. May be used in the future.

party list
Lists currently formed parties and their 'leader'

party passwd <password>
Changes the passwd for the party you are in, 8 character max.

party who
lists the members of the party you are in

party say <msg>
sends messsage to party members

party leave
takes you out of current party

peaceful
Toggles peaceful status (You will attack other players vs.
You will not attack other players)

pickup
Changes how you pick up items when you step on them.
To pickup an item manually, use the ',' key.

Mode 0: Don't pick up items.
Mode 1: Pick up one item
Mode 2: Pickup up one item and stop
Mode 3: Stop before picking up items
Mode 4: Pick up all items
Mode 5: Pick up all items and stop
Mode 6: Pick up all magical items
Mode 7: Pick up all coins and gems

Modes above 7: Pickup items with
a value density greater than the pickup mode.

Value density is value in gold/weight in kilograms.

The value in gold is what the item is worth if you
sold it in the shop.

Goldcoins have a value density of 66,

Density 10 will pickup silver, gold, rings, wands, books, and scrolls. Artifacts are also picked up.

prepare
Alias for the cast command.

quit
Exit the game and delete your character.

If you want to quit without deleting your character, you must
use a 'Bed to Reality'. Find a bed (probably in a building close
to where you entered the game), get on top of it, and Apply it using shift-A (capital A).

ready_skill <skill>
Prepares a skill for use.

reply <msg>
Replies to the last person who told you something.

resistances
Lists your resistance values for the different attack_types (magic, fire, electricity, etc.)

rotateshoottype
Rotate the range slot by 1.

rotatespells
Rotate through all known spells alphabetically.

save
Updates players status to disk. This can be useful for making
backup copies if you fear the server is about to crash.

WARNING--if you want to leave the game without destroying your player, you must find a 'Bed to Reality' and hit A on the bed to apply it. Doing 'save and then quitting will still delete your character.

savewinpos
Saves your current window layout.

say <msg>
Say something to all players on your map.

search
Readies and applies the skill search, also executes a single search action in 10 directions. Often used with the command disarm. See also disarm.

search-items <command>
Does an automatic search and sort for items of a set.

Example: search magic+1
Would automatically pick up all items containing the word 'magic+1'.

shout <msg>
Sends a message to all players logged in the game, regardless of the map.

show
Toggles through the options of the display status of the client inventory screen. (equipped, unequipped, locked, etc.)

skills
Show all available skills, experience categories and level.

south
Executes a single step south

southeast
Executes a single step southeast

southwest
Executes a single step southwest

sstable
Does something???

statistics
Shows various useful information about your character. None of the information it shows is stuff that is not contained in the documentation.

As of now, it shows how much experience you need for your next level. It also shows natural, real, and maximum statistic values.

Your natural stat is the stat without any items/spells applied.

Real is what the current value is (same as in the stat window.)

Maximum is the maximum value for your natural stat.

stay
Does something??

strings
Shows the status of shared string parameters.

take
The take commands take object(s) on the space the player is standing on, and inserts them into the players inventory.

If no parameter is given, take will get the top object that can be taken and put it in the players inventory. If no object can be taken, that will be stated.

A parameter can be given to take. In this case, all object that have names that match the parameter will be picked up. Thus, if there is a 'sword of WOE', and 'sword +1' and a 'sword -3' on the ground, 'take sword' will pick all of them up.

By default, take is bound to the comma key, with no parameters. To change this, look at the bind command.

tell <who> <msg>
Tell character who (only) the msg.

throw
Readies the skill throw

time
Displays the in-game time (minute, hour, day, week, month, year and season)

title <string>
Changes your title to string. This is a server setting, and does not work for the dragon race.

unbind
A set of commands to reverse key bindings.

Syntax:
unbind [-g] [#]
unbind reset
Without -g command uses user's bindind, with -g global binding.
Without number it displays current bindings, with # it unbinds it.
'reset' resets default bindings.

use_skill <string>
Readies, then uses skill string

usekeys <value>
The usekeys option determines the behaviour of using keys.

Values are:

inventory: Only keys in the top level inventory are used (default)

keyrings: Only keys in active keyrings are used.

containers: Only keys in active containers are used.

Note that keyrings are just a specialized container, so the containers will also find keys in keyrings.

Only active containers are used - keys will not jump out of closed containers, but hints will be given if you have keys in such containers.

version
Print out of current version and all the contributers (developers and artists) of Crossfire.

west
Executes a single step west.

who
Shows what players are currently logged on, and their in-game location.

wimpy <percent>
Auto-matically run away when hp < wimpy% * Max hp.

book Back to table of contents
stairup Go to chapter 7
stairdown Go to Appendix B