View Single Post
Author Message
2NASTY4U
Senior Member
Join Date: Mar 2014
Old 04-20-2014 , 18:32   [ANY] Bad name kick / ban with SourceBans support (Namechecker)
Reply With Quote #1

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
  1. Place all files of zip archive in sourcemod folder.
  2. Edit bad_names.ini in configs folder, place here all name pharses that should be banned or kicked.
  3. 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
Attached Files
File Type: zip badnamekickban_1.0.0.zip (7.7 KB, 2344 views)

Last edited by 2NASTY4U; 05-18-2014 at 21:31. Reason: Ready for review now
2NASTY4U is offline