Promote server
Black Friday Ends in 50% off a Master Server place and the Client list, which comes with LIFETIME PREMIUM
02 Days 09 Hrs 42 Min 22 Sec
See the deals
History

CSB Speedhack Detection watches the one thing a client-side speedhack cannot hide: it makes the client send far more usercmds per second than the engine should ever process. The plugin counts usercmds from the CmdStart forward and, once a second, compares each player's rate to a configurable ceiling. A single spike is ignored; a sustained rate over several strikes is treated as a hack.

How it works

  • Every usercmd increments a per-player frame counter.
  • A 1-second repeating task reads and clears each counter.
  • A count above csb_speed_maxcmds adds a strike; a clean second removes one.
  • Reaching csb_speed_strikes logs the player and, with csb_speed_action 1, kicks them.

Tuning

The default ceiling of 350 usercmds/s sits well above a legitimate 250 fps player but far below what a speedhack produces. Raise it if your community runs uncapped high-fps configs.

Installation

  1. Enable the fakemeta module in modules.ini.
  2. Compile csb_speedhack_detect.sma, copy it to addons/amxmodx/plugins/ and add it to plugins.ini.
  3. Change the map.