CSB Name Filter

v1.0.0 0 descargas Daemon666 Última actualización: Jul 14, 2026

Blocks advertising, IP-like and impersonation names on connect and rename, with auto-rename or kick.

CSB Name Filter keeps junk names off your scoreboard. It checks each player's name on connect and every time they rename against a case-insensitive substring blacklist loaded from csb_namefilter.ini — advertising URLs, admin impersonation, IP-address names and anything else you add.

How it works

The plugin hooks the core client_infochanged forward, reads the new name and matches it against the loaded patterns (plus a built-in IP-address heuristic and a minimum-length check). A hit is either auto-renamed to Player_<userid> or kicked, depending on csb_namefilter_action. A per-player cooldown discourages name-change spam.

Features

  • External csb_namefilter.ini blacklist — edit without recompiling.
  • Substring matching, case-insensitive, up to 128 patterns.
  • Built-in IP-address name detection (csb_namefilter_blockip).
  • Minimum name length check (csb_namefilter_minlen).
  • Action is a cvar: 0 = auto-rename, 1 = kick.
  • Ships with a sensible starter ini; falls back to a built-in list if the file is missing.

Installation

  1. Compile and copy csb_name_filter.amxx into addons/amxmodx/plugins/.
  2. Copy csb_namefilter.ini into addons/amxmodx/configs/ and edit it for your community.
  3. Add the plugin to plugins.ini and change the map.

Instalación

1. Put csb_name_filter.amxx in addons/amxmodx/plugins/ and add it to plugins.ini
2. Copy csb_namefilter.ini into addons/amxmodx/configs/
3. Edit the ini for your community
4. Change map

Cvars

CVARDefaultDescription
csb_namefilter_enabled 1 Enable or disable name filtering.
csb_namefilter_action 0 0 = auto-rename, 1 = kick on a bad name.
csb_namefilter_minlen 2 Minimum allowed name length.
csb_namefilter_blockip 1 Reject names that look like IP addresses.

Registro de cambios — v1.0.0

1.0.0 - Initial release.
Versiones →
Colaboradores: Daemon666 ✦
Licencia: GPL-3.0

Valoración

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Descargar .sma Descargar .zip
Archivos:
csb_name_filter.sma main 5.7 KB
csb_namefilter.ini 0.5 KB

Requisitos

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Opcional
ReAPI Opcional
Metamod Metamod / Metamod-r
Conflictos conocidos Other name-filter / anti-advertise-name plugins - run only one.
Volver a Plugins