Admin CVARs
From No Quarter Wiki
cpu_affinity (1.2.5 - 1.2.7 only)
- Description
- Set the preferred CPU('s) in a multi-core system to run the game on.
- Parameters
- Type: bitmask
0 The game runs on all available CPU's with the same affinity 0< CPU Affinity settings overview
- Default: 0
g_antiWarp (Changed in 1.2.8)
- Description
- Enable or disable AntiWarp technology.
- Parameters
- Type: [0|1|2]
0 Disable AntiWarp (not recommended) 1 Enable AntiWarp (standard method) 2 Enable new NQ AntiWarp method. Clients will notice less extrapolating of player movements, reflected in a more stable lag-o-meter (recommended) (New in 1.2.8).
- Default: 1
g_autoTempBan (New since 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 (New since 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_csMethod (New since 1.2.7)
- Description
- Usage of this cvar is experimental
- Sets the method used by No Quarter to handle the config string (CS). For more info see the FAQ: How to avoid config string issues
- This CVAR is created specifically for bigger servers with plenty players, eliminating MAX_GAMESTATE_CHARS errors.
- Note: This CVAR is still in the experimental phase.
- Parameters
- Type: [0|1]
0 Common way. Full variables in the CS are sent. Use this for scrims and if you want to record demo's. 1 Updates only. Only new variables in the CS are sent. Note: Demo recordings do not fully work and some infos are lost!
- Default: 0
g_csStrings (New since 1.2.7)
- Description
- g_csStrings - This cvar sets the number of strings packed in one packet.
- Increase the value to a maximum of 15 if there are players on the server reporting init screen issues.
- We suggest to test some lower values first, and if the problem persists, increase the value until it works properly.
- Note: If none helped use g_csMethod 0.
- Parameters
- Type: [1 ... 15]
X Number of Strings packet in one UDP packet.
- Default: 3
g_excludedMaps (New since 1.2.8)
- Description
- Exclude specific maps from the voting list. Use the following syntax; g_excludedMaps ":bsp-map-name:"
- Example: set g_excludedMaps ":fueldump:oasis:").
- Note: Do not set if you don't use map voting! Map voting requires g_gametype 6.
- Parameters
- Type: string
- Default: ""
g_forcecvarFile (New since 1.2.7)
- Description
- Sets the filename with forced cvars settings to be used. Put the file into fs_homepath. The file can contain forcecvar & sv_cvar commands and usually carries the .cfg extension. The extension must also be included in the given filename. If this cvar is set, the given file will be executed at every mapstart. All the settings will be checked for the complete duration of a map.
- Parameters
- Type: string
- Default: ""
g_inactivity
- Description
- Time, in seconds, a player can stay inactive (no moving and firing when he is not dead) 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 (Changed in 1.2.8)
- Description
- Sets options for console log.
- Parameters
- Type: bitmask
128 Log the GUID's 256 Log all private messages 512 Real time stamps (dvl) 1024 Log IP and player name (useful for VSP Stats and other ET tracking software)
- Default: 0
g_mapScriptDirectory
- Description
- Changes directory for custom mapscripts. Similar to ETPro's "b_mapScriptsDirectory".
- Parameters
- Type: string
- Default: ""
g_mapVoteFlags (New since 1.2.8)
- Description
- Controls map voting options.
- Note: Do not set if you don't use map voting! Map voting requires g_gametype 6.
- Parameters
- Type: bitmask
1 Changes the tie breaker so that the map not played the longest wins. 2 Intermission doesn't end until g_intermissionReadyPercent people have voted. If there are no players connected to the server, intermission will end at the timeout. Warning: This means that if there are spectators connected and not voting, the next map will not load until those spectators either vote, disconnect, or get kicked by the system! 4 Enables multi-voting. Which allows everybody to vote for 3 maps instead of one. First map of choice gets 3 votes, the second 2 and the third map gets one. 8 Don't randomize the maps, so they will always appear in the same order. 16 A passed nextmap vote (when g_gametype is 6) will start the intermission and lets players vote which map should be played next. Note: One of the two teams will automatically be displayed as the current map winner.
32 Disables the ready button during intermission.
- Default: 0
g_maxMapsVotedFor (New since 1.2.8)
- Description
- Total number of listed maps that can be voted for during intermission.
- Note: Do not set if you don't use map voting! Map voting requires g_gametype 6.
- Parameters
- Type: integer
- Default: 6
g_minHits (New since 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_minMapAge (New since 1.2.8)
- Description
- Controls how many maps need to be played before a previously played map can be voted for again.
- Note: Do not set if you don't use map voting! Map voting requires g_gametype 6.
- Parameters
- Type: integer
- Default: 3
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_resetXPMapCount (New since 1.2.8)
- Description
- Controls how many maps need to be played before player XP is reset. If g_XPSave flag 4 is set, g_resetXPMapCount is ignored. Similarly, if g_resetXPMapCount is set to 0, it is the same as setting g_XPSave flag 4.
- Note: Do not set if you don't use map voting! Map voting requires g_gametype 6.
- Parameters
- Type: integer
- Default: 0
g_SBCheats (Removed in 1.2.5)
- 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_shortcuts (Changed in 1.2.7)
- Description
- Toggles shortcuts for player names, current health and other useful info.
- Shortcuts
[a] Last player who gave you ammo [b] Last teammate who teambleeded you (New in 1.2.7) [c] Amount of teamdamage the last teammate inflicted on you (New in 1.2.7) [d] Last player who killed you [f] Last teammate who called for ammo from a fieldops (New in 1.2.7) [h] Last player who gave you health [k] Last player you killed [l] Your current location [m] Last teammate who called for a medic (New in 1.2.7) [n] Your name [p] Teammate you're currently pointing at [r] Last player who revived you [s] Your current health [t] Ammo for current weapon [w] Weapon you're currently holding [x] Last player who connected to the server (New in 1.2.7)
- 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_spectator
- Description
- Sets flags for various spectator options.
- Parameters
- Type: bitmask
1 Players will have a team coloured glow around them (red=Axis, blue=Allies). 2 Players will have their names shown above them.
- 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_teamDamageRestriction (New since 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.
- Note: Shrubbot flag "1" (Player cannot be vote-kicked, vote-muted, or complained against) overwrites this setting.
- Parameters
- Type: integer
- Default: 0
g_truePing
- Description
- Enable or disable displaying real ping instead calculated one.
- Parameters
- Type: boolean
- 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 (New since 1.2.5)
- Description
- Parameters
- Type: string
- Default: ""
lua_modules (New since 1.2.5)
- Description
- Parameters
- Type: string
- Default: ""
nq_scriptMode (New since 1.2.8)
- Description
- Controls No Quarter's new optimized mapscript processing settings. Set to 0 to use old processing code (no pre-parsing/caching). Check out your server log files for errors if a map causes unexplained errors/bugs.
- Parameters
- Type: bitmask
1 Use new mapscript processing code G_Script Preparse 2 Use new non-recursive G_RunEntity 4 Use new G_Script_GetEventIndex
- Default: 7
omnibot_enable
- Description
- Enables Omni-Bots if they are installed on the server.
- Parameters
- Type: boolean
- Default: 0
omnibot_flags (Changed in 1.2.8)
- 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) 16 Bots will gib wounded players, so they can no longer be revived (New in 1.2.7) 32 Bots will trigger team mines and spotted mines (New in 1.2.8) 64 Bots are able to use g_shove (New in 1.2.8)
- Default: 0
omnibot_path
- Description
- Must point to the absolute path of where Omni-Bot is installed.
- Example: set omnibot_path "/home/<user>/enemy-territory/omni-bot/" (note the slashes at both the beginning and end of the path).
- Parameters
- Type: string
- Default: ""