Server CVARs (reference)
This page consolidates CSRetro-relevant server-side console variables. For component-specific detail, follow the links below.
Where values come from
- Game DLL (ReGameDLL_CS) —
bot_*and standardmp_*/sv_*rules; sources underclient/3rdparty/ReGameDLL_CS/in this repo. - YaPB —
yb_*bot plugin cvars; full list in YaPB. YaPB also registers game CVars (Var::GameRef) under their engine names (noyb_prefix) — see that page. - NodeMod —
amx_*and other cvars from@nodemod/admin; see NodeMod and Server administrators.
ReGameDLL built-in bots (bot_*)
| CVar | Typical | Description |
|---|---|---|
bot_quota |
0–32 |
How many ReGameDLL bots to keep in the game. |
bot_difficulty |
0–3 |
ReGameDLL bot skill. |
bot_join_team |
any / T / CT |
Preferred team for bots. |
Use either ReGameDLL bots or YaPB — not both without understanding the trade-offs (YaPB).
NodeMod (listen server admin)
| CVar | Default | Description |
|---|---|---|
amx_listen_host_admin |
1 |
Listen server: grant full NodeMod admin to loopback (127.0.0.1) clients when not dedicated. |
Common game / server rules (mp_*, sv_*)
| CVar | Typical | Description |
|---|---|---|
sv_lan |
0 |
LAN-only mode (1 = no Steam auth). |
mp_timelimit |
25 |
Round time limit (minutes). |
mp_maxrounds |
0 |
Max rounds (0 = unlimited). |
mp_friendlyfire |
0 |
Friendly fire. |
Exact defaults depend on server.cfg and game DLL; use cvarlist / cvarlist mp_ in the server console for the live set.
See also
- Server administrators — workflows, Metamod, NodeMod,
csr version - YaPB — complete
yb_*list from vendored sources - Client — client vs server DLL roles