CSB Match Config Loader

v1.0.0 12 descărcări Daemon666 Ultima actualizare: 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.

Instalare

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

Cvar-uri

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.

Comenzi

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.

Jurnal de modificări — v1.0.0

1.0.0 - Initial release.
Versiuni →
Contribuitori: Daemon666 ✦
Licență: GPL-3.0

Evaluare

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Descarcă .sma
Fișiere:
csb_mr15_config.sma main 4.3 KB

Cerințe

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Opțional
ReAPI Opțional
Metamod Metamod / Metamod-r
Conflicte cunoscute If the expected values in the plugin differ from your league's ruleset, edit the setExpected() calls.
Înapoi la Pluginuri