CensorShip
CensorShip
Important
This plugin has been updated to version 3.0 (working with 1.7.9/1.7.10 and should work with Glowstone on 1.8, but not tested yet). However I would love to get some support of you guys. To support me you can give feedback in the comments or spend small amounts of money.
Also notice, that the current version is completely rewritten and that there could be some bugs that I did not recognize yet.
CensorShip
This Plugin simply replaces custom words with other custom words, like replacing shit with blah.
You can say what action will be done with the player: kick, ban, tempban or none. There are also penalty-points the players get for using a forbidden word. They also can get muted. A new feature is that you can censor commands like /msg and /r
Adding words | How to start | Commands | Permissions | Configuration
Features
- replacing custom words
- banning/kicking players for using custom words
- adding/removing custom words via commands
- autobanning players for overusing forbidden words
- compact replacement (shit in shitty will be replaced)
- automuting for overusing forbidden words
- supports multiple custom commands
- also replaces words splitted by spaces, dots or commas
- mcbans support
- auto notification
- censoring commands like whispering (THIS is the first and only plugin that does this!!)
- censoring sign text
suggestions are welcome!
ToDo
- new developer API
- more to come
Please report any bugs you encounter. Also, please point out spelling and grammar issues. I am not a native speaker.
Next Update (Upcoming features)
- new developer API
- more in development...
love this plugin, but it needs to be able to see through all nonalphabetic characters, not just spaces periods commas and underscores. people simply type like th/is and the b*a*d wor\ds get thr^ough j`ust fi~ne!
Thank you!
Does not work..?
Needs 1.5 update! :)
@hipio
It would also be nice if you could add a option so you can show someone's penalty-points.
It would be nice if you could censor multiple words.
Hello,
Thanks for the great plugin! I seem to have an issue where it's flagging words with spaces.
For example: Push it
is triggering.
Is this a known issue? If not, let me know and I'll open a ticket.
Is there a pemission to not get your speeches checked?
Any chance you can add filters to filter Ips and by that i don't mean remove the dots, i mean like remove all the numbers, AND the dots. Please do this!!!!!!
How do I make it temp ban them? I use temp ban to temp ban them but I wan't to know if it possible to do something like this: tempban [player] 10 min
How ever that will work.
Hello, your plugin was working great until earlier today. No i am getting this spam on my console and the censor isnt working anymore:
14.01 16:53:31 [Server] INFO at com.bw2801.plugins.censorship.CensorShipListener.onPlayerChat(CensorShipListener.java:110) 14.01 16:53:31 [Server] INFO at com.bw2801.plugins.censorship.Censorship.replace(Censorship.java:68) 14.01 16:53:31 [Server] INFO at com.bw2801.plugins.censorship.Censorship.replace(Censorship.java:489) 14.01 16:53:31 [Server] INFO at java.lang.String.replaceAll(Unknown Source) 14.01 16:53:31 [Server] INFO at java.util.regex.Pattern.compile(Unknown Source) 14.01 16:53:31 [Server] INFO at java.util.regex.Pattern.<init>(Unknown Source) 14.01 16:53:31 [Server] INFO at java.util.regex.Pattern.compile(Unknown Source) 14.01 16:53:31 [Server] INFO at java.util.regex.Pattern.expr(Unknown Source) 14.01 16:53:31 [Server] INFO at java.util.regex.Pattern.sequence(Unknown Source) 14.01 16:53:31 [Server] INFO at java.util.regex.Pattern.error(Unknown Source) 14.01 16:53:31 [Server] INFO ^ 14.01 16:53:31 [Server] INFO (?i)?\s*\.*\,*\-*\_*\*? 14.01 16:53:31 [Server] INFO Caused by: java.util.regex.PatternSyntaxException: Dangling meta character '?' near index 4
14.01 16:53:31 [Server] SEVERE Could not pass event AsyncPlayerChatEvent to CensorShip v2.2
Im also getting general mc.server errors too so im not sure if the problem is with mc servers or the plugin. All other plugins are working though.
@Dustinduse
there are some bugs in the current version. I will release a new one soon.
I use the livechat plugin and this doesnt seem to work for me.
@Socoolluke
It is not completly implemented. I just added it to the config but not more yet.
Also, the 'ToLowerCase' doesn't work I think
@MCPanem
@berserkfury9000
I'll see where the bug is and I'll fix it.
@MCPanem
Yes im having the same problem, ive tried using the exempt command, but its not doing anything nor do i know how to use it properly. So currently glass,mass,class and classified are all coming out as glbooty,mbooty,clbooty and clbootyfied. While this is absolutely hilarious, no one knows whats going on.
Is it possible to stop the plugin from blocking words? like, if I am saying " it was spawned" it comes out to "it w*pawned" because "ass" is banned.
Version 2.2 released and source code updated
@LimeByte
I'll fix the space thing and I'll upload the latest source to Github
After signs are filtered a space seems to be added to the end of each line. This cause conflict with my plugin BattleNight. Could you please look into this?
Also, I would have made a pull request but your Github repo looked outdated.