quakeforge/doc/qf-server-cmd.txt
2001-02-06 19:21:47 +00:00

134 lines
5.5 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.
cmdlist :
List all commands
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)
flush :
Clears the current game cache
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 are 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 quake help
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
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 are 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' 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)
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