Exports the full match scoreboard (kills/deaths/hs/damage/ADR per player) to MySQL with threaded SQLx, or to a text file when the DB is down.
CSB Match Stats Export writes a complete match scoreboard so a website can render the match page. It tracks per-player kills, deaths, headshots and damage (ADR = damage / rounds), and on amx_exportstats inserts one row per player into MySQL with fully threaded SQLx under a numeric match id. If the database is not configured it falls back to a JSON-ish text file under addons/amxmodx/logs.
Features
- Per-player kills, deaths, headshots, damage and ADR.
- Threaded SQLx insert - the game thread is never blocked.
- Numeric match id groups the rows for the website.
- Text-file fallback when the DB is not configured.
amx_resetstatsto clear tracking between matches.
Installation
- Enable the
sqlxandhamsandwichmodules inmodules.ini. - Set the
csb_export_*cvars to your database credentials. - Compile
csb_match_stats_export.sma, copy it toaddons/amxmodx/plugins/and add it toplugins.ini. - Change the map.









