CSB Connect Flood Guard

v1.0.0 1 pobrań Daemon666 Ostatnia aktualizacja: Jul 15, 2026

Sliding-window per-IP connection rate limiter that temporarily blocks addresses reconnecting too fast.

CSB Connect Flood Guard keeps a small crowd of scripted reconnects from eating your slots and your tickrate. Every connection is bucketed by IP into a sliding window held in a Trie; an address that opens more than csb_flood_maxconn connections inside csb_flood_window seconds is blocked for csb_flood_bantime seconds. Legitimate players, who reconnect at human speed, never touch the limit.

Features

  • Per-IP sliding window (Trie-backed) that resets cleanly once the window elapses.
  • Temporary, self-expiring blocks - nothing is written to disk and no permanent bans accumulate.
  • Blocked addresses are kicked at connect with a clear reason.
  • Every block is logged with the count, window and duration.

Installation

  1. Compile csb_connect_flood_guard.sma and copy it to addons/amxmodx/plugins/.
  2. Add it to plugins.ini and change the map.

Tune csb_flood_maxconn and csb_flood_window for your traffic; the defaults (5 connects / 10 s) suit most public servers.

Instalacja

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

Cvary

CVARDefaultDescription
csb_flood_enabled 1 Enable connection rate limiting.
csb_flood_maxconn 5 Max connections per IP inside the window before blocking.
csb_flood_window 10 Sliding-window length in seconds.
csb_flood_bantime 60 Seconds an offending IP stays blocked.

Lista zmian — v1.0.0

1.0.0 - Initial release.
Wersje →
Współtwórcy: Daemon666 ✦
Licencja: GPL-3.0

Ocena

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Pobierz .sma
Pliki:
csb_connect_flood_guard.sma main 3.0 KB

Wymagania

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Opcjonalne
ReAPI Opcjonalne
Metamod Metamod / Metamod-r
Znane konflikty Players behind a shared NAT (LAN cafe, campus) share one IP and can trip the limit together; raise the cap for those cases.
Wróć do Pluginów