Skip to content

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 standard mp_* / sv_* rules; sources under client/3rdparty/ReGameDLL_CS/ in this repo.
  • YaPByb_* bot plugin cvars; full list in YaPB. YaPB also registers game CVars (Var::GameRef) under their engine names (no yb_ prefix) — see that page.
  • NodeModamx_* and other cvars from @nodemod/admin; see NodeMod and Server administrators.

ReGameDLL built-in bots (bot_*)

CVar Typical Description
bot_quota 032 How many ReGameDLL bots to keep in the game.
bot_difficulty 03 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