-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration & Cvars
Complete server cvar reference for Jaymod 2.2.0, sourced from the official documentation. Bitmask cvars accept the sum of any combination of their flag values.
Quick links: Admin | Banners | Classes & Skills | Gameplay | Hitmode | Logging | Networking | Teams | Voting | Weapons | XP-save
Enable or disable the admin system (!command functionality).
| Value | Description |
|---|---|
0 |
Disabled |
1 |
Enabled |
Default: 0
See also: g_adminLog, Admin System
Filename for admin command logging. Appended to on each write. Empty string ("") disables logging.
Default: ""
See also: g_admin, g_log, g_logOptions
Path to the game log file.
Default: ""
See also: g_logOptions, g_logSync, g_adminLog
Bitflags for game log options. Only applies when g_log is set.
| Value | Description |
|---|---|
2 |
Log extended weapon stats for new hit zones |
8 |
Log ban events |
Default: 0
Enable synchronous log writes (flushes after every write, slower but safer on crash).
Default: 0
Server name shown in the browser.
Default: "ETHost"
Six lines of Message-of-the-Day text shown to players on connect.
Default: ""
Message shown when a player files a protest.
Default: "Visit www.myserver.com to file a protest."
Message shown to a player who is kicked. Use $TIME as a placeholder for the kick duration.
Default: "You have been kicked for $TIME."
Default kick duration when no duration is specified.
Default: "2m" (supports d, h, m, s suffixes)
Number of rotating banners to display. A value of 0 disables banners. Requires corresponding g_banner1 … g_bannerN cvars to be defined.
set g_banners 3
set g_banner1 "^3Welcome to MyServer!"
set g_banner2 "^3Visit myserver.net"
set g_banner3 "^3Powered by Jaymod"
Default: 0
See also: g_bannerLocation, g_bannerTime
Where banners are displayed on client screens.
| Value | Description |
|---|---|
0 |
Chat area |
1 |
Left side of screen |
2 |
Center of screen |
3 |
Console only |
4 |
Top-center of screen |
Default: 0
See also: g_banners, g_bannerTime
Duration each banner is displayed, in seconds. Minimum value is 5 s.
Default: 5
See also: g_banners, g_bannerLocation
General gameplay mode.
| Value | Description |
|---|---|
2 |
Objective |
3 |
Stopwatch |
4 |
Campaign |
5 |
Last-Man-Standing |
Default: 4
See also: g_altStopwatchMode, g_lms_roundlimit, g_lms_matchlimit
Enable alternate stopwatch mode.
Default: 0
Path to the campaign file.
Default: ""
Bitflags for headshot behavior.
| Value | Description |
|---|---|
1 |
Only headshots deal damage |
2 |
Headshots are instant kills |
Default: 0
Enable knife-only game mode.
Default: 0
Warning: Mutually exclusive with
g_panzerWarandg_sniperWar.
Enable Panzer War mode. Players spawn as Soldier with panzerfaust, knife, and 100 grenades. Panzer shoots faster, charge recharges faster, player runs faster. Ammo is infinite; damage is 33 %; splash radius is 67 %.
Default: 0
Warning: Mutually exclusive with
g_knifeonlyandg_sniperWar.
Enable Sniper War mode. Players spawn as Covert-Ops with sniper rifle, knife, binoculars, and 400 rounds with all CO skills. Scoped headshots are instant kills.
Default: 0
Warning: Mutually exclusive with
g_knifeonlyandg_panzerWar.
Allow players to join a match already in progress.
Default: 1
Minimum players required to start a match.
Default: 0
Mute spectators during a match.
Default: 0
Percentage of players that must be ready for the match to begin.
Default: 100
Number of timeouts each team is allowed.
Default: 3
Duration of each timeout in seconds.
Default: 180
Enable damage during warmup.
Default: 1
Override Allied team respawn time in seconds (0 = map default).
Default: 0
Override Axis team respawn time in seconds (0 = map default).
Default: 0
Force team balance — players cannot join a team with more players.
Default: 1
Maximum lives for the Allied team (overridden by g_maxlives).
Default: 0
Maximum lives for the Axis team (overridden by g_maxlives).
Default: 0
Maximum lives for all players. Overrides g_alliedmaxlives and g_axismaxlives. 0 = unlimited.
Default: 0
Extra respawn delay in seconds applied when a player is out of lives.
Default: 0
Enforce max-lives restrictions even for players who have not yet spent any lives.
Default: 1
In Last-Man-Standing: spectators can only follow their own team.
Default: 1
Lock teams at match start in LMS mode.
Default: 0
Number of matches in LMS mode.
Default: 2
Number of rounds per match in LMS mode.
Default: 3
Force team balance in LMS mode.
Default: 1
Limit the percentage of each team that can simultaneously carry a heavy weapon. 100 = no restriction.
Default: 100
Prevent players from switching teams after joining.
Default: 0
Friendly-fire kick threshold as a percentage of total hits (1–100). When exceeded the player is kicked. 0 = disabled.
Default: 0
See also: g_teamDamageMinHits
Minimum number of hits recorded before g_teamDamageRestriction is evaluated.
Default: 6
Maximum players per team (0 = unlimited).
Default: 0
Maximum artillery (air strikes) per team (-1 = unlimited).
Default: 6
Maximum landmines per team.
Default: 20
team_maxFlamers, team_maxGrenLaunchers, team_maxM97s, team_maxMG42s, team_maxMortars, team_maxPanzers
Per-team weapon limits. -1 = unlimited.
Default: -1
Per-team class count limits. -1 = unlimited.
Default: -1
Disable team control (no auto-balance).
Default: 1
Bitflags for Covert-Ops behavior.
| Value | Description |
|---|---|
1 |
Keep disguise when class-switching |
2 |
Keep disguise when throwing med packs and reviving |
4 |
Keep disguise when throwing ammo packs |
8 |
Keep disguise when laying mines or using pliers |
16 |
Enable stealing uniform from a live player from behind |
32 |
Draw disguised enemy name when close-up |
Default: 0
Bitflags for Engineer behavior.
| Value | Description |
|---|---|
1 |
Friendly landmines are not tripped by own team |
2 |
Friendly dynamite cannot be disarmed by own team |
4 |
Enable shared construction XP |
Default: 0
Bitflags for Medic behavior.
| Value | Description |
|---|---|
4 |
Regenerate normal health at 2 HP/s and bonus health at 1 HP/s |
8 |
Completely disable health regeneration |
16 |
Enable adrenaline sharing |
32 |
Pause health regeneration for 5 s after the player takes damage |
Default: 0
Note: Bits
4and8are mutually exclusive. Normal health is up to 110–125 HP; bonus health is any additional capacity.
See also: g_medicChargeTime, g_medicSelfHealDelay
Bitflags for Soldier behavior.
| Value | Description |
|---|---|
1 |
Enable gravity effect on panzer rockets |
Default: 0
Bitflags for skill carry-over behavior.
| Value | Description |
|---|---|
1 |
Level-4 battle-sense can spot mines for the whole team |
2 |
Level-4 explosives-and-construction skill carries over to all classes |
4 |
Adrenaline carries over to all classes |
8 |
Level-4 signals enables all classes to spot disguised enemies |
Default: 0
Default starting skill levels for all classes, space-separated (7 values in class order).
Default: "0 0 0 0 0 0 0"
g_levels_battlesense, g_levels_covertops, g_levels_engineer, g_levels_fieldops, g_levels_lightweapons, g_levels_medic, g_levels_soldier
XP thresholds for each skill level (5 values per class).
Default: "20 50 90 140 200"
Bitflags for the 5th-level Engineer skill.
| Value | Description |
|---|---|
1 |
Consume less charge |
2 |
More grenades |
4 |
Landmines take longer to spot |
8 |
Landmines take longer to defuse |
16 |
Increased construction speed |
32 |
Enable S-mines |
64 |
Enable poison-gas mines |
Default: 127 (all enabled)
Bitflags for the 5th-level Medic skill.
| Value | Description |
|---|---|
1 |
Consume less charge |
2 |
More grenades |
16 |
Carry-over health recharge for Covert-Ops |
32 |
Carry-over health recharge for Engineer |
64 |
Carry-over health recharge for Field-Ops |
128 |
Carry-over health recharge for Soldier |
Default: 243
Bitflags for the 5th-level Soldier skill.
| Value | Description |
|---|---|
1 |
Consume less charge |
2 |
More grenades |
4 |
Enable poison-gas grenade |
Default: 7
Bitflags for the 5th-level Covert-Ops skill.
| Value | Description |
|---|---|
1 |
Consume less charge |
2 |
More grenades |
4 |
Enable poison-gas grenade |
Default: 7
Bitflags for the 5th-level Field-Ops skill.
| Value | Description |
|---|---|
1 |
Consume less charge |
2 |
More grenades |
Default: 3
Bitflags for the 5th-level Light-Weapons skill.
| Value | Description |
|---|---|
1 |
Reduced recoil time |
Default: 1
Bitflags for the 5th-level Battle-Sense skill.
| Value | Description |
|---|---|
1 |
Faster stamina recharge |
Default: 1
All values are in milliseconds.
| Cvar | Default | Description |
|---|---|---|
g_covertopsChargeTime |
30000 |
Covert-Ops charge time |
g_engineerChargeTime |
30000 |
Engineer charge time |
g_LTChargeTime |
40000 |
Field-Ops charge time |
g_soldierChargeTime |
20000 |
Soldier charge time |
g_medicChargeTime |
45000 |
Medic charge time |
g_medicSelfHealDelay |
0 |
Delay in ms before medic can self-heal |
g_ammoRechargeTime |
60000 |
Ammo recharge time |
g_healthRechargeTime |
10000 |
Health recharge time |
Bitflags enabling optional weapon behaviors. Add flag values together.
| Value | Description |
|---|---|
1 |
Field-Ops with level-0 battle-sense do not spawn with binoculars |
2 |
Syringes function underwater |
4 |
Pliers function underwater |
8 |
"Too many air strikes" restores the full charge bar |
16 |
"Too many air strikes" restores half the charge bar |
32 |
Ammo packs restore a lost helmet |
64 |
Players with binoculars drop them on death |
128 |
Allies reload rifles mid-clip to match corresponding Axis ability |
256 |
Enable throwing knives |
512 |
Enable poison throwing knives |
1024 |
Enable Winchester M97 shotgun |
2048 |
Disable adrenaline sharing |
4096 |
Enable Molotov cocktails |
Default: 0
set g_weapons 256 // throwing knives only
set g_weapons 768 // throwing knives + poison knives (256+512)
set g_weapons 1792 // M97 + knives + poison knives (1024+512+256)
Note: Bits
8and16are mutually exclusive.
Enable poison syringes for medics (weapon slot 4). Damage compounds with multiple pokes — 10 HP every 1.5 s. One health pack cures one poke; medics cannot self-antidote.
Default: 0
Dynamite fuse length in seconds.
Default: 30
See also: g_dynamiteTimer
Enable per-second countdown center-print messages when dynamite is armed. Planting team sees the full countdown; defenders see only the last 10 seconds.
Default: 1
Bitflags making projectile-type weapons vulnerable to bullet fire or splash damage.
| Value | Description |
|---|---|
1 |
Panzer projectiles |
2 |
Grenades (mid-air and grounded) |
4 |
Airstrike canisters (mid-air and grounded) |
8 |
Satchels (mid-air and grounded) |
Default: 0
Enable wolf-style rate-of-fire (increases firing rate of some weapons).
Default: 0
Tell the victim how many HP their killer had remaining after the kill. Only fires on enemy kills.
Default: 1
Allow players to steal the class of a dead teammate by holding activate over the body.
Default: 0
Enable corpse dragging — hold activate near a dead body to drag it.
Default: 0
Number of ammo crates to drop when a Field-Ops dies. 0 = disabled.
Caution: Each crate consumes a game-engine entity. High values with many Field-Ops can cause entity exhaustion. Monitor with
!status.
Default: 0
Number of health packs to drop when a medic dies. 0 = disabled.
Caution: Each pack consumes a game-engine entity. High values with many medics can cause entity exhaustion. Monitor with
!status.
Default: 0
Awards a kill to an attacker if their victim suicides within this time window (milliseconds). 0 = disabled.
Default: 0
Force players to respawn after this many seconds. 0 = disabled.
Default: 0
Friendly fire mode.
| Value | Description |
|---|---|
0 |
Disabled |
1 |
Enabled |
2 |
Enabled with reflectable friendly-fire damage |
Default: 1
See also: g_reflectFriendlyFire
Percentage of friendly-fire damage reflected back to the attacker. Only active when g_friendlyFire is 2.
Default: 100
Damage multiplier for landing on top of an enemy (think Super Mario Bros). 0 = disabled. A value of 4 is a good starting point.
Default: 0
Gravity constant.
Default: 800
Seconds of player inactivity before auto-kick. 0 = disabled.
Default: 0
See also: g_spectatorInactivity
Seconds of spectator inactivity before auto-kick. 0 = disabled.
Default: 0
Duration of the end-of-match intermission in seconds.
Default: 60
See also: g_intermissionReadyPercent
Percentage of players that must indicate ready to end intermission early.
Default: 100
See also: g_intermissionTime
Killing spree mode.
| Value | Description |
|---|---|
0 |
Disabled |
1 |
Enabled |
2 |
Enabled and longest sprees per map are recorded |
Default: 0
See also: g_killSpreeLevels, g_loseSpreeLevels
Six space-separated kill milestones that trigger spree announcements. All 6 values must be specified.
Default: "5 10 15 20 25 30"
Six space-separated death milestones that trigger losing-spree announcements. All 6 values must be specified.
Default: "10 20 30 0 0 0"
Scalar multiplier for knockback distance when a player takes damage.
Default: 1000
Minutes before an inactive landmine is automatically removed. 0 = disabled.
Default: 1
Maximum simultaneous game clients (0 = sv_maxclients).
Default: 0
Miscellaneous gameplay bitflags.
| Value | Description |
|---|---|
1 |
Enable double-jump |
2 |
Binoc-war: enable binocular pickup stats |
4 |
Only admins (level ≥1) can connect to server |
8 |
Players can throw health/ammo packs vertically |
32 |
Level-4 battle-sense revivees get full health |
64 |
More realistic aim-spread factoring crouch/prone, slick surfaces and water |
Default: 0
Player movement speed multiplier.
Default: 76
Map mover (tanks, trains) speed scale.
Default: 1.0
Duration in seconds of the auto-mute applied by the censor system. 0 = disabled.
Default: 0
Multiplier for the throw distance of health/ammo packs. Higher values throw packs farther.
Default: 1
Enable playdead — players can fake death by binding the key in the Jaymod menu.
Default: 0
Enable private messaging via /pm <name|slot> <message>.
Default: 0
Milliseconds of delay before a player can go prone after standing. 0 = no delay.
Default: 0
Password required to use shoutcast mode (/sclogin <password>). Empty string disables shoutcasting.
Default: ""
Distance players are shoved when the activate key is held near a teammate. 0 = disabled. Try 100 as a starting value.
Default: 0
See also: g_shoveNoZ
Suppress the vertical (Z-axis) component of shoves. Reduces shove-boosting exploits.
Default: 0
Controls /kill command behavior.
| Value | Description |
|---|---|
0 |
Default behavior |
1 |
Player spawns with 50 % class charge |
2 |
Player spawns with empty class charge |
3 |
Player spawns with charge at same level as when /kill was issued |
4 |
Disable the /kill command entirely |
Default: 0
Invulnerability period in seconds for newly spawned players.
Default: 3
Bitflags controlling spectator behavior.
| Value | Description |
|---|---|
1 |
Click a player to follow them |
2 |
Click an empty spot to follow the next player (requires bit 1) |
4 |
Continue following the same player after they die and respawn |
8 |
Enter free-look mode when the followed player dies |
Default: 0
Note: Bits
4and8are mutually exclusive.
Enable true ping calculation — averages command timestamps for a more accurate latency reading. Ping values will appear higher but are more meaningful for kick thresholds.
Default: 1
Warmup duration in seconds.
Default: 0
See Hitmode for a full overview.
Active hitmode (hitbox system) for bullet detection.
| Value | Name | Boxes | Summary |
|---|---|---|---|
0 |
auto | — | Automatically selects recommended mode |
1 |
entity | 1 | Body only |
2 |
etmain | 3 | Head, torso, feet (stock ET behavior) |
3 |
basic | 3 | Head, torso, feet with crouch/prone adjustments |
4 |
standard | 3 | Head, torso, feet with animation-accurate head box |
5 |
advanced | 9 | Head, arms, hands, torso (x2), feet — animation-tracked |
6 |
oriented | 10 | Head, arms, hands, torso, legs, feet — tightest model |
Default: 0
See also: g_hitmodeAntilag, g_hitmodeAntilagLerp, g_hitmodeDebug, g_hitmodeFat, g_hitmodeGhosting, g_hitmodeReference, g_hitmodeZone
Antilag history window in milliseconds.
Default: 800
Enable antilag lerping (interpolation between history positions).
Default: 1
Bitflags for hitmode visual/data debugging.
Default: 0
Increased torso-box size in inches for hitmode.
Default: 0
Lifetime of hit ghosting in milliseconds.
Default: 0
Reference hitmode used for visual comparison during debugging.
| Value | Description |
|---|---|
0 |
Disabled |
1 |
Etmain reference |
Default: 1
Zone to highlight when hitmode debugging is active (no effect without g_hitmodeDebug).
| Value | Zone |
|---|---|
1 |
Body |
2 |
Head |
3 |
Left arm |
4 |
Right arm |
5 |
Left hand |
6 |
Right hand |
7 |
Torso |
8 |
Left torso |
9 |
Right torso |
10 |
Legs |
11 |
Left leg |
12 |
Right leg |
13 |
Left foot |
14 |
Right foot |
Default: 1
Bulletmode for tracing.
| Value | Description |
|---|---|
0 |
Disabled (default ET behavior) |
Default: 0
Bitflags for bulletmode debug output.
Default: 0
Reference mode for bulletmode comparison.
Default: 1
Enable bullet trail visualization.
Default: 0
See XP Save for a full overview. Requires g_admin to be enabled.
XP-save mode.
| Value | Description |
|---|---|
0 |
Disabled |
1 |
Enabled |
2 |
Enabled; clear all XP when a new campaign begins |
Default: 0
See also: g_xpCap, g_xpMax, g_xpSaveTimeout
Duration XP is saved. 0 = save forever. Supports d, h, m, s suffixes (e.g. 10d4h).
Default: "1h"
XP limit amount. 0 = no limit. When exceeded, the action in g_xpCap is taken.
Default: 0
Action taken when g_xpMax is exceeded.
| Value | Description |
|---|---|
0 |
Allow continued XP gain for skills not yet maxed |
1 |
Disallow further XP gain (cap at max) |
2 |
Automatically reset player XP to 0 |
Default: 0
Award XP for damage dealt (rather than kills only).
Default: 0
Save campaign statistics.
Default: 0
Server password required to connect. Empty = open server.
Default: ""
Enable the word-censor system (matches words in censor.db).
Default: 0
See also: g_censorPenalty
Bitflags for censorship penalties.
| Value | Description |
|---|---|
1 |
Kill and gib the offending player |
4 |
Kill but do not gib |
8 |
Auto-mute |
Default: 0
Note: Bits
1and4are mutually exclusive.
Number of complaints required to kick a player.
Default: 6
Bitflags to disable specific types of complaints.
Default: 0
Filter mode for the player ban list.
| Value | Description |
|---|---|
0 |
Only players in the filter list are allowed to join |
1 |
Players in the filter list are not allowed to join |
Default: 1
Filter/restrict camera-enabled clients.
Default: 0
Number of IP-based complaints before auto-kick.
Default: 3
Bitflags for antiwarp functionality. Antiwarp delays commands that arrive too quickly, preventing warping/teleportation from high-latency clients.
| Value | Description |
|---|---|
1 |
Enable antiwarp |
32 |
Log warping events to the game log |
Default: 1
Caution: Flag
32is network-expensive and should not be used during normal gameplay.
Automatically manage fireteams.
Default: 0
Enable fast (instant) medic revive.
Default: 0
Enable fixed-FPS physics (prevents physics-rate exploits).
Default: 1
See also: g_fixedPhysicsFPS
Target FPS for fixed physics.
Default: 125
Path to per-map config files directory.
Default: "mapconfigs"
Path to map-script files directory.
Default: "mapscripts"
Smooth client movement interpolation.
Default: 0
Bitflags for snapshot options.
Default: 0
Player speed override.
Default: 0
(See Gameplay section above.)
Server-side frames per second.
Default: 20
Maximum connected clients.
Default: 20
Maximum client data rate in bytes/s.
Default: 13000
Maximum ping for clients; higher-ping clients are kicked. 0 = disabled.
Default: 0
Minimum ping required. 0 = disabled.
Default: 0
Allow clients to download missing files from the server.
Default: 1
Maximum download rate in bytes/s.
Default: 42000
Enable WWW download redirect.
Default: 0
Base URL for WWW download redirect.
Default: ""
Enforce pure server (clients must use matching pk3 files).
Default: 1
Number of reserved private slots.
Default: 4
Password for private slots.
Default: ""
Password for referee access.
Default: ""
Remote console password.
Default: ""
Shader or image path for the server watermark shown on all client screens. Image files must be in the watermark/ directory and have power-of-2 pixel dimensions. Empty string disables watermarking.
Default: "jaymod"
See also: g_watermarkFadeAfter, g_watermarkFadeTime
Seconds after spawn before the watermark begins to fade. -1 = never fade.
Default: 60
Duration of the watermark fade in seconds.
Default: 60
| Cvar | Default | Description |
|---|---|---|
vote_allow_balancedteams |
1 |
Allow balanced-teams vote |
vote_allow_comp |
1 |
Allow competition-mode vote |
vote_allow_friendlyfire |
1 |
Allow friendly-fire vote |
vote_allow_gametype |
1 |
Allow gametype vote |
vote_allow_generic |
1 |
Allow generic vote |
vote_allow_kick |
1 |
Allow kick vote |
vote_allow_map |
1 |
Allow map-change vote |
vote_allow_matchreset |
1 |
Allow match-reset vote |
vote_allow_matchrestart |
1 |
Allow match-restart vote |
vote_allow_mutespecs |
1 |
Allow mute-spectators vote |
vote_allow_muting |
1 |
Allow player mute vote |
vote_allow_nextmap |
1 |
Allow next-map vote |
vote_allow_pub |
1 |
Allow pub-mode vote |
vote_allow_referee |
0 |
Allow referee vote (off by default) |
vote_allow_shuffleteamsxp |
1 |
Allow XP-shuffle vote |
vote_allow_swapteams |
1 |
Allow team-swap vote |
vote_allow_timelimit |
0 |
Allow timelimit vote (off by default) |
vote_allow_warmupdamage |
1 |
Allow warmup-damage vote |
vote_limit |
5 |
Max votes per map |
vote_percent |
50 |
Percentage required to pass a vote |
See OmniBot for setup instructions.
| Cvar | Default | Description |
|---|---|---|
omnibot_enable |
0 |
Enable OmniBot AI |
g_OmniBotEnable |
0 |
Enable OmniBot AI (game-side) |
g_OmniBotPath |
"" |
Path to the omni-bot folder |
g_OmniBotFlags |
0 |
OmniBot behavior flags |
g_OmniBotPlaying |
— | Number of active bots (read-only) |
| Cvar | Default |
|---|---|
sv_master1 |
"etmaster.idsoftware.com" |
sv_master2 — sv_master5
|
"" |