User Tools

Site Tools


zdaemon:ccmds

Table of Contents

ZDaemon Console Commands

You can execute CCMDs in the ZDaemon console, accessed by pressing the tilde (~) key by default. Most commands need only be entered as shown to take effect, while others have one or more parameters (either required or optional) that are typed after the command, separated by a space.

For server console commands you can enter the command directly in the ZServ console (and on the Wizard console you need to prefix with /)

In game you can send commands to the remote console (RCON) by putting “rcon” in front of the console command.

Index

Command Server/Client Introduced in
acl_add S 1.08.04
acl_clear S 1.08.04
acl_remove S 1.08.04
add_cvaroverride CS 1.??.??
addban S 1.??.??
addbot CS 1.??.??
addkeysection C 1.??.??
addmap S
addmenukey C
addmute S 1.10.14
addtempban S
alias CS
anubis C
archivecvar CS
atexit CS
banlist S
bind C
binddefaults C
botdebug CS
bumpgamma C
callvote C 1.08.06 / 1.08.08 / 1.10.02
centerview C
changemap C
chase C 0.96
chat_block C 1.05b05
chat_quickblock C
chat_reset C
chat_toggle C
chat_unblock C
chatlog C
clear C
clearmaplist S
clearmutes S 1.10.14
cmdlist CS
commentators_add S
commentators_clear S
commentators_remove S
con C
connect C
connectionlog S
countdecals C
ctflog S
cvarlist CS
cvarlistplain C
cycle_netstats C
debuglog S
defaultbind C
delmapbyidx S
delmapbyname S
demo_addmarker C 1.10.17
demo_clearmarkers C 1.10.17
demo_nextdemo C
demo_prevdemo C
demo_speeddown C 1.10.14
demo_speedreset C 1.10.14
demo_speedup C 1.10.14
demo_tonext C
demo_tonextmarker C 1.10.17
demo_toprevmarker C 1.10.17
demo_toprev C
demo_undomarker C 1.10.17
dir C
disconnect C
doublebind C
dumpclasses CS
dumpheap CS
dumpmapthings CS
dumpspawnables CS
echo CS
endgame C
error CS
eval CS
exec CS
exit CS
fly C
fov C
fraglog S
freeze C
gameversion CS
get CS
give C
god C
history C
idclev C
iddqd C
idmus C
invnext C
invprev C
invuse C
invuseall C
key CS
kick S
kill C
killban S
killlog S
killmotd C
killmute S 1.10.14
land C
list_cvaroverride S
listbots CS
listmaps CS 1.10.09
logfile CS
map CS
map_reset CS
maplist CS
mapskipby S
mapskipto S
mdk C
mem CS
menu_advsound C
menu_display C
menu_endgame C
menu_game C
menu_gameplay C
menu_help C
menu_keys C
menu_load C
menu_main C
menu_mididevice C
menu_options C
menu_player C
menu_quit C
menu_save C
menu_sound C
menu_video C
messagemode C
messagemode2 C
messagemode3 C
morphme C
motd C
mutelist S 1.10.14
netrecord C
no C
noclip C
notarget C
pause C
pings S
playdemo C
playerinfo CS
players CS
playersounds CS
playsound C
powerup C
print CS
puke CS
pukename CS
pullin CS
quickload C
quicksave C
quit CS
rcon C
rcon_password C
rdstats C
rebind C
reconnect C
refreshbans S
remove_cvaroverride S
removebots CS
resetscores S
say CS
say_team C
sayto C
screenshot C
scriptstat CS
select C
set CS
setaltwads S
setcolor C
showaltwads S
showmotd C
sizedown C
sizeup C
skins CS
slot C
snd_listdrivers C
snd_listmididevices C
snd_reset C
snd_status C
soundlinks CS
soundlist CS
spectate C 1.10.14
spec_follow C
spec_follow_params C
spec_stopfollow C
spec_togglenoclip C
spec_warp C
spray C
spy C
spynext C
spynext2 C
spyown C
spyprev C
spyprev2 C
stat C
stopdemo C
stopmus C
stoprecord C
summon C
summonfriend C
systime C
test CS
timedemo C
toggle CS
toggleconsole C
togglemap C
togglemessages C
turn180 C
turnspeeds C
unbind C
unbindall C
undoublebind C
unset CS
use C
utid CS
vid_currentmode C
vid_listmodes C
vid_setmode C
voice_allow_add C
voice_allow_clear C
voice_allow_remove C
voice_block_add C
voice_block_clear C
voice_block_remove C
voice_quickmute C
voicepacks CS
voteinfo C
wads S
weapbest C
weapnext C
weapon C
weaponlog S
weapprev C
yes C

Commands

Aenean viverra tincidunt massa, eu mattis ex dapibus in. Morbi pretium, nibh nec feugiat tristique, mauris augue rutrum turpis, non tristique turpis velit id metus.

acl_add

Synopsis acl_add nick [nick ...]
Scope server only
Introduced in: 1.08.04

Adds someone to the access list that controls the nicks allowed to connect.

acl_clear

Synopsis acl_clear
Scope server only
Introduced in: 1.08.04

Clears the access list.

acl_remove

Synopsis acl_remove nick [nick ...]
Scope server only
Introduced in: 1.08.04

Removes someone from the access list that controls the nicks allowed to connect.

add_cvaroverride

Synopsis: add_cvaroverride <map name> <cvar name> <value>
Scope: client and server
Introduced in: 1.??.??

Sets an override to a specific map only, will switch back when map is ended.

addban

Synopsis addban #player_id <reason>
addban $playername <reason>
addban ip-adress <reason>
Scope server only
Introduced in 1.??.??

Adds a player to the server banlist. It can take a player id (indicated by a leading #) or a player nickname (indicated by a leading $) or the IP address (can use * for range). examples:

addban #2 some_reason
addban $nickname some_reason
addban 12.34.56.* some_reason 

addbot

Synopsis: addbot [botname]
Scope: client and server
Introduced in: 1.??.??

Spawns a bot in game. If botname is given, the corresponding bot in bots.cfg will be spawned. Otherwise, a bot will be picked at random from bots.cfg

addkeysection

Synopsis: addkeysection <menu heading> <ini section>
Scope: client only
Introduced in: 1.??.??

This command does two things. First, it adds a new heading to the controls menu using the menu heading parameter. You can use the addmenukey command to add your own custom keys beneath this heading.
Second, it loads all the bindings from the corresponding ini section in the user's ini file. You can use this command multiple times to create different sections in the menu and ini for different sets of commands. If you use a menu heading that was already added to the menu, new controls added with addmenukey will appear at the end of that section, but the bindings will not be reloaded from the ini.

addmap

Synopsis: addmap <mapname>
Scope: server only
Introduced in: 1.??.??

Adds a map to the maplist, and will be placed after the last maplist entry.

addmenukey

Synopsis: addmenukey <description> <command>
Scope: client only
Introduced in: 1.??.??

Adds a new control to the controls menu. description is the name of this control in the menu, and command is a console command or alias to be executed when the control is pressed. New controls are added to the last section specified with addkeysection.

addmute

Synopsis: addmute #id/$playername duration reason
Scope: server only
Introduced in: 1.10.14

Adds a player to the mutelist. Prevents a player from sending textmessages or voicechat. The duration is specified in minutes. Limited to 7200 minutes (5days).

addtempban

Synopsis: addtempban #player_id <reason>
addtempban $playername <reason>
addtempban ip-adress <reason>
Scope: server only
Introduced in: 1.??.??

Temporarily adds a player to the server banlist. After 15 minutes the ban will be automaticly lifted.
It can take a player id (indicated by a leading #) or a player nickname (indicated by a leading $) or the IP address (can use * for range) by not using a syntax. examples:

addtempban #2 some_reason
addtempban $nickname some_reason
addtempban 12.34.56.* some_reason 

alias

Synopsis: alias [name] [command string]
Scope: client and server
Introduced in: 1.??.??

Creates a new command called command name which executes all instructions in string of commands. Individual commands in an alias should be separated by semicolons (;). As an example, this alias will print a useless message and cause the player to jump:

alias Yay "say Yippee!; +jump; -jump"

Note that you can input information in aliases by using the percent symbol (%). “%n” will refer to the nth string separated by spaces by the user. “%0” returns the name of the alias itself.
If specified with no parameters, alias will display a list of all currently defined aliases. If only command is specified, it will be removed from the list of aliases. If command string is also specified, it will be added to the list of aliases as a new command.
Any command that can be entered at the console can be used in an alias. As such, aliases can become powerful tools in the hands of a user with some imagination and knowledge of the various commands available.
In Zserv.cfg you can specify an alias to use multiple console commands by just using 1 alias. example:

alias pain_on "set sv_fastmonsters 1; set sv_powerful_monsters 1"
alias pain_off "set sv_fastmonsters 0; set sv_powerful_monsters 0" 

anubis

Synopsis: anubis
Scope: client only
Introduced in: 1.??.??

Toggles monster fear on and off. Scared monsters will run away from you and attack less frequently.

archivecvar

Synopsis: archivecvar <cvar>
Scope: client and server
Introduced in: 1.??.??

When you create a custom CVAR with the set command, it will not normally be saved in the ini. You can use archivecvar after creating the CVAR to indicate that the custom CVAR's value should persist even after you quit. This command is ill advised for non-archived user cvars, as it may cause side effects such as scripts running improperly.

atexit

Synopsis: atexit [command]
Scope: client and server
Introduced in: 1.??.??

If you specify a command, it will be added to a list of console commands to execute when the user quits the game. Commands are executed in the reverse order that they were added in. If you do not specify any arguments to atexit, then it will list the current set of commands that will execute when you quit.

banlist

Synopsis: banlist
Scope: server only
Introduced in: 1.??.??

Will show the entries in the servers zd_bans.txt and also shows the masterbans when the server is hosten on the masterlist.

bind

Synopsis: bind [key] [command]
Scope: client only
Introduced in: 1.??.??

If no parameters are specified, the entire list of bound keys will be printed to the console. If only key is specified, the binding for that specific key will be printed. If both key and command are specified, command will be bound to key.

binddefaults

Synopsis: binddefaults
Scope: client only
Introduced in: 1.??.??

Binds all keys to their default commands. This will not unbind any keys that do not have any default bindings, so if you want to properly restore the default controls, you need to use unbindall first.

botdebug

Synopsis:
Scope: client and server
Introduced in: 1.??.??

….

bumpgamma

Synopsis: bumpgamma
Scope: client only
Introduced in: 1.??.??

Increases the current gamma level by 0.1. If the new gamma level would be greater than 3.0, it wraps the gamma around to 1.0.

callvote

Synopsis: callvote cancel
callvote flipcoin
callvote game
callvote kick <playername>
callvote map <mapname>
callvote randcaps
callvote randmap [mapname mapname [mapname …]]
callvote random <number>
callvote reset
Scope: client only
Introduced in: 1.08.06 / 1.08.08 / 1.10.02

1.08.06: callvote reset, calvote map and callvote kick are controlled by the following server CVARs:

  • sv_vote_limit = 3
    # of times someone can call a vote per map
  • sv_vote_timeout = 45
    How long the voting will last (in seconds)
  • sv_vote_reset = 0
    Enable/disable reset voting
  • sv_vote_map = 0
    Enable/disable map voting
  • sv_vote_map_percent = 51
    Percentage needed to pass the reset/switch vote
  • sv_vote_map_skip = 0
    How many maps must be played before a given map is eligible for voting after it has been played.
  • sv_vote_kick = 0
    Enable/disable kick voting
  • sv_vote_kick_percent = 75
    Percentage needed to pass the player kick vote
    Player kicking is available only for coop modes. The other forms of voting are recommended only on coop or private/LAN or tournament servers. The voting is initiated by the “callvote” command on the client.
    When someone calls a vote, a notification about the ongoing vote is displayed on everyone's HUD. Players can then vote for or against the proposal by typing “yes” or “no” on their console or saying “yes” or “no” in chat.

1.08.08: random voting, random map voting and random team captain voting. The first is always enabled. The other two are controlled by the following server CVARs:

  • sv_vote_randmap = 0
    Enable/disable random map voting
  • sv_vote_randcaps = 0
    Enable/disable random team captain voting.

Random voting is about letting the server select a random number (or flip a coin). That number will be used for anything the players want (and have agreed upon before the draw).
The command: callvote flipcoin calls a “flip coin” vote. If the vote passes, the server will display “heads” or “tails”.
The command: callvote random N (where N is a positive integer greater than 1) draws a number between 1 and N. If N is equal to 2 or is omitted, then this is the same as a coin flip.
The command: callvote randmap [mapname mapname [mapname …]] instructs the server to draw a map at random and then switch to it. If the mapnames are omitted, the server draws a map at random from the map rotation. If mapnames are specified, then the map is drawn only from these; they must belong to the server map rotation though.
The command: callvote randcaps calls a vote for random selection of team captains. For this to work, the server must be in teamplay mode (TDM or CTF) and maxteams should be equal to 2. The captains are selected at random from players or spectators in the red, blue, white teams.

1.10.02: callvote game and callvote cancel are used in Duel games. When 2 players join, they start in “warmup” mode where they can play, get a feeling about the server, shoot and damage each others, but the frag/death/suicidecounters remain at zero. When they are ready to start the game, they can call a vote with the command callvote game. The vote requires 100% agreement to pass.
The players can use callvote cancel to cancel the game. If the vote passes, the game is canceled, no stats are recorded and it returns to warmup mode.

There are 2 other voting related client commands: the “voteinfo” command displays the server voting CVARs, while the “maplist” command displays the server map rotation (this is useful for issuing a callvote map command as you may not know which maps are in the server rotation). The position of the voting display on the client can be adjusted by the “vote_xofs” and “vote_yofs” CVARs. The “vote_fontsize” CVAR controls the font size used for the display; it can range from 0 to 7 and it defaults to 1. Finally the “vote_compact” CVAR results in a slightly more compact voting display.

centreview

Synopsis: centreview
Scope: client only
Introduced in: 1.??.??

Resets free look to horizontal.

changemap

Synopsis: changemap <mapname>
Scope: client only
Introduced in: 1.??.??

Shows the intermission screen and then warps the player to the specified map, (e.g. “changemap e2m3” or “changemap map27”) retaining the player's inventory and health value in the process. Passing * instead of a map name warps the player to the current map. Works in SP only!

changemus

Synopsis: changemus <musicname>
Scope: client only
Introduced in: 1.??.??

Changes the currently playing music. Music should be the name of a music lump inside the wad. If no parameters are given, the command will instead log the name of the currently played lump or file to the console.

chase

Synopsis: chase
Scope: client only
Introduced in: 0.96

Toggles the chasecam on and off.
Chase mode is disabled in competitive modes. In Coop modes it is enabled by default, but can be disabled with cvar sv_nochasemode.
The distance and height of the view can be set with client cvars chase_dist (0…1000 range) and chase_height (-100…100 range).

chat_block

Synopsis: chat_block all
chat_block spec
chat_block bots
chat_block $player_name
chat_block #player_id
Scope: client only
Introduced in: 1.05b05

The parameter can be either the special string all meaning all players, either the special string spec (or spectators) meaning players in spectator mode, or the string #NNN where NNN is a player number (available from the players command), or the string $XYZ where XYZ is a player's name, or the string @NNN where NNN is again a player number; in the last case, the network address of the specified player is blocked.
Use chat_block bots for all bot chatter.
All blocks are valid only for the current zdaemon session. They are reset as soon as you exit the client.
IMPORTANT: the blocks are additive: if you issue the command: chat_block #1
(ie., you want to block player 1) and then issue the command: chat_unblock all then player 1 is still blocked, since he has a specific block which overrides any other block commands. If you really want to lift all blocks, use the chat_reset command.
If you block a player by ID, then the block is lifted as soon as the player disconnects; otherwise, you would also be blocking subsequent players who happen to be assigned the same server slot.

chat_quickblock

Synopsis: chat_quickblock
Scope: client only
Introduced in: 1.09.01

When called it shows a numbered list of all players that used chat in the last 60 seconds. If one of the shown numbers is pressed the player is added to your block list or removed from your allow list. Any other key closes the menu. You can bind a key to it in the customize controls menu or execute chat_quickblock in the console.

chat_reset

Synopsis: chat_reset
Scope: client only
Introduced in: 1.05b05

Lifts all chat blocks.

chat_toggle

Synopsis: chat_toggle all
chat_toggle spec
chat_toggle bots
chat_toggle $player_name
chat_toggle #player_id
Scope: client only
Introduced in: 1.05b05

Toggles the blocking / unblocking of one or multiple users.
The parameter can be either the special string all meaning all players, either the special string spec (or spectators) meaning players in spectator mode, bots meaning all the bots, or the string #NNN where NNN is a player number (available from the players command), or the string $XYZ where XYZ is a player's name, or the string @NNN where NNN is again a player number; in the last case, the network address of the specified player is blocked.

chat_unblock

Synopsis: chat_unblock all
chat_unblock spec
chat_unblock bots
chat_unblock $player_name
chat_unblock #player_id
Scope: client only
Introduced in: 1.05b05

The parameter can be either the special string all meaning all players, either the special string spec (or spectators) meaning players in spectator mode, or the string #NNN where NNN is a player number (available from the players command), or the string $XYZ where XYZ is a player's name, or the string @NNN where NNN is again a player number; in the last case, the network address of the specified player is blocked.
Use chat_unblock bots for all bot chatter.
All blocks are valid only for the current zdaemon session. They are reset as soon as you exit the client.
IMPORTANT: the blocks are additive: if you issue the command: chat_block #1
(ie., you want to block player 1) and then issue the command: chat_unblock all then player 1 is still blocked, since he has a specific block which overrides any other block commands. If you really want to lift all blocks, use the chat_reset command.
If you block a player by ID, then the block is lifted as soon as the player disconnects; otherwise, you would also be blocking subsequent players who happen to be assigned the same server slot.

chatlog

Synopsis: chatlog
Scope: client only
Introduced in: 1.05.05

Activates/ deactivates the logging of all chat, team chat and admin chat messages to the “zdchat.log” file. There is also a corresponding “-chatlog xxx” cmd. line parameter that lets you specify the log filename (the filename parameter is mandatory).

clear

Synopsis: clear
Scope: client only
Introduced in: 1.??.??

Clears the console of all text.

clearmaplist

Synopsis: clearmaplist
Scope: server only
Introduced in: 1.??.??

clearmutes

Synopsis: clearmutes
Scope: server only
Introduced in: 1.10.14

Clears the server mutelist.

cmdlist

Synopsis: cmdlist
Scope: client and server
Introduced in: 1.??.??

Lists all console commands.

commentators_add

Synopsis: commentators_add nick [nick …]
Scope: server only
Introduced in: 1.10b01

Adds a user to the voice-chat commentator list. Multiple nicks are seperated by a space.

commentators_clear

Synopsis: commentators_clear
Scope: server only
Introduced in: 1.10b01

Clears the list of voice-chat commentators.

commentators_remove

Synopsis: commentators_remove nick [nick …]
Scope: server only
Introduced in: 1.10b01

Removes the specified nick from the list of voice-chat commentators. Multiple nicks are seperated by a space.

con

Synopsis: con
Scope: client only
Introduced in: 1.??.??

Returns your console index number.

connect

Synopsis: connect <server_address>
Scope: client only
Introduced in: 1.09b21

When called this will disconnect you from the current server and will connect you to the specified server.
This doesnt work if the other server has different wads loaded. (you wont be able to connect)

connectionlog

Synopsis: connectionlog
Scope: server only
Introduced in: 1.05.02

Toggles the logging of connections in conn-<date>.log via the console.
Normally this is setup with the “-clog” cmd. line argument which takes a filename as its parameter; this filename specifies the name of the connection log file. Under Unix, you can use the special name “syslog” instead of a filename: this instructs zserv to log connections to the system log.

countdecals

Synopsis: countdecals
Scope: client only
Introduced in: 1.??.??

Returns the internal count of automatically generated decals.

ctflog

Synopsis: ctflog
Scope: server only
Introduced in: 1.08.08

Enables / disables logging of CTF games with the “ctflog” command (or -ctflog cmd. line option) and it displays the points given to each player in detail.

cvarlist

Synopsis: cvarlist
Scope: client and server
Introduced in: 1.??.??

Lists the values of all currently defined console variables. Each CVAR can also be prefaced by multiple flags.
These are:

  • A: Archive — gets saved in the config file.
  • U: User — contains user info.
  • S: Server — contains server info.
  • -: Not settable — can only be changed from the command line.
  • L: Latched — changes do not take effect until the next game.
  • C: Callback — allocated and has an internal callback.
  • *: Custom — was created by the user and is meaningless to the game.

cvarlistplain

Synopsis: cvarlistplain
Scope: client and server
Introduced in: 1.??.??

This command works similarly to cvarlist, except it does not include flag information or list user-created CVARs. Its primary purpose is to provide a simple list of cvars that can be exported and checked against this file to ensure it is complete.

cycle_netstats

Synopsis: cycle_netstats
Scope: client only
Introduced in: 1.08.00

It's meant to be bound to some key to make it easy to monitor net usage while playing.

debuglog

Synopsis:
Scope:
Introduced in: 1.??.??

defaultbind

Synopsis: defaultbind <key> <command>
Scope: client only
Introduced in: 1.??.??

Binds command to the key if and only if key is not already bound and there are no keys already bound to command. This can be useful in KEYCONF lumps to create a default binding for a command without overwriting the user's preference.

delmapbyidx

Synopsis: delmapbyidx <index>
Scope: serveronly
Introduced in: 1.10b04

Removes a map from the maplist by its index (1 being the first one).

delmapbyname

Synopsis: delmapbyname <mapname>
Scope: server only
Introduced in: 1.10b04

Removes all entries from the maplist matching the specified map name.

demo_addmarker

Synopsis: demo_addmarker
Scope: client only
Introduced in: 1.10.17

Adds a marker while a demo is being recorded and get stored in the .zdl demo playlist file. If you edit a .zdl manually make sure the entries are separated with tab. 'demo_goto #marker' can be used to skip demo playback to a marker.

demo_clearmarkers

Synopsis: demo_clearmarkers
Scope: client only
Introduced in: 1.10.17

Removes the markers in the markerlist while demo is recording.

demo_nextdemo

Synopsis: demo_nextdemo
Scope: client only
Introduced in: 1.09b28

Demo_nextdemo applies to demo playlists only and it moves you to the next demo in the list. It defaults to the “L” key respectively and can be adjusted from the menu.

demo_prevdemo

Synopsis: demo_prevdemo
Scope: client only
Introduced in: 1.09b28

Demo_prevdemo applies to demo playlists only and it moves you to the previous demo in the list. It defaults to the “K” key respectively and can be adjusted from the menu.

demo_speeddown

Synopsis: demo_speeddown
Scope: client only
Introduced in: 1.10.14

Changes the demo playback to a slower speed. To show the playback speed enable 'vid_fps'. Related CVAR 'demo_speed'.

demo_speedreset

Synopsis: demo_speedreset
Scope: client only
Introduced in: 1.10.14

Resets the demo playback speed to the default value. To show the playback speed enable 'vid_fps'. Related CVAR 'demo_speed'.

demo_speedup

Synopsis: demo_speedup
Scope: client only
Introduced in: 1.10.14

Changes the demo playback to a faster speed. To show the playback speed enable 'vid_fps'. Related CVAR 'demo_speed'.

demo_tonext

Synopsis: demo_tonext
Scope: client only
Introduced in: 1.09b21

Skips forward/backward to “chapter points” (evenly spaced at 20 second intervals) and you can also go forward/backward by a single frame (1/35th of a second) while in paused mode. The chapter spacing is controled by the “demo_chapterspacing” cvar; it defaults to 20 (seconds). The forward/backward skipping is done with the “demo_tonext” and “demo_toprev” commands, which are bound to the “n” and “p” keys by default. You can adjust them from the “customize controls” menu.

demo_tonextmarker

Synopsis: demo_tonextmarker
Scope: client only
Introduced in: 1.10.17

Skips forward to the next marker if stored in the .zdl demo playlist file. If you edit a .zdl manually make sure the entries are separated with tab. 'demo_goto #marker' can also be used to skip demo playback to a marker.

demo_toprev

Synopsis: demo_toprev
Scope: client only
Introduced in: 1.09b21

Skips forward/backward to “chapter points” (evenly spaced at 20 second intervals) and you can also go forward/backward by a single frame (1/35th of a second) while in paused mode. The chapter spacing is controled by the “demo_chapterspacing” cvar; it defaults to 20 (seconds). The forward/backward skipping is done with the “demo_tonext” and “demo_toprev” commands, which are bound to the “n” and “p” keys by default. You can adjust them from the “customize controls” menu.

demo_toprevmarker

Synopsis: demo_toprevmarker
Scope: client only
Introduced in: 1.10.17

Skips backwards to the previous marker if stored in the .zdl demo playlist file. If you edit a .zdl manually make sure the entries are separated with tab. 'demo_goto #marker' can also be used to skip demo playback to a marker.

demo_undomarker

Synopsis: demo_undomarker
Scope: client only
Introduced in: 1.10.17

Removes the last added marker during demo recording.

dir

Synopsis: dir [path/][pattern]
Scope: client only
Introduced in: 1.??.??

This command lists the contents of a directory. It supports wildcards (but will not recurse into multiple directories). If path is not specified, it will display the contents of the directory the game was run from.

disconnect

Synopsis: disconnect
Scope: client only
Introduced in: 1.08.08

Disconnects you from the online session. You will be able to play offline via the “New Game” in Main Menu.

doublebind

Synopsis: doublebind [key] [command]
Scope: client only
Introduced in: 1.??.??

This command works just like bind, except it controls the action that occurs when a key is double-clicked. If a key does not have a doublebinding, then double-clicking it has the same result as pressing it twice. Otherwise, the first press will execute the normal command set with bind, and the second press of the double-click will execute the command set with doublebind.

dumpclasses

Synopsis: dumpclasses [base class]
Scope: client and server
Introduced in: 1.??.??

Displays a list of all classes in the game. You can use base class to limit the list to only those classes that derive from base class. For example, dumpclasses actor will only show those classes that can be spawned in a level (including actors from all supported games). If you only want a list of weapons, you can use dumpclasses weapon. This list can be quite long and exceed the length of the console buffer, so it is a good idea to capture its output to a file using the logfile command.

dumpheap

Synopsis:
Scope:
Introduced in: 1.??.??

dumpmapthings

Synopsis: dumpmapthings
Scope: client and server
Introduced in: 1.??.??

Lists all the map editor numbers for actors in the current game.

dumpspawnables

Synopsis: dumpspawnables
Scope: client and server
Introduced in: 1.??.??

Lists all the spawn numbers for actors in the current game.

echo

Synopsis: echo <string>
Scope: client and server
Introduced in: 1.??.??

Prints string to the console.

endgame

Synopsis: endgame
Scope: client only
Introduced in: 1.??.??

Quits the current game and go back to the title screen.

error

Synopsis: error <message>
Scope: client and server
Introduced in: 1.??.??

Simulates an error by killing the current game and falling back to the fullscreen console with the specified message.

eval

Synopsis: eval <expression> [variable]
Scope: client and server
Introduced in: 1.??.??

Evaluates a mathematical expression and either prints it to the console or stores it in a console variable.
When accessing CVARs from within the expression, you must prefix them with a dollar sign ($).

exec

Synopsis: exec <file>
Scope: client and server
Introduced in: 1.??.??

Executes a series of commands stored in the script-file as if they had been typed in at the console directly.

exit

Synopsis: exit
Scope: client and server
Introduced in: 1.??.??

Closes the client. When used on server console it will stop the server instance.

fly

Synopsis: fly
Scope: client only
Introduced in: 1.??.??

Toggles fly mode on and off.

fov

Synopsis: fov [angle]
Scope: client only
Introduced in: 1.??.??

Modifies the FOV. By default, FOV is set to 90 degrees, and can be changed at will using the console command fov.

fraglog

Synopsis: fraglog
Scope: server only
Introduced in: 1.05.02

Enables / disables logging of frags in DeathMatch games with the “fraglog” command (or -flog cmd. line option) and it displays the frags each player in detail.

freeze

Synopsis: freeze
Scope: client only
Introduced in: 1.??.??

Use this command once to freeze gameplay (while still allowing you to move around). Use it again to unfreeze gameplay. This will not work in multiplayer.

gameversion

Synopsis: gameversion
Scope: client and server
Introduced in: 1.??.??

Prints the version number and compile date of the ZDaemon client or Zserv when in server console.

get

Synopsis: get <CVAR>
Scope: client and server
Introduced in: 1.??.??

Displays the value of CVAR. (This is redundant because typing the name of the CVAR alone at the console will accomplish the same thing.)

give

Synopsis: give <item>
Scope: client only
Introduced in: 1.??.??

Gives an item to the player. Give understands the following special items:

  • all - gives you everything
  • everything - gives you everything, including weapons flagged with WEAPON.CHEATNOTWEAPON.
  • backpack - gives you a backpack in Doom, a bag of holding in Heretic and Hexen, and an ammo satchel in Strife.
  • health - gives you full health
  • weapons - gives you every weapon
  • ammo - gives you full ammo
  • armor - gives you full armor
  • keys - gives you every key

It also understands the names of individual inventory items. Use the command dumpclasses inventory for a complete list of these.

god

Synopsis: god
Scope: client only
Introduced in: 1.??.??

Toggles God (Degreelessness) mode on/off. While active, you cannot be hurt by normal attacks (although some things such as telefragging will still kill you). Also known as iddqd. (Won't work in Online mode)

history

Synopsis: history
Scope: client only
Introduced in: 1.??.??

Lists all console commands used in the session.

idclev

Synopsis: idclev <slotnumber>
Scope: client only
Introduced in: 1.??.??

Changes to the level specified by slotnumber. This emulates the idclev cheat. (Won't work in Online mode)

iddqd

Synopsis: iddqd
Scope: client only
Introduced in: 1.??.??

The same as god, except it also gives you 100 health. (Won't work in Online mode)

idmus

Synopsis: idmus <slotnumber>
Scope: client only
Introduced in: 1.??.??

Changes the music to that associated with the specified level slot.

invnext

Synopsis: invnext
Scope: client only
Introduced in: 1.??.??

Selects the next inventory item you possess.

invprev

Synopsis: invprev
Scope: client only
Introduced in: 1.??.??

Selects the previous inventory item you possess.

invuse

Synopsis: invuse
Scope: client only
Introduced in: 1.??.??

Activates the currently selected inventory item.

invuseall

Synopsis: invuseall
Scope: client only
Introduced in: 1.??.??

Activates every inventory item you possess.

key

Synopsis: key <value1> [value2]
Scope: client and server
Introduced in: 1.??.??

Translates all parameters to the command into their corresponding key values which are used internally for command and alias lookup. Probably not very useful for the average user.

kick

Synopsis: kick #player_id <reason>
kick $playername <reason>
Scope: server only
Introduced in: 1.??.??

Kicks a player out of the server. It can take a player id (indicated by a leading #) or a player nickname (indicated by a leading $) examples:

Kick #2 some_reason
Kick $nickname some_reason

kill

Synopsis: kill [class]
Scope: client only
Introduced in: 1.??.??

Used by itself, this kills the player. Alternatively, you can specify “kill monsters” to kill every monster in the level. Note that this command also prevents actors which normally spawn other actors on death (e.g. the Pain Elemental) from doing so.
If a class is specified, this kills all actors of that type in the map.

killban

Synopsis: killban <IP>
Scope: server only
Introduced in: 1.??.??

Removes an IP from the ban list.

killlog

Synopsis: killlog
Scope: server only
Introduced in: 1.10.04

Enables / disables logging of monsters killed with the “killlog” command (or -klog cmd. line option) and it logs player name and killed monster. Only active in Coop and Survival.

killmotd

Synopsis: killmotd
Scope: client only
Introduced in: 1.10b01

Kills the showing of the Message Of The Day on screen.

killmute

Synopsis: killmute playername (no prefix required)
Scope: server only
Introduced in: 1.10.14

Kills the entry with the playername specified from the server mutelist.

land

Synopsis: land
Scope: client only
Introduced in: 1.??.??

If you are using a flight item, deactivates it and causes you to land.

list_cvaroverride

Synopsis: list_cvaroverride
Scope: server only
Introduced in: 1.??.??

Lists all added cvar overrides that are set on the server.

listbots

Synopsis: listbots
Scope: client and server
Introduced in: 1.??.??

Lists the bots available in bots.cfg, and indicates which are currently playing.

listmaps

Synopsis: listmaps
Scope: client and server
Introduced in: 1.10.09

This command shows all available maps of the loaded wad(s).

logfile

Synopsis: logfile [file]
Scope: client and server
Introduced in: 1.??.??

If file is not specified, console logging will be stopped (if active). Otherwise, a file named file will be created on disk, and all console output will be recorded in it as well as on the screen.

map

Synopsis: map <lumpname>
Scope: client and server
Introduced in: 1.??.??

Immediately change to the specified map, skipping the intermission screen. (e.g. “map e2m3” or “map map27”) Also resets the player's inventory and health to their starting values, as if they had started a new game.

map_reset

Synopsis: map_reset
Scope: client and server
Introduced in: 1.09b21

Resets the current map. Also resets the player's inventory and health.

maplist

Synopsis: maplist
Scope: client and server
Introduced in: ZDaemon 1.08.06 release

Displays the server map rotation (this is useful for issuing a callvote map command as you may not know which maps are in the server rotation).

mapskipby

Synopsis: mapskipby <number>
Scope: server only
Introduced in: 1.08.06

Goes forward/backward (the number of maps specified in command) in the map list.

mapskipto

Synopsis: mapskipto <mapname>
Scope: server only
Introduced in: 1.08.06

Goes forward in the map list to the specified map.

mdk

Synopsis: mdk [damagetype]
Scope: client only
Introduced in: 1.??.??

will deal 1000000 damage to whatever is in the center of the screen, using a hitscan attack. Use a crosshair to get the exact point of what to kill. Optionally, a damage type for the attack can be specified. This is not available in Online mode.

mem

Synopsis: mem
Scope: client and server
Introduced in: 1.??.??

Shows the usage of the allocated memory.

Synopsis: menu_advsound
Scope: client only
Introduced in: 1.??.??

Activates the advanced sound options menu.

Synopsis: menu_display
Scope: client only
Introduced in: 1.??.??

Activates the display options menu.

Synopsis: menu_endgame
Scope: client only
Introduced in: 1.??.??

Asks the user if they want to end the current game, and returns to the title screen if they do.

Synopsis: menu_game
Scope: client only
Introduced in: 1.??.??

Activates the new game menu.

Synopsis: menu_gameplay
Scope: client only
Introduced in: 1.??.??

Activates the gameplay options (dmflags) menu.

Synopsis: menu_help
Scope: client only
Introduced in: 1.??.??

Displays the help screen.

Synopsis: menu_keys
Scope: client only
Introduced in: 1.??.??

Activates the customize controls menu.

Synopsis: menu_load
Scope: client only
Introduced in: 1.??.??

Activates the load game menu.

Synopsis: menu_main
Scope: client only
Introduced in: 1.??.??

Activates the main menu.

Synopsis: menu_mididevice
Scope: client only
Introduced in: 1.??.??

Activates the midi device menu.

Synopsis: menu_options
Scope: client only
Introduced in: 1.??.??

Activates the options menu.

Synopsis: menu_player
Scope: client only
Introduced in: 1.??.??

Activates the player setup menu.

Synopsis: menu_quit
Scope: client only
Introduced in: 1.??.??

Activates the quit menu which asks the user if they want to quit, and quits if they do.

Synopsis: menu_save
Scope: client only
Introduced in: 1.??.??

Activates the save game menu.

Synopsis: menu_sound
Scope: client only
Introduced in: 1.??.??

Activates the sound options menu.

Synopsis: menu_video
Scope: client only
Introduced in: 1.??.??

Activates the video mode menu.

messagemode

Synopsis: messagemode
Scope: client only
Introduced in: 1.??.??

Enters message entry mode. Anything typed while in this mode will be sent to everyone else as if you had used the say command once you press enter.

messagemode2

Synopsis: messagemode2
Scope: client only
Introduced in: 1.??.??

This is just like messagemode except that the message is only sent to other members of your team as i you had used the say_team command. If teamplay is false or you don't have a team, then this command will work just like messagemode / say and send the message to everyone.

messagemode3

Synopsis: messagemode3
Scope: client only
Introduced in: 1.09b27

Messagemode3 is for private chat. messagemode3 is bound to 'G' by default. When messagemode3 is called you are prompted for a target name. You can either type a name or use the up and down arrows to scroll through all player names. The last used target name will be reused next time. After the target name is confirmed you are presented a chat prompt to write your message as usual.

morphme

Synopsis: morphme [class]
Scope: client only
Introduced in: 1.??.??

Transforms you into a chicken in Heretic and a pig in Hexen and Doom (The latter only happens if you have the relevant graphics present). Additionally, if “class” is specified, it will attempt to morph you into the supplied class. This will only work if the target class is inherited from PlayerPawn, and you are not in a state that cannot otherwise morph (i.e. death).
Only works when not in Online mode.

motd

Synopsis: MOTD
Scope: client only
Introduced in: 1.08.06

Prints the Message Of The Day in the console.

mutelist

Synopsis: mutelist
Scope: server only
Introduced in: 1.10.14

Lists all the entries with their remaining time of the server mutelist.

netrecord

Synopsis: netrecord <file>
Scope: client only
Introduced in: 1.05.04

Queues a demo to record upon next sever connected to.

no

Synopsis: no
Scope: client only
Introduced in: 1.08.06

When a vote is called this command is used to vote no.

noclip

Synopsis: noclip
Scope: client only
Introduced in: 1.??.??

Toggles noclipping mode on/off. With this mode, you can walk through walls and solid actors, and are able to step up by an infinite amount. Basically your horizontal movement will never be restricted. This can be useful for passing through locked doors or quickly accessing later parts of a map.

notarget

Synopsis: notarget
Scope: client only
Introduced in: 1.??.??

Toggles notarget mode on/off. While active, monsters will not target you unless you hurt them first.

pause

Synopsis: pause
Scope: client only
Introduced in: 1.??.??

Pauses and unpauses the game. Only works when not in Online Mode.

pings

Synopsis: pings
Scope: server only
Introduced in: 1.05rc6

This lists a very rough estimate of the speed of the connection between the server and connected clients. In reality, the values printed by this command aren't even pings; they're just the number of milliseconds that have passed since the last time the server received a packet from clients.

playdemo

Synopsis: playdemo <demo>
Scope: client only
Introduced in: 1.??.??

Plays a demo. The demo can be a file on disk or a lump in a wad.

playerinfo

Synopsis: playerinfo [player]
Scope: client and server
Introduced in: 1.??.??

Without parameters, lists the numbers for each player in the game. If you specify a player, then details about that player's user info will be listed.

players

Synopsis: players
Scope: client and server
Introduced in: 1.??.??

Lists the connected players in order of playerindex.
In console it will also list IP's of the connected players.

playersounds

Synopsis: playersounds
Scope: client and server
Introduced in: 1.??.??

Lists the player sounds defined by each player class and skin.

playsound

Synopsis: playsound <sound>
Scope: client only
Introduced in: 1.??.??

Plays a sound on the local machine. Like all other sounds in the game, sound must be properly defined in a SNDINFO lump before you can use it.

powerup

Synopsis: powerup
Scope: client only
Introduced in: 1.??.??

Powers you up in Heretic as if you had used a Tome of Power.

print

Synopsis: print <string>
Scope: client and server
Introduced in: 1.??.??

Prints a named string to the console. These are the strings you can edit with a bex patch.

puke

Synopsis: puke <script> [<?:>arg1 [<?:>arg2 [<?:>arg3]]]
Scope: client and server
Updated in: 1.10.12

Executes an ACS script on the current map, optionally passing it up to three numerical arguments.

Where ? can be replaced by one of the following letters which will determine how the value will be parsed (unless otherwise specified, the script will receive the input value converted to an integer):
b: binary number
c: character
d: decimal number
f: real number (the script will receive a fixed-point number)
i: decimal number
l: key from the LANGUAGE lump (the script will receive the looked up string)
n: PRINTNAME_* constant (the script will receive the respective fetched string)
s: string (the script will receive the string as is)
x: hexadecimal number

pukename

Synopsis: pukename <script> [always] [<?:>arg1 [<?:>arg2 [<?:>arg3]]]
Scope: client and server
Introduced in: 1.10b07 / 1.10.12

Executes a named script on the current map, optionally passing it up to three numerical arguments.

Where ? can be replaced by one of the following letters which will determine how the value will be parsed (unless otherwise specified, the script will receive the input value converted to an integer):
b: binary number
c: character
d: decimal number
f: real number (the script will receive a fixed-point number)
i: decimal number
l: key from the LANGUAGE lump (the script will receive the looked up string)
n: PRINTNAME_* constant (the script will receive the respective fetched string)
s: string (the script will receive the string as is)
x: hexadecimal number

pullin

Synopsis: pullin <wadfile>
Scope: client and server
Introduced in: 1.??.??

Loads a wadfile at startup. This command is only valid inside .cfg files that have been executed at startup.

quickload

Synopsis: quickload
Scope: client only
Introduced in: 1.??.??

Loads the last quicksaved game.

quicksave

Synopsis: quicksave
Scope: client only
Introduced in: 1.??.??

Quick saves the game.

quit

Synopsis: quit
Scope: client and server
Introduced in: 1.??.??

Exits ZDaemon or ZServ and saves the configuration file to disk.

rcon

Synopsis: rcon <command>
Scope: client only
Introduced in: 1.??.??

Sends a command to the server via Remote Console

rcon_password

Synopsis: rcon_password <password>
Scope: client only
Introduced in: 1.??.??

Requests access to the server console.

rdstats

Synopsis:
Scope: client only
Introduced in: 1.??.??

rebind

Synopsis: rebind <command>
Scope: client only
Introduced in: 1.??.??

Changes the binding for the key that caused the rebind command to execute. For obvious reasons, this command cannot be used directly from the console.
For example, this command will cause the first press of b to echo “setting 1” to the console. All future presses of b will echo “setting 2” instead.:

bind b "echo setting 1; rebind \"echo setting 2\""

reconnect

Synopsis: reconnect
Scope: client only
Introduced in: 1.??.??

Disconnects your client from server and re-connects again to the same server.

refreshbans

Synopsis: refreshbans
Scope: server only
Introduced in: 1.10b01

Asks the server to reload the master and server-provider ban lists.

remove_cvaroverride

Synopsis: remove_cvaroverride < map_name > < cvar_name >
Scope: server only
Introduced in: 1.10b07

Removes a cvar override that is set on the server.

removebots

Synopsis: removebots
Scope: client and server
Introduced in: 1.??.??

Removes any bots from the game.

resetscores

Synopsis: resetscores
Scope: server only
Introduced in: Teamplay Beta 01

Resets the current score in any gametype.

say

Synopsis: say <message>
Scope: client and server
Introduced in: Teamplay Beta 05

Sends a message to everyone playing.
In console it will sends a Console Message.

say_team

Synopsis: say_team <message>
Scope: client only
Introduced in: Teamplay Beta 05

This is just like say except it only sends a message to your teammates. Will not work for spectators.

sayto

Synopsis: sayto $playername <message>
sayto #player_id <message>
Scope: client only
Introduced in: 1.05.06

Sends a chat msg. to a specific player. This command cannot be used by spectators to avoid cheating possibilities. The same applies to private msgs. to members of opposing teams in team mode.

screenshot

Synopsis: screenshot [file]
Scope: client only
Introduced in: 0.9

Dumps a copy of the screen to disk as a PNG or PCX file. If file is not specified, the screenshot filename will be in a set format.

scriptstat

Synopsis: scriptstat
Scope: client and server
Introduced in: 1.??.??

Lists the scripts running on the current level.

select

Synopsis: select <item>
Scope: client only
Introduced in: 1.??.??

Selects the given artifact, provided there is one in inventory.

set

Synopsis: set <CVAR> <value>
Scope: client and server
Introduced in: 1.??.??

Sets CVAR to value. If CVAR does not exist, it will be created.

setaltwads

Synopsis: setaltwads <wads>
Scope: server only
Introduced in: 1.08.06

The server can accept alternate wads in the place of one or more wads. Useful examples are allowing freedoom/freedm rather than doom2 (or vice versa), facevox rather than zvox2, etc. This is enabled via the “setaltwads” server command (which could reside in zserv.cfg). Here is an example: setaltwads “doom2=freedoom062=freedm062 zvox2=facevox2=sharkvox” This tells zserv that it can accept freedoom062.wad or freedm062.wad in place of doom2.wad and it can accept facevox2.wad or sharkvox.wad in place of zvox2.wad. Some important points:

  • For any equivalence to be accepted, one of the wads in the equivalence must be already loaded and zserv must be able to find the other ones in order to checksum them. This also means that either all the wads should reside in the current or program directory, or you should use the -waddir cmd. line parameter (or the WADDIR env. variable) to tell zserv where the wads are.
  • The entire argument of the setaltwads command must be enclosed in double quotes.
  • When zserv executes this command, it does the above checks and sets up the equivalences. It will also display the equivalence on the console, so you can be sure if it has been accepted or not.
  • Freedoom and freedm are not frozen like doom2.wad; therefore, we *absolutely* need proper versioning in their filenames, eg., use something like freedoom062.wad rather than freedoom.wad The use of the “unversioned” wad name will lead to chaos from the part of the players (what will happen for example if half the servers run one version of freedoom, the other half uses another version and they all use the same name? how will a player be able to play?). Therefore, we will have no other option but to block from the master server any zserv using the unversioned wad names.

setcolor

Synopsis: setcolor <cvar> <color>
Scope: client only
Introduced in: 1.??.??

showaltwads

Synopsis: showaltwads
Scope: server only
Introduced in: 1.??.??

Lists the alternative wads set for the loaded wads on the server.

showmotd

Synopsis: showmotd
Scope: client only
Introduced in: 1.10b01

Re-displays the Message Of The Day.

sizedown

Synopsis: sizedown
Scope: client only
Introduced in: 1.??.??

Decrements screenblocks by 1, shrinking the view window.

sizeup

Synopsis: sizeup
Scope: client only
Introduced in: 1.??.??

Increments screenblocks by 1, enlarging the view window.

skins

Synopsis: skins
Scope: client and server
Introduced in: 1.??.??

Lists the names of the skins that were loaded when the game was started.

slot

Synopsis: slot <slotnumber>
Scope: client only
Introduced in: 1.??.??

Selects the next weapon from the specified weapon slot.

snd_listdrivers

Synopsis: snd_listdrivers
Scope: client only
Introduced in: 1.??.??

Lists the drivers supported by the current snd_output setting.

snd_listmididevices

Synopsis: snd_listmididevices
Scope: client only
Introduced in: 1.??.??

This command lists the MIDI devices available in the system. Devices in this list can be used in the snd_mididevice cvar to select which device plays music. Devices with negative numbers are provided by ZDeamon itself.

snd_reset

Synopsis: snd_reset
Scope: client only
Introduced in: 1.??.??

Restarts the ZDaemon sound system, including external software synthesizers such as FluidSynth and TiMidity++ if needed, and rereading the DMXGUS lump if using the GUS emulator or the GENMIDI lump if using OPL synth emulation. Use this if you have changed audio settings which did not take effect immediately.

snd_status

Synopsis: snd_status
Scope: client only
Introduced in: 1.??.??

Lists information about the current sound device.

Synopsis: soundlinks
Scope: client and server
Introduced in: 1.??.??

Lists the links between different sounds that use the same sound data. Links are generated dynamically while you play, so it is possible for this command to give different results in different games and even at different times during the same game.

soundlist

Synopsis: soundlist
Scope: client and server
Introduced in: 1.??.??

Lists all the sounds defined and the lumps that they alias to. Unlike regular Doom, ZDoom refers to sounds using a long name and uses a SNDINFO lump to map those to the lumps in a WAD file that contain the actual sounds. Logical sounds that refer to the same sound data will have links generated as necessary to avoid actually loading multiple copies of the same sound into memory.

spectate

Synopsis: spectate
Scope: client only
Introduced in: 1.10.14

Switches you from playing into a spectator, losing your life and inventory.

spec_follow

Synopsis: spec_follow <player_number>
Scope: client only
Introduced in: 1.10b01

Makes the spectator view follow a player.

spec_follow_params

Synopsis: spec_follow_params <max_angle_delta> <max_pitch_delta> [zoom_dist1 fov1 zoom_dist2 fov2]
Scope: client only
Introduced in: 1.10b01

Sets the parameters for the spec_follow function. You can modify it to the way you want the spectate camera to follow the player.

spec_stopfollow

Synopsis: spec_stopfollow
Scope: client only
Introduced in: 1.10b01

Stops following a player with spectate view.

spec_togglenoclip

Synopsis: spec_togglenoclip
Scope: client only
Introduced in: 1.10b01

Allows specs to enable noclip (it is needed in some maps that teleport players only when they use a switch).

spec_warp

Synopsis: spec_warp x y [z [pitch [angle] ] ]
Scope: client only
Introduced in: 1.10b01

Warp the spec to location x, y, z and set pitch and angle (the input values are on the same scale as the idmypos output).

spray

Synopsis: spray <decal>
Scope: client only
Introduced in: 1.??.??

Sprays a decal on a nearby wall so you can see what it looks like.

spy

Synopsis: spy $player_name
spy #player_id
Scope: client only
Introduced in: 0.9

Selects which player you want to spectate.

spynext

Synopsis: spynext
Scope: client only
Introduced in: 0.9

During a multiplayer game or while watching a multiplayer demo, this command will switch your view to the next player.

spynext2

Synopsis: spynext2
Scope: client only
Introduced in: 1.09b21

Differs from spynext in that it avoids going through your own POV.

spyown

Synopsis: spyown
Scope: client only
Introduced in: 1.09b21

Restores the view to your own POV quickly.

spyprev

Synopsis: spyprev
Scope: client only
Introduced in: 0.9

During a multiplayer game or while watching a multiplayer demo, this command will switch your view to the previous player.

spyprev2

Synopsis: spyprev2
Scope: client only
Introduced in: 1.09b21

Differs from spyprev in that it avoids going through your own POV.

stat

Synopsis: stat [page]
Scope: client only
Introduced in: 1.??.??

Displays profiling information. When used alone, displays a list of available displays. Use one of those as the page parameter to toggle the display on and off.

stopdemo

Synopsis: stopdemo
Scope: client only
Introduced in: 1.08.08

Stops the viewing of a demo.

stopmus

Synopsis: stopmus
Scope: client only
Introduced in: 1.??.??

Stops playing the current song.

stoprecord

Synopsis: stoprecord
Scope: client only
Introduced in: 1.??.??

Stops demo recording.

summon

Synopsis: summon <class> [angle [TID [special [args… ]]]]
Scope: client only
Introduced in: 1.??.??

Spawns a new actor in front of you. A complete list of actors can be obtained with the dumpclasses actor command. For a list of actors limited to those you can place in an editor, use the dumpmapthings command. It is possible to spawn actors from another game with this command, but they will not be visible unless you provide the missing graphics for them.

summonfriend

Synopsis: summonfriend <class> [angle [TID [special [args… ]]]]
Scope: client only
Introduced in: 1.??.??

Same as summon, but causes monsters created using this command to attack non-friendly monsters instead of you.

systime

Synopsis: systime
Scope: client only
Introduced in: 1.??.??

Shows the time of your system.

test

Synopsis: test <expr> <true cmd> [false cmd]
Scope: client and server
Introduced in: 1.??.??

timedemo

Synopsis: timedemo
Scope: client only
Introduced in: 1.??.??

Plays a demo as fast as the refresh rate will allow and displays the average framerate attained during playback.

toggle

Synopsis: toggle <cvar>
Scope: client and server
Introduced in: 1.??.??

Toggles the value of cvar between false and true (zero and non-zero).

toggleconsole

Synopsis: toggleconsole
Scope: client only
Introduced in: 1.??.??

Toggles display of the console on/off.

togglemap

Synopsis: togglemap
Scope: client only
Introduced in: 1.??.??

Press to active the automap. Press again to return to the game. If am_overlay is true, this is also used toggle the overlay map.

togglemessages

Synopsis: togglemessages
Scope: client only
Introduced in: 1.??.??

Toggles display of game messages on/off. The only difference between doing this and “toggle show_messages” is that this command always displays a message describing the current state of messages.

turn180

Synopsis: turn180
Scope: client only
Introduced in: 1.??.??

Instantly turns the player 180 degrees, reversing his facing.

turnspeeds

Synopsis: turnspeeds [speed1 [speed2 [speed3 [speed4]]]]
Scope: client only
Introduced in: 1.??.??

Controls how quickly you turn with the keyboard. Using this command without any parameters lists the current turning speeds. To set the speeds, specify at least one, and any you do not specify will be filled in automatically. The different speeds are used in the following situations:

  1. Turning while walking
  2. Turning while running
  3. Just started turning while walking
  4. Just started turning while running

unbind

Synopsis: unbind <key>
Scope: client only
Introduced in: 1.??.??

Removes a binding from the specified key.

unbindall

Synopsis: unbindall
Scope: client only
Introduced in: 1.??.??

Removes all bindings and doublebindings from every key. To restore the default bindings, you can use the binddefaults command.

undoublebind

Synopsis: undoublebind <key>
Scope: client only
Introduced in: 1.??.??

Removes a doublebinding from the specified key.

unset

Synopsis: unset <CVAR>
Scope: client and server
Introduced in: 1.??.??

Undefines a user-created CVAR.

use

Synopsis: use <item>
Scope: client only
Introduced in: 1.??.??

Uses an item of class type <item>, if present in the player's inventory. If the item is not present, nothing happens.

utid

Synopsis: utid [start [limit]]
Scope: client and server
Introduced in: 1.??.??

Prints an unused TID. If start is 0 or omitted, then a random TID will be chosen. Otherwise, it will perform a linear search starting from start_tid. If limit is given and non-0, then it will not check more than <limit> number of TIDs. Prints 0 if no suitable TID was found.

vid_currentmode

Synopsis: vid_currentmode
Scope: client only
Introduced in: 1.??.??

Shows the current video resolution in the console

vid_listmodes

Synopsis: vid_listmodes
Scope: client only
Introduced in: 1.??.??

Shows a list of all available video resolution modes.

vid_setmode

Synopsis: vid_setmode <width> <height>
Scope: client only
Introduced in: 1.??.??

Sets the video resolution to the setting specified.

voice_allow_add

Synopsis: voice_allow_add <nick>
Scope: client only
Introduced in: 1.09b25

Utility commands to facilitate the manipulation of the voice_allow CVAR.

voice_allow_clear

Synopsis: voice_allow_clear
Scope: client only
Introduced in: 1.09b25

Utility commands to facilitate the manipulation of the voice_allow CVAR.

voice_allow_remove

Synopsis: voice_allow_remove <nick>
Scope: client only
Introduced in: 1.09b25

Utility commands to facilitate the manipulation of the voice_allow CVAR.

voice_block_add

Synopsis: voice_block_add <nick>
Scope: client only
Introduced in: 1.09b25

Utility commands to facilitate the manipulation of the voice_block CVAR.

voice_block_clear

Synopsis: voice_block_clear
Scope: client only
Introduced in: 1.09b25

Utility commands to facilitate the manipulation of the voice_block CVAR.

voice_block_remove

Synopsis: voice_block_remove <nick>
Scope: client only
Introduced in: 1.09b25

Utility commands to facilitate the manipulation of the voice_block CVAR.

voice_quickmute

Synopsis: voice_quickmute
Scope: client only
Introduced in: 1.09b25

When this command is issued a numbered list of all players that were talking in the last 60 seconds is shown in sitreps place. If one of the available numbers is pressed the player is added to your block list or removed from your allow list. Pressing any other key closes the menu.

voicepacks

Synopsis: voicepacks
Scope: client and server
Introduced in: 1.??.??

Lists the available voices in the wads loaded. Also lists details on the voice name, volume and number of taunts.

voteinfo

Synopsis: voteinfo
Scope: client only
Introduced in: 1.08.06

Displays the server voting CVARs.

wads

Synopsis: wads
Scope: server only
Introduced in: 1.??.??

Lists the Pwads loaded by server in order of loading.

weapbest

Synopsis: weapbest
Scope: client only
Introduced in: 1.07rc2

Scans the weapons you have and switches to the one with the highest priority.

weapnext

Synopsis: weapnext
Scope: client only
Introduced in: 1.??.??

Selects the next weapon (in order) that you own and have ammo for.

weapon

Synopsis: weapon <slotnumber>
Scope: client only
Introduced in: 1.??.??

Selects the next weapon from the specified weapon slot.

weaponlog

Synopsis: weaponlog
Scope: server only
Introduced in: 1.05.05

Enables / Disables the logging of a frag/weapon log similar to the fraglog, but it also contains info about the weapon used for the frag.

weapprev

Synopsis: weapprev
Scope: client only
Introduced in: 1.??.??

Selects the previous weapon (in order) that you own and have ammo for.

yes

Synopsis: yes
Scope: client only
Introduced in: 1.08.06

When a vote is called this command is used to vote yes.

zdaemon/ccmds.txt · Last modified: 2021-05-11 17:08:54 (3 months ago) by flambeau