Posts Tagged ‘administrator messages’

Smartfox Server–Chapter 06-Server side Config-part-3

October 3rd, 2010 by aabhaanjan

————————————————————————————————————————-

Server side Config-part-3 Bad words filtering

————————————————————————————————————————-


Lets continue with Bad words filtering  🙂

server side config -part-3

SmartFoxServer provides a built-in customizable bad words filter which allow automatic moderation of chat applications and games. We can make a list of bad words that we want to be filtered and server will automatically handle that by replacing them with asterisks or completely remove the phrase.

Also you can turn automatic administrator messages and specify the amount of warnings before the user is kicked and the amounts of kicks before the user is completely banned from the server.

Active : It is a Boolean value which specify if we want to use this feature.

FilterMode : There are two mode :

a). FILTER : It will replace the bad words with asterisks

b). REMOVE : it will remove every phrase containing bad words

StripCharacters : By default the following characters are , . ; : _ ! $ % & / # * – +.By using this feature we can specify which characters should be stripped from the original message

Warnings: It is a Boolean value. By turning them on the server will send a custom warning message to the user each time a bad word is detected or removed.

FilterRoomNames : It is a Boolean value. By turning them on it will filter bad words in room names.

FilterUserNames: It is a Boolean value. By turning them on it will filter bad words in user nicknames.

WarningsBeforeKick: Here we can specify how many warnings are sent before the user is automatically kicked.

WarningMessage : Here we can specify the custom warning message.

KickMessage : Here we can specify the custom kick message.

BanMessage: Here we can specify the custom ban message.

BanAfter: Here we can specify how many kicks are tolerated before the user is automatically banned from the server.

BadWordsList : Here we can list the custom list of bad words to be filtered.

Previous Chapter

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,