Daemon666 / CSB Stats Web Export Público

Pushes end-of-map player stats to MySQL with one threaded multi-row INSERT for external ladder websites.

v1.0.0 96 descargas GPL-3.0 Última actualización Aug 23, 2026
Daemon666 1.0.0 - Initial release. v1.0.0 Oct 28, 2025 1 Versiones
csb_stats_webexport.sma main 7a68699 4.7 KB
README.md

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

  1. Enable the sqlx and hamsandwich modules and configure the MySQL section in addons/amxmodx/configs/sql.cfg or the csb_sql_* cvars.
  2. Create the csb_webstats table (schema in the source header).
  3. Compile, install, add to plugins.ini, change map.
Instalación
1. Enable the sqlx and hamsandwich modules in addons/amxmodx/configs/modules.ini
2. Create the csb_webstats table (schema is documented in the source header)
3. Compile, install, add to plugins.ini, change map
Cvars
CVARDefaultDescription
csb_sql_host localhost MySQL host.
csb_sql_user amxx MySQL user.
csb_sql_pass MySQL password.
csb_sql_db csb_stats MySQL database.
Registro de cambios — v1.0.0
1.0.0 - Initial release.
Versiones →
Valoración

No ratings yet.

Acerca de
Download v1.0.0
Compiled live from the source below — nothing pre-built.
Descargar .sma
Requisitos
AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Opcional
ReAPI Opcional
Metamod Metamod / Metamod-r
Módulos hamsandwich sqlx
Colaboradores
Volver a Plugins