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.iniblacklist — 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
- Compile and copy
csb_name_filter.amxxintoaddons/amxmodx/plugins/. - Copy
csb_namefilter.iniintoaddons/amxmodx/configs/and edit it for your community. - Add the plugin to
plugins.iniand change the map.









