Profanity Block
The complete chat control plugin, made easy to use for you!
Tired of a chat filters that allow s p a c i n g between the words? People spamming messages? Are your players tired of being censored for language that is not inappropriate? Or do you just want an extremely customizable chat filter? ProfanityBlock can help you there! It easy to set up and so simple to use!
This plugin contains 3 lists: Instaban, Whitelist and Blacklist. The whitelist contains the exceptions. No matter what word is in the blacklist or instaban list, if its in the whitelist, you can say it! The instaban list is for the words you really don't want to be said on your server. Any word or phrase said that is in the Instaban list, will result in immediate punishment! The blacklist is where words that result in a less severe punishment are put.
Features
- Logs to a seperate file containing the player, the message and how it was said.
- Choice between mute or ban!
- Supports both sentences and single words!
- CaSe InSeNsItIvE swearing filter!
- Contains basic spam filter(repeated messages are blocked regardless of time - WILL BE CHANGED LATER ON!)
- Will detect ASCII letter replacements ie |< for k and | for l and even \/ for v
- Compact replacement for when you want words to be replaced in messages. ie a blacklist entry of 'you are silly':'I love you' will result in the phrase you are silly being changed to I love you!
- For advanced users, this plugin uses java regex. Formatting help can be found below!
- You can choose to stop messages containing swears or allow them whilst replacing any profanities with
****
ie shit will turn out as****
- This plugin will censor signs and commands! If you have another messaging plugin, you can add the command for it in the config and it will censor that as well!
- There are 3 different blacklist punishments you can choose from!(Or you can just use them all at once!):
- warnings - uses the warnings system of ProfanityBlock!
- lightning - strikes lightning on the player whenever they utter a profanity!
- damage - will cause a certain amount of damage(defined in config) to the player when they swear!
TODO
- Updated tekkit version!
Source code: Source!
Don't forget to leave some feedback or ideas in the comments below!
If you find any bugs or errors, please post the error message below and if possible, the event that caused it.
How to turn off "Excessive letter repitition" ?
Please Change /pb to /problock or something because this REALLY== INTERFERES == With paintball
In the next update, please allow me to disable the advertising check.
Also, is there a way to suppress the message on login that shows players how many warnings they have left? They see -1 and think that means if they swear one time they're out. :-D
Any way to get what they are actually saying to appear in the console?
For some reason, saying " <o<" gives a warning.
I have looked throught the blacklist, and there are no three letter words that seem to match this.
@Nikitis
I have fixed most of that. add it with a space in front of it to the whitelist. It is a side effect of picking up swearing over spaces. Also the \w* is so that it CAN check for the spacing out of a word. As the entire message has its spaces removed, it would turn into something like this: "Helloeveryone.Iseveryonehavinganiceday?" Without the \w* someone could easily swear just by spacing it out. As for assassin just add assass to the whitelist.
However I will add a modifier to the functions to stop automatic formatting. Sorry for the inconvenienve. In the mean time you will have to add words to the actual files to remove the formatting.
This changlog entry for 2.5.2 + needs to go.
Changed the way words are added to the list. +? and \w* are added to the word automatically, therefore you will not need to add them yourself.
Unfortunately, for small words like 'tits' and 'ass' being blocked, because it automatically adds \w* to the word, everytime someone says 'but its' it picks up tits. And same for 'assassin'
I fail to see how we can just add a simple word without checking for it's alternative or inbetween anymore. If I'm missing how this is done, please let us know.
As an administrator over a server, i'd much rather manually add \w* to a word if I need it to, rather than not being able to automatically block just the simple version of the word. As it stands now, I have to allow it. Or have it automatically add \w* and block tons of sentences for the small words, that aren't curse words.
Thanks,
I'm not seeing a command to reload the blacklist/whitelist files. Sometimes it's not convenient to modify the lists with commands. I'd rather be able to edit the files themselves and reload them. Something like /pb reload. Please consider such a command for future versions, it would be an awesome addition. Thanks!
@Prominentc
It already does that when . is involved. And it's not impossible to stop bypassing its just not easy. But will definitely improve the domain block.
One improvement : Maybe add measures to stop bypassing IP's domains?
Like prevent "dot" "-" "," ";" ":" ect
I know it's impossible to stop bypassing but maybe with a good amount of basics covered they would give up :)
Also looks NICE
@Masterhax
Sorry I uploaded the wrong plugin I think... I've been busy and very distracted lately.
Hi, love your mod! However, I got two problems... I also get the "bypasscode" when someone swears in the chat, and I can't seem to fix it! And why is the new updated version a PluginManager.jar download, are you sure you've uploaded the right plugin ? :P
Thanks!
@remoteview
Yeah I will change that. What chat plugin are you using right now?
Hey, how do I turn off 'bypasscode1412' at the end of the message each time someone swears? I tried finding out how, but I still don't understand.
LOOKS BEAST DEF'S GONNA TRY IT OUT!