Kicks players whose rolling average ping stays over the limit, with a connect grace period and flag immunity.
CSB High Ping Kicker samples get_user_ping() every few seconds, keeps the last five samples per player in a ring buffer and compares the average against csb_ping_max. A player only gets kicked after csb_ping_strikes consecutive bad averages — a single lag spike, a map download or a garbage-collect stutter will never kick anyone, which is the failure mode of most naive ping kickers.
Inspired by High Ping Kicker by Nomexous. Independent GPL re-implementation.
Features
- Rolling 5-sample average instead of a single reading.
- Consecutive-strike requirement before any action is taken.
- Warns the player in chat before each strike, so they know why they are about to be dropped.
- Connect grace period (
csb_ping_grace, default 60s) — a client still loading always reports a garbage ping. csb_ping_minplayersso the limit is only enforced when the server is actually busy.- Flag immunity (
csb_ping_immunity, defaulta). say /pingfor players,amx_pinglistfor admins (current ping, average, loss and strikes per player).
Installation
- Compile and copy
csb_high_ping_kicker.amxxintoaddons/amxmodx/plugins/. - Add it to
plugins.ini. - Set
csb_ping_maxinamxx.cfgand change the map.
Notes
Use no modules and no forwards — the whole plugin is a set_task loop, so its cost is a handful of native calls every csb_ping_interval seconds regardless of player count. Set csb_ping_max generously (150–200) unless your player base is entirely local; on a public server a hard 100ms limit will empty your slots.









