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"
@catchymanjoel
i entered to your server and it was the emptiest place i've ever seen but it has style and it seem fun
@catchymanjoel There is no way of doing this currently without introducing a new bug. So if I added a fix to that then if you censored fuck then someone said fucker it would work and you would have to censor all variations of the word.
@catchymanjoel
Join my server @
www.catchy1.com
When someone on my server says something like this:
I need glass!
It will kick them because i have ass in the list of cuss word list. Could you try to fix this please!
thanks!
CatchyManJoel
@StanoMalek
idk about supporting faction chat it would have to be a faction specific thing meaning using the factions api then this plugin would become dependent of factions meaning everyone using this plugin would need to also get factions.
Please support faction chat:D
I have a plugin Factions. :( (Don't work factions with AntiSwear)
A warning plugin? I'll try to look for one... Thanks.
@bokou See permission AntiSwear.ignore, you will know why. :)
@MCwolski Simply install a warning plugin to your server then set the command_on_swear in the config to automatically warn that player when they swear.
@bokou
Being op matters because anyone with the permission AntiSwear.ignore can swear. This permission defaults to op. If you want to make it so you cannot swear then simply add AntiSwear.ignore as a negative permission to yourself.
plugin seems to install and makes the folder with the config file inside, but I can swear all day and it doesn't seem to bleep it out.
I'm OP on the server if that matters.
Could you add an option that ban a player who always swears? :)
@C0nsoleMC
Go ahead and create a folder and open the plugin jar file with winrar or another archiving tool and place the config in the folder.
@john01dav
Okay, but there is another problem. When I install the plugin and reload the server, /antiswear reload works, revealing the plugin is installed, but there is no folder with a config in it!
@C0nsoleMC
What version are you using? If it is 3.5 then the error is fixed in 3.5.1 (not approved by bukkit yet). In the mean time just do not use the /antiswear command by itself but instead do /antiswear reload
I am getting this error! 2013-03-24 15:59:34 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'antiswear' in plugin AntiSwear v3.5 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186) at org.bukkit.craftbukkit.v1_5_R1.CraftServer.dispatchCommand(CraftServer.java:514) at net.minecraft.server.v1_5_R1.PlayerConnection.handleCommand(PlayerConnection.java:967) at net.minecraft.server.v1_5_R1.PlayerConnection.chat(PlayerConnection.java:885) at net.minecraft.server.v1_5_R1.PlayerConnection.a(PlayerConnection.java:840) at net.minecraft.server.v1_5_R1.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.v1_5_R1.NetworkManager.b(NetworkManager.java:292) at net.minecraft.server.v1_5_R1.PlayerConnection.d(PlayerConnection.java:113) at net.minecraft.server.v1_5_R1.ServerConnection.b(SourceFile:35) at net.minecraft.server.v1_5_R1.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_5_R1.MinecraftServer.r(MinecraftServer.java:580) at net.minecraft.server.v1_5_R1.DedicatedServer.r(DedicatedServer.java:225) at net.minecraft.server.v1_5_R1.MinecraftServer.q(MinecraftServer.java:476) at net.minecraft.server.v1_5_R1.MinecraftServer.run(MinecraftServer.java:409) at net.minecraft.server.v1_5_R1.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 at me.assult.antiswear.Main.onCommand(Main.java:29) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 15 more
@Mrbear235
OK fixed bug in 3.5.1 it will take bukkit awhile to approve the file. It looks like you were doing /antiswear but without the 'reload' part you should use it like the following '/antiswear reload'
AntiSwear is not working... do I need vault or something?
Using version "R: Version 3.5 for 1.5.1" in my 1.5.1 bukkit server When I do any AntiSwear commands in console...
08:28:16 [WARNING] Unexpected exception while parsing console command "antiswear" org.bukkit.command.CommandException: Unhandled exception executing command 'antiswear' in plugin AntiSwear v3.5 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:187) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.dispatchCommand(CraftServer.java:523) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.dispatchServerCommand(CraftServer.java:512) at net.minecraft.server.v1_5_R2.DedicatedServer.am(DedicatedServer.java:261) at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:226) at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:476) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:409) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 at me.assult.antiswear.Main.onCommand(Main.java:29) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 8 more
and when doing it in-game (and look at the error in console)...
08:25:05 [INFO] Mrbear235 issued server command: /antiswear 08:25:05 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'antiswear' in plugin AntiSwear v3.5 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:187) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.dispatchCommand(CraftServer.java:523) at net.minecraft.server.v1_5_R2.PlayerConnection.handleCommand(PlayerConnection.java:967) at net.minecraft.server.v1_5_R2.PlayerConnection.chat(PlayerConnection.java:885) at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:840) at net.minecraft.server.v1_5_R2.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.v1_5_R2.NetworkManager.b(NetworkManager.java:292) at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:113) at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35) at net.minecraft.server.v1_5_R2.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:580) at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225) at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:476) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:409) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 at me.assult.antiswear.Main.onCommand(Main.java:29) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 15 more
PS words are not being blocked
PPS Reloaded server and did /stop and that jaz... still not working
PPPS As soon as I can get this working I'll do a YouTube vid on this plugin.
@ShyBusEk
Added in build 3.5 download
I would like to command /antiswear reload