amx_mr15 / amx_mr12 exec the match config then verify the critical cvars and print a diff of anything that did not take.
Daemon666
1.0.0 - Initial release.
| csb_mr15_config.sma main | eb11b3b | 4.3 KB |
README.md
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) andamx_mr12(24 rounds).- Config filenames configurable via cvars.
- Post-exec verification with a per-cvar diff.
- Float-tolerant comparison so
1.75vs1.750000is not a false mismatch.
Installation
- Place your
csb_mr15.cfg/csb_mr12.cfgin the server's config folder. - Compile
csb_mr15_config.sma, copy it toaddons/amxmodx/plugins/and add it toplugins.ini. - 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
| CVAR | Default | Description |
|---|---|---|
csb_cfg_mr15 |
csb_mr15.cfg |
Config file executed by amx_mr15. |
csb_cfg_mr12 |
csb_mr12.cfg |
Config file executed by amx_mr12. |
Commands
| Command | Access | Description |
|---|---|---|
amx_mr15 |
d (ADMIN_BAN) |
Exec the MR15 config and validate cvars. |
amx_mr12 |
d (ADMIN_BAN) |
Exec the MR12 config and validate cvars. |
Changelog — v1.0.0
1.0.0 - Initial release.Versions →
Rating
No ratings yet.
Download v1.0.0
Requirements
| AMX Mod X | ≥ 1.9 |
| Engine | ReHLDS HLDS |
| ReGameDLL | Not required |
| ReAPI | Not required |
| Metamod | Metamod / Metamod-r |
| Known conflicts | If the expected values in the plugin differ from your league's ruleset, edit the setExpected() calls. |
Contributors









