Admin CVARs
From No Quarter Wiki
g_autoTempBan (1.2.3)
- Description
- When set, anyone kicked for the reasons you specify, will be temporarily banned for g_autoTempBanTime seconds.
- Parameters
- Type: bitmask
1 Tempban when reaching g_teamDamageRestriction 2 Tempban when someone is kicked by a shrubbot admin (using the !kick command). A normal shrubbot !kick kicks for 120 seconds 4 Tempban when someone is kicked by the advanced warning system. A normal kick by the warning system lasts 120 seconds
- Default: 0
g_autoTempBanTime (1.2.3)
- Description
- The number of seconds kicked for when g_autoTempBan is set.
- Parameters
- Type: integer
- Default: 1800
g_censor
- Description
- A comma delimited string of words that will be censored from chat.
- Parameters
- Type: string
- Default: ""
g_censorMuteTime
- Description
- When the value of g_censorPenalty contains flag 8, censored player will be muted for g_censorMuteTime seconds
- Parameters
- Type: integer
- Default: 60
g_censorNames
- Description
- A comma delimited string of words that will be censored from player names.
- Parameters
- Type: string
- Default: ""
g_censorPenalty
- Description
- Sets the penalty for saying a word in the g_censor list.
- Parameters
- Type: bitmask
1 Gib player 2 Kick players with names containing words in g_censorNames 4 Kill player, but don't gib (flag 1 has priority over this) 8 Auto-mute for g_censorMuteTime [60] seconds. 16 Lose 10 XP 32 Burn 64 Poison
- Default: 0
g_countryflags
- Description
- Enable/Disable country flags system. You need a valid GeoIP.dat in your noquarter path of the server. This file can be downloaded from http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz and needs to be unzipped afterwards. You should read and accept the license of this database, see http://www.maxmind.com/download/geoip/database/LICENSE.txt. In case of problems check your logfiles. The GeoIP code will log errors in etconsole.log with a "GeoIP" prefix.
- Parameters
- Type: boolean
- Default: 0
g_inactivity
- Description
- Time, in seconds, a player can stay inactive (no moving and firing when he is not death) before he is moved to the spectators. If enabled, a warning message is sent to the inactive player after half of the specified time. See also g_spectatorInactivity.
- Parameters
- Type: integer
- Default: 0
g_intermissionTime
- Description
- Set the length of time the end of game screens displays before loading the next map
- Parameters
- Type: integer
- Default: 60
g_intermissionReadyPercent
- Description
- The percent of connected players who need to hit the "READY" button to move on to the next map without waiting g_intermissionTime to run out.
- Parameters
- Type: integer
- Default: 100
g_logChat
- Description
- Sets the name of the chat log file. When nothing is set, chat log is disabled.
- Parameters
- Type: string
- Default: ""
g_logCrash
- Description
- Sets the name of the crash log file. Default is recommended.
- Parameters
- Type: string
- Default: "crash.log"
g_logOptions
- Description
- Sets options for console log.
- Parameters
- Type: bitmask
128 Log the GUIDs 256 Log all private messages 512 Real time stamps (dvl)
- Default: 0
g_mapScriptDirectory
- Description
- Changes directory for custom mapscripts. Similar to ETPro's "b_mapScriptsDirectory".
- Parameters
- Type: string
- Default: ""
g_minHits (1.2.3)
- Description
- Minimum number of damaging hits required before calculating if player has reached g_teamDamageRestriction threshold. Flamethrower and landmine hits are adjusted similar to shrub. Medics get -2 hits for every revive.
- Parameters
- Type: integer
- Default: 6
g_msgs
- Description
- Duration between banner messages setting g_msgX cvars, (g_msg1, g_msg2, etc.). The first missing g_msgX cvar will start the message cycle over, back to the first message.
- Parameters
- Type: integer
- Default: 0
g_msgPos
- Description
- Change the location of banner messages if g_msgs is non-zero and g_msgX cvars are set.
- Parameters
- Type: [0|1|2]
0 Chat area 1 Center of screen 2 Left notification area (CPM)
- Default: 0
g_spectatorInactivity
- Description
- Time, in seconds, a spectator can stay inactive before he is kicked for inactivity. If enabled, a warning message is sent to the inactive spectator after half of the specified time. See also g_inactivity.
- Parameters
- Type: integer
- Default: 0
g_shortcuts
- Description
- Toggles shortcuts for player names, current health and other useful info.
- Shortcuts
- [a] - Last person who gave you ammo
- [d] - Last person who killed you
- [h] - Last person who gave you health
- [k] - Last person you killed
- [l] - Your current location
- [n] - Your name
- [r] - Last person who revived you
- [p] - Teammate you are pointing at
- [s] - Your health
- [w] - Weapon you are currently holding
- [t] - Ammo for current weapon
- Parameters
- Type: boolean
- Default: 0
g_shrubbot
- Description
- Sets the name of the shrubbot config file. When nothing is set, shrubbot features are disabled. Read more in the Shrubbot area.
- Parameters
- Type: string
- Default: "shrubbot.cfg"
g_SBCheats
- Description
- Enables or disables the ability for admins to use shrubbot cheat commands such as !ammopack, !medpack, and !give
- Parameters
- Type: boolean
- Default: 0
g_spectator
- Description
- Change the viewing options in spectator mode.
- Parameters (1.1.1 and above)
- Type: bitmask
1 Draws a team colored glow around every player (red=Axis, blue=Allies) 2 Shows player names above their heads
- Default: 0
- Parameters (1.1.0)
- Type: bitmask
1 Shows no names and no glow. 2 Players will have a team colored glow around them, without showing player names. 4 Shows player names above their heads, without a team colored glow.
- Default: 0
g_teamDamageRestriction (1.2.3)
- Description
- When greater than 0, anybody that has this percentage of hits inflicted on a teammate will automatically be kicked. A minimum of g_minhits hits total required before this is calculated. Client can check the current stats for themselves by typing /damage in the console. Implemented to mimic shrub behaviour as much as possible, there are other ways to implement this feature, which may be implemented in addition to current manner.
- Parameters
- Type: integer
- Default: 0
g_tyranny
- Description
- This cvar controls the use of administrator commands that could be used by admins to cheat or abuse players. If it is set to 0 you will not be able to use commands on your server such as !gib, !slap, !burn, !poison, etc. NOTE: If you enable this, you MUST do so immediately when the server starts, before the first map is loaded, by putting it into your main server config
- Parameters
- Type: boolean
- Default: 0
ip_max_clients
- Description
- Protective CVAR to prevent connection flooding attacks like q3fill. Limits the number of connections per IP.
- Parameters
- Type: integer
- Default: 3
lua_allowedModules (1.2.5)
- Description
- Parameters
- Type: string
- Default: ""
lua_modules (1.2.5)
- Description
- Parameters
- Type: string
- Default: ""
omnibot_enable
- Description
- Enables Omni-Bots if they are installed on the server.
- Parameters
- Type: boolean
- Default: 0
omnibot_flags
- Description
- Various flags affecting the behaviour of bots.
- Parameters
- Type: bitmask
1 Disable XPSave for bots 2 Bots cannot mount tanks 4 Bots cannot mount emplaced guns 8 Don't count bots (this affects the value of the cvar 'omnibot_playing' which contains the number of bots playing or -1 if this flag is set)
- Default: 0
omnibot_path
- Description
- Must point to the absolute path of where Omni-Bot is installed.
- Parameters
- Type: string
- Default: ""