CSB Fake Player Guard

v1.0.0 14 downloads Daemon666 Última atualização: Jul 16, 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.

Instalação

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

Cvars

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.

Registro de alterações — v1.0.0

1.0.0 - Initial release.
Versões →
Colaboradores: Daemon666 ✦
Licença: GPL-3.0

Avaliação

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Baixar .sma
Arquivos:
csb_fakeplayer_guard.sma main 3.0 KB

Requisitos

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Opcional
ReAPI Opcional
Metamod Metamod / Metamod-r
Módulos fakemeta
Conflitos conhecidos Very slow real connections on poor links may exceed the handshake timeout; raise csb_fpg_timeout if that happens.
Voltar aos Plugins