CSB Top 15

v1.0.0 5 загрузок Daemon666 Обновлено: Jul 15, 2026

Shows the 15 highest-ranked players (kills, deaths, K/D, headshot %) in a MOTD table, cached and refreshed on a timer.

CSB Top 15 reads the server's ranked storage from the csx module and renders the 15 best players into an HTML table shown in a MOTD window. Type /top15 (or /top) and you get rank, name, kills, deaths, K/D ratio and headshot percentage.

The list is cached and rebuilt by a timer (csb_top15_refresh seconds), so the potentially heavy walk over the stats table never happens on the frame a player pressed the key — it just reads a small array that was filled in the background.

Inspired by the classic Top15 display that ships with AMX Mod X's CSStats. This is an independent GPL re-implementation; no original code is reused.

Features

  • Rank-sorted top 15 straight from the CSX ranked storage — no MySQL needed.
  • Columns: rank, player, kills, deaths, K/D, headshot %.
  • Cached and auto-refreshed; csb_top15_refresh controls the interval (minimum 15s).
  • /top15, /top and the console command csb_top15.
  • Zebra-striped, dark-themed MOTD that reads well in the in-game browser.

Installation

  1. Make sure the csx module is enabled in addons/amxmodx/configs/modules.ini (it is by default on a CS install).
  2. Compile and copy csb_top15.amxx into addons/amxmodx/plugins/.
  3. Add csb_top15.amxx to addons/amxmodx/configs/plugins.ini.
  4. Change the map.

Notes

Ranks come from CSX's own data/csstats.amxx scoring, the same numbers /rank uses, so the board stays consistent with the rest of your stats plugins.

Установка

1. Enable the csx module in addons/amxmodx/configs/modules.ini
2. Put csb_top15.amxx in addons/amxmodx/plugins/
3. Add it to plugins.ini
4. Change map

Cvar-ы

CVARDefaultDescription
csb_top15_enabled 1 Enable or disable the Top 15 board.
csb_top15_refresh 120 Seconds between cache refreshes (minimum 15).

Команды

CommandAccessDescription
say /top15 Show the Top 15 MOTD.
say /top Alias for /top15.
csb_top15 Console command that shows the board.

История изменений — v1.0.0

1.0.0 - Initial release.
Версии →
Участники: Daemon666 ✦
Оригинальный автор: AMX Mod X Development Team (CSStats Top15) Лицензия: GPL-3.0

Рейтинг

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Скачать .sma
Файлы:
csb_top15.sma main 4.2 KB

Требования

AMX Mod X ≥ 1.9
Движок ReHLDS HLDS
ReGameDLL Необязательно
ReAPI Необязательно
Metamod Metamod / Metamod-r
Модули csx
Назад к плагинам