Introduction
Most server admins out there have had trouble with clans and, in particular, TKing clans. This option gives the admin the power to ban a clan or string in a players name.
Usage
To use the nameban feature firstly put
$bwadmin::EnableNameBan = "true";
in your ServerConfig.cs file, this enables the feature. Then you must set up your banlist. A sample banlist is shown below.
//================================================================================================
//======= BWNameBanList General Settings =======
//================================================================================================//How many Ban Strings in your list?
$bwadmin::MaxBanStrings = 2;//================================================================================================
//======= This is the ban data =======
//================================================================================================
//
// $bwadmin::NameBanString[1,string] = "Tosser";
// $bwadmin::NameBanString[1,message] = "Buggar off you TKing SOB";
// $bwadmin::NameBanString[1,bantime] = 1800;
//
// In the example above, anyone with the string Tosser in their name (ie. [EK]Tosser, TosserB, etc)
// will be kicked. The message "Buggar off you TKing SOB" will eb displayed to this user and
// he/she will be ip banned for 1800 seconds. (30 minutes)
//
//=================================================================================================$bwadmin::NameBanString[1,string] = "Tosser";
$bwadmin::NameBanString[1,message] = "Buggar off you TKing SOB";
$bwadmin::NameBanString[1,bantime] = 1800;
//==================================================================================
The players name IS case sensitive so you may need a number of strings depending on the clans/players usage.