Promotiraj s'rv'r

CSB Stats Web Export v1.0.0

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.
Инсталация
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
Cvar-и4
CVARDefaultDescription
csb_sql_hostlocalhostMySQL host.
csb_sql_useramxxMySQL user.
csb_sql_passMySQL password.
csb_sql_dbcsb_statsMySQL database.
Оценка
Още няма оценки