Newsflash

Warning: Tyrants may be hazardous to your health.
 

Mercenaries Guild

We Do Stuff!

Server Variables

There is a growing and mostly undocumented collection of server variables. This is difficult for normal server admins to keep track of. Luckily, here is a (non-comprehensive) listing:

Additions, modifications and corrections are most welcome.

Server Variables
VariableDefault ValueDescriptionBuild Variable appears in
cl_wwwDownload 1 Whether to enable WWW downloads (curl)tjw
g_admin admin.datLocation of the admin filesvn, pretty much all current builds
g_adminLog admin.logLocation of the logfile for admin commandssvn, pretty much all current builds
g_adminNameProtect 1 People cannot join using an existing admins namesvn, pretty much all current builds
g_adminParseSay 1 Admins can say admin commands in chatsvn, pretty much all current builds
g_adminTempBan 120In seconds, how long a person is banned after being kicked.svn, pretty much all current builds
g_alienBuildPoints 100 Number of buildpoints for alien team, not sure of the math :) Default
g_alienMaxStage 2 Maximum alien stage Allowed(s1=0, s2=1, s3=2)Default
g_alienStage2Threshold 20 threshold for aliens to reach stage 2, , not sure of the math :) Default
g_alienStage3Threshold 40 Threshold for aliens to reach stage 3, not sure of the math :) Default
g_allowSharing 0 enable disable /share and /donate commandsrisujin, aliens' wrath
g_chatTeamPrefix 1Prefix chat with your team, so humans can't say DECON OM, etc?
g_connectwait 15 Not surer1admin
g_dretchPunt 1 Dretches are "punted" out of the way of larger aliensTJW
g_floodMinTime 1000Time between messages before it's considered a flood??
g_forceAutoSelect 0 0 pick your own team, 1 Server picks your team for you, forced Auto Select Kevlarman's build, Avenger's build
g_friendlyFire 0 teammates may damage each otherDefault
g_friendlyFireAliens 0 Aliens may damage each othersvn
g_friendlyFireHumans 0 Humans may damage each othersvn
g_friendlyBuildableFire 1 teammates may damage buildingssvn
g_gravity 800 gravity setting, map specific settings can change thisDefault
g_humanBuildPoints 100 Number of build points for human teamDefault
g_humanMaxStage 2 Maximum human stage allowed(s1=0, s2=1, s3=2)Default
g_humanStage2Threshold 20 threshold for humans to reach stage 2, not sure of the math :) Default
g_humanStage3Threshold 40 threshold for humans to reach stage 3, not sure of the math :) Default
g_initialMapRotation following the first map, start this rotation found in maprotation.cfgDefault
g_markDeconstruct 0 Buildings are marked to be deconned instead of instantly deconned svn, requires client download to work right
g_maxNameChanges 5 Number of name changes a player is allowed to make in a certain time framesvn, pretty much all current builds
g_maxWarp3the maxiumum number of server frames a client is allowed to miss before it's next movement is clipped. Default is 3 ( 150ms on most servers ) Set this to 0 to disable it.TJW's Patch
g_minCommandPeriod 500 Affects minimum time between client commands (+/- commands not affected)Default
g_motd message at connection screenDefault
g_needpass 0 or 1 toggle password needed to join the serverDefault
g_newbieNumbering1Automatically number unnamed playersFooBar's Patch
g_newbieNamePrefixstringPrefixes the number with this?FooBar's patch
g_password server password needed to joinDefault
g_retribution 0-100What percentage of payback TKers will paybalance mod and risujin's qvm
g_specsSeeTeamchat1Spectators see team chat of the team they are followingPaolo's patch
g_skipCorrection0if set to non-0, the server will guess where there player would have moved based on his current trajectory and sends this position in the next snapshot to all clients. Also, other players will be able to hit them at this predicted location.TJW's Patch
g_suddendeathtime 35The time when sudden death starts. No building, build points are removedDefault
g_teamForceBalance 1 forces each team to have a similar number of players, won't allow players to join a team that has more players than the otherDefault
g_unlagged 0 0 disable unlagged, 1 enable unlagged svn, pretty much all builds now
g_waitconnect 15 Not sure?
hostname Tremulous 1.1.0 ServerServer nameDefault
net_ip localhost sets the IP to listen onDefault
net_port 30720 Sets the UDP port the server listens onDefault
rconPassword rcon password for remote access to changing server settingsDefault
sv_allowDownload 0 allow UDP downloads from the serverDefault
sv_dlURL Where clients should get http downloads, will default to URL/base. Use "sets" instead of "set" for servers with sv_wwwBaseURLsvn
sv_hostname noname server name in server listDefault
sv_maxclients 8 maximum number of clients your server will allow including private slots, up to 64Default
sv_maxPing 0 Maximum latency for connected clients, prevents connection of clients with higher pingDefault
sv_maxrate 0 Maximum rate for connected clients, in what I'm not sure, milliseconds maybe?Default
sv_minPing 0 Minumum latency for connected clientsDefault
sv_minRate 1000 Minumum rate for connected clients, in what I'm not sure, milliseconds maybe?Default
sv_minsnaps 10 Minumum snapshots for connected clientsDefault
sv_privateClients 0 number of private slots, substracted from sv_maxclients. Have at least one so an admin can always connectDefault
sv_privatePassword set password at client to use slotDefault
sv_pure 1 Client side loaded pk3's must exist in the server's base directoryDefault
sv_wwwBaseURL Where clients should get http downloads, will default to URL/base. Use "sets" instead of "set" instead ofserver.cfgtjw
sv_wwwDownload 1 allow clients to use http downloadstjw
timelimit 0 Absolute Game Timelimit Default

The last line of server.cfg is: map tremor It lists the first map loaded on server start, and is followed by the map rotation.

 
server_variables.txt (580592 views) · Last modified: 2008/06/26 12:47 by 69.14.16.27
 
Recent changes RSS feed Creative Commons License Donate Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Powered by Joom Prosolution