CSB Anti Flood

v1.0.0 0 indirme Daemon666 Son güncelleme: Jul 14, 2026

Token-bucket rate limiting for chat, radio and console spam, with an auto-mute for repeat flooders.

CSB Anti Flood stops the two things that make a busy server unreadable: chat spam and radio spam. Each player has a separate token bucket for chat, for radio/menu commands and for the noisy console commands, refilled over a short window. Anything over the limit is swallowed and the player is warned; keep flooding and you earn a short automatic mute.

How it works

The plugin hooks client_command, classifies the command into one of three buckets, and blocks it with PLUGIN_HANDLED_MAIN once the per-window limit is exceeded. After a configurable number of warnings a chat/radio flooder is muted for csb_flood_gagtime seconds — long enough to break the spam, short enough not to be a real punishment.

Features

  • Independent limits for chat, radio and console commands.
  • Sliding window set by csb_flood_window.
  • Automatic temporary mute after repeated flooding.
  • Bots and the console are never affected.

Inspired by the classic Anti Flood plugins for AMX Mod X; this is an independent GPL re-implementation.

Installation

  1. Compile and copy csb_anti_flood.amxx into addons/amxmodx/plugins/.
  2. Add it to plugins.ini and change the map.

Kurulum

1. Put csb_anti_flood.amxx in addons/amxmodx/plugins/
2. Add it to plugins.ini
3. Change map

Cvarlar

CVARDefaultDescription
csb_flood_enabled 1 Enable or disable flood protection.
csb_flood_chat 4 Max say/say_team messages per window.
csb_flood_radio 3 Max radio/menu commands per window.
csb_flood_cmd 10 Max other console commands per window.
csb_flood_window 3.0 Window length in seconds.
csb_flood_gagtime 20 Auto-mute duration in seconds (0 = never mute).
csb_flood_maxwarn 4 Warnings before a chat/radio flooder is muted.

Değişiklik günlüğü — v1.0.0

1.0.0 - Initial release.
Sürümler →
Katkıda bulunanlar: Daemon666 ✦
Orijinal yazar: AMX Mod X community (Anti Flood) Lisans: GPL-3.0

Puan

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
.sma indir
Dosyalar:
csb_anti_flood.sma main 4.9 KB

Gereksinimler

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL İsteğe bağlı
ReAPI İsteğe bağlı
Metamod Metamod / Metamod-r
Bilinen çakışmalar Other anti-flood / chat rate-limit plugins - run only one to avoid double blocking.
Eklentilere Dön