SwearJar
Bukkit Swear Jar
What is this plugin?
SwearJar is another bad word filtering plugin that will instantly mute a person if they say a word that is on the list in the config.yml (and please configure it!). The only way to get unmuted is to pay the amount specified in the config - the default is $50.
Dependencies!
This plugin depends on Vault, which depends on Essentials. Make sure these are installed and configured properly for your server.
Features!
- Immediate mute of players without the swearjar.exempt permission!
- Configurable swear list and price!
- Players can unmute themselves... for a price.
- Requires Vault for economy (because I'm too lazy to make my own :p).
Permissions:
swearjar.exempt - exempts player from the swear filter
Config:
price: 50 #How much the player pays swears: #Swear word list words: list: - crap players: #Muted players for easy manual removal muted: list: - "noone"
Quick notes
This plugin as of now uses players display names for filtering. I'll be moving things over to UUIDS when I have the time. If this plugin fails to block a word, check your config and make sure there are no capital letters in your words - the plugin automatically changes the players message to lowercase when checking.
Source code
You can find the source code (the one .java file) here:
Used this plugin like a year ago.. it was great :D Does it still work?
Apologies for lack of... well anything with this plugin, I have been extremely busy with school and another project. If someone else wants to take it over, shoot me a PM and I'll make it happen. Thanks for all the support =D
@KarlKoch
See if your host can update to OpenJDK 1.8.0_x, otherwise you can shoot me a PM and I'll do a small custom plugin job (along with re-compiling the jar for your version) for you. Thanks for bringing this to my attention.
@gmemstr
java version "1.7.0_75" OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1deb7u1) OpenJDK 64-Bit Server
@ayeelanaa
Sounds like an awesome idea that would be really simple to implement. Thanks!
@KarlKoch
Thanks, I'll be looking in to it ASAP. What version of Java is your server running?
@gmemstr
There you go: http://pastebin.com/CW9e9u6y
Would be awesome if this went to a lottery type thing so after a designated time the amount of money in the "swear jar" is given to an online player at random.
@KarlKoch
It should, I'll be testing it shortly. Is there an error, or does it just not load? Shoot me a PM with more details.
Can anyone confirm that its working on Spigot 1.8.3?
Does not for me.
@merlinshaw
That's one of the things I had in mind, I just didn't get around to it. I'll be updating the plugin hopefully by the end of the week with some shiny new things like sending the money somewhere. Thanks ;p
IS it possible to send the money someplace? For example i used hyperconomy and would like to send the money there. And seance its hooked into essentials all i have to do is /eco give hyeperconomy (amount).
Nice! I quite like this plugin, I'm doing something to do with anti-swearing myself! PM me if interested.