CSB Fake Player Guard

v1.0.0 0 загрузок Daemon666 Обновлено: Jul 15, 2026

Caps concurrent connections per IP and drops clients that never finish the handshake or send any input.

CSB Fake Player Guard targets the fake-player / FakeFull attacks that fill a server with slots that will never actually play. It caps how many concurrent connections one IP may hold and, more usefully, it drops any client that connects but never reaches putinserver and never sends a single usercmd within a timeout - the signature of a fake client that opens a socket and does nothing.

How it works

  • On connect it records the client's IP and starts a per-slot timeout task.
  • Usercmds are counted from the CmdStart forward - a real player produces input immediately.
  • At timeout, a slot that is not fully in-game and has produced zero usercmds is kicked.
  • A per-IP concurrent-connection cap blocks obvious multi-socket floods up front.

Installation

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

Установка

1. Enable the fakemeta module in addons/amxmodx/configs/modules.ini
2. Put csb_fakeplayer_guard.amxx in addons/amxmodx/plugins/ and add it to plugins.ini
3. Change map

Cvar-ы

CVARDefaultDescription
csb_fpg_enabled 1 Enable fake-player protection.
csb_fpg_timeout 12 Seconds a client has to finish the handshake and send input.
csb_fpg_maxperip 3 Maximum concurrent connections allowed per IP.

История изменений — v1.0.0

1.0.0 - Initial release.
Версии →
Участники: Daemon666 ✦
Лицензия: GPL-3.0

Рейтинг

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Скачать .sma
Файлы:
csb_fakeplayer_guard.sma main 3.0 KB

Требования

AMX Mod X ≥ 1.9
Движок ReHLDS HLDS
ReGameDLL Необязательно
ReAPI Необязательно
Metamod Metamod / Metamod-r
Модули fakemeta
Известные конфликты Very slow real connections on poor links may exceed the handshake timeout; raise csb_fpg_timeout if that happens.
Назад к плагинам