CSB Match Config Loader

v1.0.0 10 Downloads Daemon666 Zuletzt aktualisiert: Jul 16, 2026

amx_mr15 / amx_mr12 exec the match config then verify the critical cvars and print a diff of anything that did not take.

CSB Match Config Loader stops a silently broken match config. amx_mr15 and amx_mr12 exec the configured cfg and then, a moment later, verify the critical cvars - mp_freezetime, mp_roundtime, mp_startmoney, sv_alltalk and mp_maxrounds - against the expected competitive values. Any cvar that did not take is printed as a diff to the admin console and warned in chat, so you know before the knife round that the config actually applied.

Features

  • amx_mr15 (30 rounds) and amx_mr12 (24 rounds).
  • Config filenames configurable via cvars.
  • Post-exec verification with a per-cvar diff.
  • Float-tolerant comparison so 1.75 vs 1.750000 is not a false mismatch.

Installation

  1. Place your csb_mr15.cfg / csb_mr12.cfg in the server's config folder.
  2. Compile csb_mr15_config.sma, copy it to addons/amxmodx/plugins/ and add it to plugins.ini.
  3. Change the map.

Installation

1. Put csb_mr15.cfg and csb_mr12.cfg in your server config folder
2. Put csb_mr15_config.amxx in addons/amxmodx/plugins/ and add it to plugins.ini
3. Change map

Cvars

CVARDefaultDescription
csb_cfg_mr15 csb_mr15.cfg Config file executed by amx_mr15.
csb_cfg_mr12 csb_mr12.cfg Config file executed by amx_mr12.

Befehle

CommandAccessDescription
amx_mr15 d (ADMIN_BAN) Exec the MR15 config and validate cvars.
amx_mr12 d (ADMIN_BAN) Exec the MR12 config and validate cvars.

Änderungsprotokoll — v1.0.0

1.0.0 - Initial release.
Versionen →
Mitwirkende: Daemon666 ✦
Lizenz: GPL-3.0

Bewertung

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
.sma herunterladen
Dateien:
csb_mr15_config.sma main 4.3 KB

Anforderungen

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Optional
ReAPI Optional
Metamod Metamod / Metamod-r
Bekannte Konflikte If the expected values in the plugin differ from your league's ruleset, edit the setExpected() calls.
Zurück zu den Plugins