Jaymod Cvar Reference
CVAR Reference
dedicated
Name: dedicated — set server mode
Synopsis: dedicated [mode]
Table 13.1. dedicated Modes
Mode | Description | |
---|---|---|
0 | mixed client/server | |
1 | dedicated LAN (do not register with browselists) | |
2 | dedicated Internet (register with browselists) |
Default: dedicated 0
Description: dedicated sets the server mode.
g_adminLog
Name: g_adminLog — set filename used for admin command logging
Synopsis: g_adminLog ["file"]
Default: g_adminLog ""
Description: g_adminLog sets the filename used for admin command logging. The file is always appended to. A value of "" will disable this functionality.
g_admin
Name: g_admin — enable/disable admin system
Synopsis: g_admin [mode]
Mode | Description | |
---|---|---|
0 | disabled | |
1 | enabled |
Default: g_admin 0
Description: g_admin enables or disables admin system (!command) functionality.
g_alliedmaxlives
Name: g_alliedmaxlives — sets maximum number of lives for Allied players
Synopsis: g_alliedmaxlives [num]
Default: g_alliedmaxlives 0
Description: g_alliedmaxlives sets maximum number of lives for Allied players. Setting num to 0 disables max lives enforcement and allows unlimited lives.
Notes: This cvar is superseded by g_maxlives(cvar)
g_altStopwatchMode
Name: g_altStopwatchMode — enable/disable alternative stopwatch gametype
Synopsis: g_altStopwatchMode [mode]
Mode | Description | |
---|---|---|
0 | disabled | |
1 | enabled |
Default: g_altStopwatchMode 0
Description: g_altStopwatchMode enables or disables alternative stopwatch gametype. When enabled causes players to swap teams after each game.
g_ammoRechargeTime
Name: g_ammoRechargeTime — set time interval between ammo-pack cabinet respawns
Synopsis: g_ammoRechargeTime [interval]
Default: g_ammoRechargeTime 60000
Description: g_ammoRechargeTime sets the time interval in milliseconds between ammo-pack cabinet respawns.
g_antiwarp
Name: g_antiwarp — enable/set bitflags for antiwarp functionality
Synopsis: g_antiwarp [flags]
Table 13.2. g_antiwarp Flags
Flag | Description | |
---|---|---|
1 | enable antiwarp functionality | |
32 | log player's warping to their desktop |
Default: g_antiwarp 1
Description: g_antiwarp enable/sets bitflags for antiwarp functionality.
Warping occurs when the server recieves several new commands for a player in a very short period of time. This happens because packets from the player were lost or never sent. The player will appear to cross a great distance in a very short period of time, making them hard to hit and possibly allowing them to avoid landmine damage.
The antiwarp system delays commands when they are recieved too quickly. Thus, when a player sends 700ms worth of commands in 50ms, the commands will be spread out over 700ms, causing the player to move smoothly to other players. This affects the player who sent the commands too quickly only by increasing their ping, and will not keep increasing ping endlessly - at maximum, the added ping is the highest ping the player is actually getting. If temporary network issues cause ping to increase beyond a sensible number, the player can stand still for a moment and their ping will normalize.
The net effect is that players with unreliable or congested upstream will not benefit from their situation; rather they (in a sense) are penalized for it, while all the other players on the server are not.
Caution: Flags enabling extra debug/logging can be extremely network-expensive and should not be used for normal gameplay.
Note: The initial code implementation for antiwarp was contributed to Jaymod by Zinx Verituse, June 2007.