Promouvoir serveur

CSB Name Filter v1.0.0

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.
Installation
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
Cvars4
CVARDefaultDescription
csb_namefilter_enabled1Enable or disable name filtering.
csb_namefilter_action00 = auto-rename, 1 = kick on a bad name.
csb_namefilter_minlen2Minimum allowed name length.
csb_namefilter_blockip1Reject names that look like IP addresses.
Note
Pas encore de notes