FrameChatFilter
Frame Chat Filter
FrameChatFilter is not just any other basic anti-swearing/profanity plugin. This plugin, the first of its kind, is very lightweight and will allow players who don’t mind the swearing, to be able to toggle the filter off for themselves, but other players, who prefer to keep profanity out of their chat, will not be able to see it.
This means that you, as server owners, will not have the responsibility of making sure that the chat is appropriate for the younger players, but still keep that element of freedom in the server for those who don’t mind the swearing.
This plugin uses a smart search for the swearing. If a player says a word such as ‘shit’ it will censor the word into asterisks - *. In the case of players using a word inside a larger word, for example, ‘shithead’ or ‘dickhead’, the entire word will be censored, not just the specific swear word used.
In addition, it has a "static word" list for words that will only be censored if the player sayed them exectly as the ones in the list (This was made to prevent the filter to censor word like glass for having the word ass in them)
The amount of stars that are showing depends on the amount of characters the censored word has.
Requirements:
The plugin uses vault. So you will have to download vault as well in order for this plugin to work.
Commands
/togglefilter - Toggles the filter for the sender /checkfilter <player_name> - Returns the status of the filter of <player_name> (enabled/disabled) #word - censor the all word /word list - Lists the banned words /word add <word> - Adds a word to the ban list /word remove <word> - Removes a word from the ban list #staticword - censor the word only if matches exectly /staticword list - Lists the banned static words /staticword add <word> - Adds a static word to the ban list /staticword remove <word> - Removes a static word from the ban list
Permissions
FrameSwearFilter.word - Allows the access to all the /word commands FrameSwearFilter.staticword - Allows the access to all the /staticword commands
Bad Words
A list of bad words that can be added to the plugin folder: BadWords.
Planned Features
Censor words written in CaPs
Censor certian words without censoring the all substring (censor ass and not glass. censor tit and not titanium)
Add a config file
Costumize messages color
- Costumize messages text

-
View User Profile
-
Send Message
Posted Jun 27, 2014Noticed a little... bug, I guess? Anyways, basically what happens is when a player uses a filtered word the chat format changes. (<[Rank] Player> Unfiltered message versus [Rank] Player: Filtered message) Now with this change comes a problem. Any filtered message does NOT appear in the log or console. Therefore, players could abuse this to get away with being disrespectful to other players. It's not so much the format changing that bothers as much as the risk of exploitation. I also checked if filtered messages appeared in client logs and they do. I expected they would but it's good to check. Any fix in store?
-
View User Profile
-
Send Message
Posted Dec 29, 2013Thanks dude, it works!
-
View User Profile
-
Send Message
Posted Sep 26, 2013Please add that you can change the color of the astersisks. Anyway, very cool plugin! :)
-
View User Profile
-
Send Message
Posted Aug 24, 2013@PlayMinefall
any errors in the console? It should create a ChatFilter folder with 2 files in it (BadWords.yml and Players.yml)
Also, please tell me which version of the plugin you're using, and which version of bukkit (vault doesn't do anything in the file creation)
-
View User Profile
-
Send Message
Posted Aug 24, 2013was this supposed to create a folder after restart?
I'm not finding one and I do have vault.
-
View User Profile
-
Send Message
Posted Aug 23, 2013@joshwenke
You mean use regex to find stuff like that: sh*t, s h i t, shiiit ?
-
View User Profile
-
Send Message
Posted Aug 23, 2013@MunchkinBoomer
For more customization I guess. Like using regular expressions to filter stuff if we want, since the built-in filter isn't finished/bugtested yet. http://stackoverflow.com/a/8320041 explains Regex. (REGularEXpression is what it stands for)
I think the asterick filter is good for now. It works as it should and that's all I'm happy about.
Sorry for the confusing suggestions :P
-
View User Profile
-
Send Message
Posted Aug 23, 2013@joshwenke
I'm happy that you like my plugin :)
What do you mean "regex filter"? if someone says abababa and you filtered aba you want it to show * * * b * * *?
Also, I was thinking of adding a config file, but right now I'm focusing on censoring everything (^shit wont censor for some weird reason). Why would you like to block the all message? I did this filter so it wouldn't be neccessery (each person can choose on his own if he wants it on or off). Please tell me why you want it, maybe it's something I havn't tought about. But, I may just add it as an option once I do the config file if people want it.
-
View User Profile
-
Send Message
Posted Aug 23, 2013Wow I'm really looking forward to using this plugin.
Suggestions:
Seriously though... this plugin rocks. Thank you!
-
View User Profile
-
Send Message
Posted Aug 21, 2013@CommodoreAlpha
The plugin is not yet done. I was thinking of doing one of the following: 1. add a "whitelist" of words for words like glASS or ASSociate which conatains a bad word 2. add a diffrent black list for words that will not censor the all word (but then we'll have to put all the variations of those words such as assface, asshole, dumbass and so on)
For now, I removed it from the list of words on my own server until I'll figure out the best way of solving this.
Hope this helps you with your question :)
-
View User Profile
-
Send Message
Posted Aug 20, 2013Finally, a chat filter that makes sense! :D
Anyhow, you say that a censored word, when found in a larger word (e.g. "shit" in "shithead"), will cause the entire word to be censored. What about the case where the larger word isn't profane at all? (e.g. "ass" in "associate")