-
Notifications
You must be signed in to change notification settings - Fork 0
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).
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) |
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) |
Percentage of friendly-fire damage reflected back to the attacker.
| Value | Behaviour |
|---|---|
0 |
No reflection |
100 |
Full reflection back to attacker (default) |
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.
Allow players to fake death by going prone and staying still.
| Value | Behaviour |
|---|---|
0 |
Disabled (default) |
1 |
Enabled |
Allow players to drag teammate corpses.
| Value | Behaviour |
|---|---|
0 |
Disabled (default) |
1 |
Enabled |
Players who are critically low on HP have a chance to freeze momentarily.
| Value | Behaviour |
|---|---|
0 |
Disabled (default) |
1 |
Enabled |
Players who land on top of an enemy deal damage.
| Value | Behaviour |
|---|---|
0 |
Disabled (default) |
1 |
Enabled |
Allow players to kill themselves with the /kill command.
| Value | Behaviour |
|---|---|
0 |
Disabled (default) |
1 |
Enabled |
Seconds players are invulnerable after spawning.
| Default | 3 |
|---|
Players drop a health pack when killed.
| Value | Behaviour |
|---|---|
0 |
Disabled (default) |
1 |
Enabled |
Players drop an ammo pack when killed.
| Value | Behaviour |
|---|---|
0 |
Disabled (default) |
1 |
Enabled |
Enable player-to-player private messages via /pm <name> <message>.
| Value | Behaviour |
|---|---|
0 |
Disabled (default) |
1 |
Enabled |
Allow players to change class while alive, without dying and respawning.
| Value | Behaviour |
|---|---|
0 |
Disabled (default) |
1 |
Enabled |
| 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 |
| 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 |
| 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 |
| 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) |
| 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 |
| Cvar | Default | Description |
|---|---|---|
bg_dynamiteTime |
30 |
Fuse length in seconds |
g_dynamiteTimer |
1 |
In-game countdown messages (see above) |
| Cvar | Default | Description |
|---|---|---|
g_teamDamageRestriction |
0 |
Enable team damage tracking (1 = enabled) |
g_teamDamageMinHits |
6 |
Teamhit events before restrictions apply |
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 |