Daemon666 / CSB Stats Web Export Publiczny

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

v1.0.0 96 pobrań GPL-3.0 Ostatnia aktualizacja Aug 23, 2026
Daemon666 1.0.0 - Initial release. v1.0.0 Oct 28, 2025 1 Wersje
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.
Instalacja
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
Cvary
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.
Lista zmian — v1.0.0
1.0.0 - Initial release.
Wersje →
Ocena

No ratings yet.

Informacje
Download v1.0.0
Compiled live from the source below — nothing pre-built.
Pobierz .sma
Wymagania
AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Opcjonalne
ReAPI Opcjonalne
Metamod Metamod / Metamod-r
Moduły hamsandwich sqlx
Współtwórcy
Wróć do Pluginów