CSB Stats Web Export collects kills, deaths, headshots, damage and playtime per player and writes them to a MySQL table at map end. Everything goes out as a single multi-row INSERT ... ON DUPLICATE KEY UPDATE through a threaded SQLx query, so the game thread never blocks and the database sees one query per map. An external website can then render ladders straight from the table.
Features
- Threaded SQLx - zero main-thread blocking.
- One batched query per map, additive on conflict.
- Connection details set by cvar.
Installation
- Enable the
sqlxandhamsandwichmodules and configure the MySQL section inaddons/amxmodx/configs/sql.cfgor thecsb_sql_*cvars. - Create the
csb_webstatstable (schema in the source header). - Compile, install, add to
plugins.ini, change map.









