CSB Top 15 v1.0.0
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_refreshcontrols the interval (minimum 15s). /top15,/topand the console commandcsb_top15.- Zebra-striped, dark-themed MOTD that reads well in the in-game browser.
Installation
- Make sure the
csxmodule is enabled inaddons/amxmodx/configs/modules.ini(it is by default on a CS install). - Compile and copy
csb_top15.amxxintoaddons/amxmodx/plugins/. - Add
csb_top15.amxxtoaddons/amxmodx/configs/plugins.ini. - 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 | Default | Description |
|---|---|---|
csb_top15_enabled | 1 | Enable or disable the Top 15 board. |
csb_top15_refresh | 120 | Seconds between cache refreshes (minimum 15). |
| Command | Access | Description |
|---|---|---|
say /top15 | | Show the Top 15 MOTD. |
say /top | | Alias for /top15. |
csb_top15 | | Console command that shows the board. |









