Your server here Bid in the weekly auction Promote server

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_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.

Installation
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
CVARs2
CVARDefaultDescription
csb_top15_enabled1Enable or disable the Top 15 board.
csb_top15_refresh120Seconds between cache refreshes (minimum 15).
Commands3
CommandAccessDescription
say /top15Show the Top 15 MOTD.
say /topAlias for /top15.
csb_top15Console command that shows the board.
Rating
No ratings yet