Bad name kick / ban with SourceBans support (Namechecker)
This is a pretty simple plugin to kick or ban anybody who joins with or changes their name to something that contains a bad phrase in the bad_names.ini.
The original plugin is from TSCDan, but it was broken and has no SourceBans support.
Admins with 'b' flag are immune to this plugin.
Instructions
- Place all files of zip archive in sourcemod folder.
- Edit bad_names.ini in configs folder, place here all name pharses that should be banned or kicked.
- After first start the plugin will create a file named plugin.badnamekickban.cfg in cfg/sourcemod. You can edit whether players with bad names should be kicked or banned and for how many minutes they should be banned. You can also set a costum reason for kicking and banning.
Note
The reason that you choose in sm_bnkb_reason will also displayed on SourceBans website, if you have installed SourceBans. If not or you have kicking only enabled it will shown to the player as kick / ban message.
All kicks / bans will logged to sourcemod logs with reason.
Cvars
sm_bnkb_bantime "1" - How long to ban someone with a bad phrase in their name (0 = perm, -1 = just kick)
sm_bnkb_reason "Bad name" - Reason to give client when they are kicked / banned
sm_bnkb_version "1.0.0" - Bad name kick / ban version
Changelog
21.04.2014 - v1.0.0: Release