Command Documentation for qw-server
|cmds available in qw-server|
|addip||Add a single IP or a domain of IPs to the IP list of the server.|
Useful for banning people. (addip (ipnumber))
|alias||Used to create a reference to a command or list of commands.|
When used without parameters, displays all current aliases.
Note: Enclose multiple commands within quotes and seperate each command with a semi-colon.
|ban||ban a player for a specified time|
|cache_flush||Clears the current game cache|
|cache_print||Prints out items in the cache|
|cache_profile||Prints a profile of the current cache|
|cmdlist||List all commands|
|cuff||"hand-cuff" a player for a specified time|
|cvarlist||List all cvars|
|cycle||Cycle a cvar through a list of values|
|echo||Print text to console|
|edict||Report information on a given edict in the game. (edict (edict number))|
|edictcount||Display summary information on the edicts in the game.|
|edicts||Display information on all edicts in the game.|
|exec||Execute a script file.|
|floodprot||Sets the options for flood protection.|
Default: 4 4 10
(floodprot (number of messages) (number of seconds) (silence time in seconds))
|floodprotmsg||Sets the message displayed after flood protection is invoked (floodprotmsg message)|
|fraglogfile||Enables logging of kills to frag_##.log|
|gamedir||Specifies the directory to be used while playing.|
|give||Give userid items, or health.|
Items: 1 Axe, 2 Shotgun, 3 Double-Barrelled Shotgun, 4 Nailgun, 5 Super Nailgun, 6 Grenade Launcher, 7 Rocket Launcher,
8 ThunderBolt, C Cells, H Health, N Nails, R Rockets, S Shells. Requires cheats to be enabled. (give userid item amount)
|god||Toggle god cheat to userid (god userid) Requires cheats are enabled|
|heartbeat||Force a heartbeat to be sent to the master server.|
A heartbeat tells the Master the server's IP address and that it is still alive.
|help||Display help for a command or variable|
|inc||Increment a cvar|
|kick||Remove a user from the server (kick userid)|
|listip||Print out the current list of IPs on the server list.|
|localinfo||Shows or sets localinfo variables.|
Useful for mod programmers who need to allow the admin to change settings.
This is an alternative storage space to the serverinfo space for mod variables.
The variables stored in this space are not broadcast on the network.
This space also has a 32-kilobyte limit which is much greater then the 512-byte limit on the serverinfo space.
Special Keys: (current map) (next map) - Using this combination will allow the creation of a custom map cycle without editing code.
localinfo dm2 dm4
localinfo dm4 dm6
localinfo dm6 dm2
(localinfo key value)
|map||Change to a new map (map mapname)|
|maplist||List all maps on the server|
|match||matches nicks as ban/cuff/mute commands do, so you can check safely|
|mute||silience a player for a specified time|
|net_packetlog_zap||clear the packet log file|
|netdosexpire||FIXME: part of DoS protection obviously, but I don't know what it does. No Description|
|netdosvalues||FIXME: part of DoS protection obviously, but I don't know what it does. No Description|
|noclip||Toggle no clipping cheat for userid. Requires cheats to be enabled. (noclip userid)|
|path||Show what paths Quake is using|
|plugin_load||load the plugin of the given type name and name|
|plugin_unload||unload the plugin of the given type name and name|
|print value at location|
|profile||FIXME: Report information about QuakeC Stuff (???) No Description|
|quit||Shut down the server|
|removeip||Remove an IP address from the server IP list. (removeip (ipnumber))|
|reset||Reset a cvar|
|resetall||Reset all cvars|
|restart||Restart the server (with shell support)|
|say||Say something to everyone on the server. Will show up as the name 'Console' (or 'Admin') in game|
|sayinfo||Say something to everyone on the server. Will show up as the name 'Info' in game|
|serverinfo||Reports or sets information about server.|
The information stored in this space is broadcast on the network to all players.
dq - Drop Quad Damage when a player dies.
dr - Drop Ring of Shadows when a player dies.
rj - Sets the multiplier rate for splash damage kick.
needpass - Displays the passwords enabled on the server.
watervis - Toggle the use of r_watervis by OpenGL clients.
Note: Keys with (*) in front cannot be changed. Maximum key size cannot exceed 64-bytes.
Maximum size for all keys cannot exceed 512-bytes.
(serverinfo key value)
|set||Set the selected variable, useful on the command line (+set variablename setting)|
|seta||Set the selected variable, and make it archived, useful on the command line (+seta variablename setting)|
|setmaster||Lists the server with up to eight masters.|
When a server is listed with a master, the master is aware of the server's IP address and port and it is added to the
list of current servers connected to a master. A heartbeat is sent to the master from the server to indicated that the
server is still running and alive.
setmaster 188.8.131.52:27002 184.108.40.206:27004
|setrom||Set the selected variable and make it read-only, useful on the command line. (+setrom variablename setting)|
|sleep||Wait for a certain number of seconds.|
|snap||Take a screenshot of userid|
|snapall||Take a screenshot of all users|
|status||Report information on the current connected clients and the server - displays userids|
|stuffcmds||Execute the commands given at startup again|
|sv_gamedir||Displays or determines the value of the serverinfo *gamedir variable.|
Note: Useful when the physical gamedir directory has a different name than the widely accepted gamedir directory.
gamedir tf2_5; sv_gamedir fortress
gamedir ctf4_2; sv_gamedir ctf
|tell||Say something to a specific user on the server. Will show up as the name 'Console' (or 'Admin') in game|
|toggle||Toggle a cvar on or off|
|unalias||Remove the selected alias|
|user||Report information about the user (user userid)|
|wait||Wait a game tic|
|writeip||Record all IP addresses on the server IP list. The file name is listip.cfg|