Daemon666 / CSB Mix ELO Публичен

ELO rating for mix/match play in MySQL: winners gain and losers lose points by the rating gap, with /elo, /topelo and ELO-balanced teams.

v1.0.0 142 изтегляния GPL-3.0 Последна актуализация Aug 22, 2026
Daemon666 1.0.0 - Initial release. v1.0.0 Apr 2, 2026 1 Версии
csb_mix_elo.sma main fe71da8 9.8 KB
README.md

CSB Mix ELO gives mix/match play a proper skill rating. Ratings load asynchronously on authorise; after each match amx_elo_result <T|CT> applies the standard ELO update - winners gain and losers lose points scaled by the rating difference and a configurable K factor - and writes back through threaded SQLx. Players check their rating with /elo, the ladder with /topelo, and admins can print ELO-balanced teams with amx_elobalance.

Features

  • Async load on authorise, threaded write-back after each match.
  • Standard ELO formula with a configurable K factor.
  • /elo shows your rating; /topelo shows the ladder.
  • amx_elobalance greedily splits players into balanced teams.

Installation

  1. Enable the sqlx module in modules.ini.
  2. Set the csb_elo_* cvars to your database credentials.
  3. Compile csb_mix_elo.sma, copy it to addons/amxmodx/plugins/ and add it to plugins.ini.
  4. Change the map. Call amx_elo_result with the winning side at match end.
Инсталация
1. Enable the sqlx module in addons/amxmodx/configs/modules.ini
2. Set the csb_elo_* cvars to your DB credentials
3. Put csb_mix_elo.amxx in addons/amxmodx/plugins/ and add it to plugins.ini
4. Change map
Cvar-и
CVARDefaultDescription
csb_elo_host 127.0.0.1 MySQL host.
csb_elo_user csb MySQL user.
csb_elo_pass MySQL password.
csb_elo_db csb MySQL database name.
csb_elo_k 32 ELO K factor (points at stake).
csb_elo_start 1000 Starting rating for new players.
Команди
CommandAccessDescription
say /elo Show your ELO rating.
say /topelo Show the ELO ladder (top 10).
amx_elo_result d (ADMIN_BAN) amx_elo_result <T|CT> - apply the match result.
amx_elobalance d (ADMIN_BAN) Print ELO-balanced teams.
Списък с промени — v1.0.0
1.0.0 - Initial release.
Версии →
Оценка

No ratings yet.

Относно
Download v1.0.0
Compiled live from the source below — nothing pre-built.
Изтегли .sma
Изисквания
AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Незадължително
ReAPI Незадължително
Metamod Metamod / Metamod-r
Модули sqlx
Известни конфликти Other ranking plugins that use /elo or /topelo chat triggers will collide.
Сътрудници
Обратно към плъгините