AntiSwear
AntiSwear
Description
This plugin completely stops swearing of any kind on your server by allowing a range of punishments including but not limited to kicking changeing the message to whatever you want (this server is shit can become I am a poop face!) and even custom ones from other plugins via a command to be executed when someone swears. This plugin is activly supppoted and works with 1.6, 1.5, 1.5.1, 1.4.7, and 1.2.5 (for tekkit). This plugin is highly configurable and almost always can give you exactly what you want!
Message to youtubers
I am currently looking for someone to make a video for this plugin!
The best video after a few days will be featured on this plugin page.
Every video must show how the plugin works and a setup tutorial (including config).
Post a link to your videos in the comments!
Features:
- configurable words
- ban as many words as you want!
- Kicking system (optional)
- Sign Censoring (as of version 3.4)
- Colored chat messages for kick messages
- Optional explosion sound on swearing
Permissions: (Used superperms should work with any up-to-date permissions plugin)
Permission | Description | Default |
AntiSwear.ignore | Allows you to bypass the censor | Operator |
AntiSwear.admin | Allows permission for AntiSwear admin commands (see below) | Operator |
Commands
Command | Permission | Description |
/AntiSwear | AntiSwear.admin | The main command |
/AntiSwear reload | AntiSwear.admin | Relaods the configuration |
Setting up the config
#Do you want to kick players when they swear? KICK_ON_SWEAR: true #Set true if you want players to be kicked when they swear on signs KICK_ON_SIGN_SWEAR: false #The message to be shown to players when they swear. This will be the kick message if kicking is enabled. KICK_MESSAGE: '&4Swearing is not allowed on this server!' EXPLOSION_ON_SWEAR: true #false for blocking message and true for doing NEW_MESSAGE instead. REPLACE_MESSAGE: false #Should the censored word be replaced with NEW_MESSAGE? ONly works if REPLACE_MESSAGE is false BEEP_WORD: false #Command for the console to execute when someone swears use <player> for the player that swears COMMAND_ON_SWEAR: warn <player> #The message to replace the swears with requires REPLACE_MESSAGE to be true NEW_MESSAGE: I am a poop face! #Put all words to censor here list: - fuck - shit
- Simply change the words to the swear words you want to block.
- if you want to add more words just add "- Wordhere"
@Luckyy13
Please create a ticket for this issue. In the ticket please post your config.yml on pastebin.
@Luckyy13
I dont know about that, but dav is working on a new version with a smart-detect option.
About the problem, Make sure you have a working config.yml
Hello.
the message is not replacing the bad words is this a bug ?
i try false and true not working ingame peaple kan still type badwords ingame.
@UXRO
The bug relating to word detection has been reported multiple times (I am currently working on a new filter to solve for it). Create a ticket for te warning bug.
Um if you add "ass" then you can't say "grass". And also warn command not work for some reason must be / infront? I have simple warning installed.
And also thank you good plugin =)
@piritacraft
Sorry, just me messing up :(. Wait for version 3.6.1, Making plugins at 1 am was de best idea ever
@piritacraft
OK, I see what the bug is. IN-case assaultman is wondering it is an asynchronous kick this is not OK. Just make the event synchronous then problem fixed.
@assultman
Tested now with last version of spigot and same error happens: http://pastebin.com/vF953QYD
@piritacraft
Should be fixed in v3.6.1, if it still doesent work then update your spigot
@john01dav
Spigot-1033. I am downloading the last version now to test it.
@piritacraft
What version are you using? Plus what spigot build # Also, create a ticket or we will not help you.
When kick enabled I get this error on swear: error log : http://pastebin.com/VpHaMUL4
Updated for minecraft 1.6.2
added an option to kick players when swearing on signs.
I would suggest and 'exceptions' list. That way when some says 'glass' it doesn't filter it. Of course it would be up to server mods to add to the list as they come about, there is no way you could account for them all. So, you would need to add a command for adding exceptions.
@awesomejj101 To replace the message compleatly do replace_message: true and beep_word: false If you simply want to replace only the swear word do the opposite. Also in new_message set it to the word for the swear to become or the new message for them to say.
It will not replace message... or beep it. Only made for kicking? Config: http://pastebin.com/E0H52DM8
Love this plugin!
@killas291
I could program in a feature, However on larger servers where people are constantly chatting it is likely to become a performance issue.
People put spaces to bypass swearing filter, is there any way to stop that?
@gbr666
Sorry, but I cant hear anything about what you are saying in the video, the microphone volume is low and your mom is talking in the background :/