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

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.