Skip to content

Configuration & Cvars

Claude edited this page Apr 15, 2026 · 4 revisions

Configuration & Cvars

All cvars below are set in your server config file (e.g. jaymod.cfg) using:

set <cvar> <value>

They can also be changed at runtime from the server console, unless marked latch (requires map restart).


Gameplay

Announce HP — g_announceHP

When a player is killed by an enemy, the victim receives a center-print message showing the killer's name and remaining HP (e.g. Player had 3 HP left). Only fires for enemy kills, not teamkills.

Value Behaviour
0 Disabled
1 Enabled (default)

Dynamite Timer — g_dynamiteTimer

Sends a per-second countdown center-print when dynamite is armed. The planting team sees the full countdown; the defending team sees only the last 10 seconds. Color shifts yellow at ≤10 s and red at ≤5 s.

Value Behaviour
0 Disabled
1 Enabled (default)

Friendly Fire Reflection — g_reflectFriendlyFire

Percentage of friendly-fire damage reflected back to the attacker.

Value Behaviour
0 No reflection
100 Full reflection back to attacker (default)

Shove — g_shove

Allow players to shove teammates out of the way.

Value Behaviour
0 Disabled (default)
1 Enabled

Related: g_shoveNoZ — if 1, shoves have no vertical component.


Play Dead — g_playDead

Allow players to fake death by going prone and staying still.

Value Behaviour
0 Disabled (default)
1 Enabled

Corpse Drag — g_dragCorpse

Allow players to drag teammate corpses.

Value Behaviour
0 Disabled (default)
1 Enabled

Fear — g_fear

Players who are critically low on HP have a chance to freeze momentarily.

Value Behaviour
0 Disabled (default)
1 Enabled

Goomba Kills — g_goomba

Players who land on top of an enemy deal damage.

Value Behaviour
0 Disabled (default)
1 Enabled

Slash Kill — g_slashKill

Allow players to kill themselves with the /kill command.

Value Behaviour
0 Disabled (default)
1 Enabled

Spawn Invulnerability — g_spawnInvul

Seconds players are invulnerable after spawning.

Default 3

Drop Health — g_dropHealth

Players drop a health pack when killed.

Value Behaviour
0 Disabled (default)
1 Enabled

Drop Ammo — g_dropAmmo

Players drop an ammo pack when killed.

Value Behaviour
0 Disabled (default)
1 Enabled

Private Messages — g_privateMessages

Enable player-to-player private messages via /pm <name> <message>.

Value Behaviour
0 Disabled (default)
1 Enabled

Class Change in Field — g_classChange

Allow players to change class while alive, without dying and respawning.

Value Behaviour
0 Disabled (default)
1 Enabled

XP & Progression

Cvar Default Description
g_xpSave 0 Persist XP between map changes (1 = enabled). Latch.
g_xpSaveTimeout 1h How long saved XP is kept. Accepts 30m, 2h, 1d, etc.
g_xpCap 0 Maximum XP a player can accumulate (0 = no cap)
g_xpMax 0 Maximum XP shown on scoreboard (0 = no limit)
g_damagexp 0 Award XP for dealing damage, not just kills

Killing Sprees

Cvar Default Description
g_killingSpree 0 Enable kill-streak announcements. Latch.
g_killSpreeLevels 5,10,15,20,25,30 Kill counts that trigger spree announcements
g_loseSpreeLevels 10,20,30 Death counts that trigger losing-spree announcements

Classes

Cvar Default Description
g_engineers 0 Max engineers per team (0 = unlimited)
g_soldiers 0 Max soldiers per team
g_medics 0 Max medics per team
g_heavyWeaponRestriction 100 Max % of team that can carry heavy weapons

Bots (OmniBot)

Cvar Default Description
g_OmniBotEnable 0 Enable OmniBot AI bots
g_OmniBotPath "" Path to the omni-bot folder
g_OmniBotFlags 0 OmniBot behaviour flags (see OmniBot docs)
g_OmniBotPlaying Number of active bots (read-only)

Server & Network

Cvar Default Description
g_antiwarp 1 Reduce warping from high-latency clients
g_truePing 1 Show accurate ping in the scoreboard
g_spectator 0 Allow free spectating (1 = enabled)
g_mapConfigs "" Path to per-map config files
g_packDistance 1 Distance multiplier for medic/ammo pack reach
g_intermissionTime 60 Seconds shown on the end-of-map scoreboard
g_intermissionReadyPercent 100 % of players that must ready-up to skip intermission

Dynamite

Cvar Default Description
bg_dynamiteTime 30 Fuse length in seconds
g_dynamiteTimer 1 In-game countdown messages (see above)

Team Damage Restriction

Cvar Default Description
g_teamDamageRestriction 0 Enable team damage tracking (1 = enabled)
g_teamDamageMinHits 6 Teamhit events before restrictions apply

Banners

Rotating server messages displayed to all players.

Cvar Default Description
g_banners 0 Enable rotating banners
g_bannerTime 5 Interval between banners (minutes)
g_bannerLocation 0 Display location: 0 = chat, 1 = center-print

Clone this wiki locally