Daemon666 / CSB Match Stats Export Público

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.

v1.0.0 165 descargas GPL-3.0 Última actualización Aug 23, 2026
Daemon666 1.0.0 - Initial release. v1.0.0 Feb 8, 2026 1 Versiones
csb_match_stats_export.sma main 93de4b7 6.9 KB
README.md

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_resetstats to clear tracking between matches.

Installation

  1. Enable the sqlx and hamsandwich modules in modules.ini.
  2. Set the csb_export_* cvars to your database credentials.
  3. Compile csb_match_stats_export.sma, copy it to addons/amxmodx/plugins/ and add it to plugins.ini.
  4. Change the map.
Instalación
1. Enable the sqlx and hamsandwich modules in addons/amxmodx/configs/modules.ini
2. Set the csb_export_* cvars to your DB credentials
3. Put csb_match_stats_export.amxx in addons/amxmodx/plugins/ and add it to plugins.ini
4. Change map
Cvars
CVARDefaultDescription
csb_export_host 127.0.0.1 MySQL host.
csb_export_user csb MySQL user.
csb_export_pass MySQL password.
csb_export_db csb MySQL database name.
Comandos
CommandAccessDescription
amx_exportstats d (ADMIN_BAN) Export the current match scoreboard.
amx_resetstats d (ADMIN_BAN) Clear the tracked match stats.
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
Conflictos conocidos Other stats plugins hooking Ham_TakeDamage or DeathMsg track their own numbers independently.
Colaboradores
Volver a Plugins