quakeforge/doc/qw-server-cmd.txt
Bill Currie de059239fa several fixes to cmd.php and cvar.php
rewrite documentation.php (I'll have to rethink it due to the slow rendering
in netscape)
add a link to the docs form the 0.5 section of files.php
2001-11-06 09:43:55 +00:00

152 lines
6.2 KiB
Text

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
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
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.
Example:
localinfo dm2 dm4
localinfo dm4 dm6
localinfo dm6 dm2
(localinfo key value)
logfile :
Toggles logging of console text to qconsole.log
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
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))
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.
Values:
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)
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.
Examples:
setmaster 192.246.40.12:27002
setmaster 192.246.40.12:27002 192.246.40.12:27004
setrom :
Set the selected variable and make it read only, useful on the command line.
(+setrom variablename setting)
snap :
FIXME: Take a screenshot of userid? No Description
snapall :
FIXME: No Description
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.
Example:
gamedir tf2_5; sv_gamedir fortress
gamedir ctf4_2; sv_gamedir ctf
(sv_gamedir dirname)
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