Little Anti-Swearing Plugin
Update 3.4.2013: I will update this plugin soon
This plugin makes it so curse words are censored in chat. Simply type into the config file what words you don't want to be allowed.
Config
Config is very simple:
words: fuck;shit;asshole kickoncensor: true messages: kick: You are kicked for writing "%WORD"! warn: '%PLAYER writed "%MESSAGE"!' censored: Message censored!
Words must be in lower case and separated by semicolon. Kickoncensor indicates whether plugin kicks a bad player. Message "kick" is shown to the player whom is kicked for writing censored words. Message "warn" is shown to the console. Message "censored" is shown to the game, if "kickoncensor" is false.
There's only one command - "/anw". It shows a list of censored words to players. Players needs the permission "AS.Show" to use it. There are two new permissions in version 2.0:
AS.NoKick - If "kickoncensor" is true, the plugin doesn't kick the player with this permission
AS.NoCensor - Plugin doesn't censor any messages from the player with this permission.
If you are upgrading from version 0.6 to the next, you must delete the old config!
ToDo list
Permissions - ✔
Configurable messages - ✔
ENGLISH plugin description - HELP ME! :D
Česká verze
Tenhle plugin má i českou verzi :) Většinou vydávám českou verzi až po anglické.
Instead of kick can we mute person for period of time?
THIS PLUGIN AND THE BEST I've ever seen!
hiya ^_^
You asked for help with the description, so here you are:
Words must be in lower case and separated by semicolon. Kickoncensor indicates whether plugin kicks a bad player. Message "kick" is shown to the player whom is kicked for writing censored words. Message "warn" is shown to the console. Message "censored" is shown to the game, if "kickoncensor" is false.
There's only one command - "/anw". It shows a list of censored words to players. Players needs the permission "AS.Show" to use it. There are two new permissions in version 2.0:
AS.NoKick - If "kickoncensor" is true, the plugin doesn't kick the player with this permission
AS.NoCensor - Plugin doesn't censor any messages from the player with this permission.
__
Thanks for an awesome plugin.
I would also suggest making it do other things, such as auto jailing a player, killing them for it, etc.
Instead of autokicking a player, make a configurable warning message such as: When a player curses [number] of times kick them.
-Flawless
Hi do the permissions work properly? because all my players can see the message that the player kicked said still.. Can you advised how to sort that so they dont see it and only admins see. Thanks
@Benas1
You need Java 7.
16:27:20 [SEVERE] Could not load 'plugins/Anti-Swearing_2.0_CZ.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: net/ondryaso/plugins/AntiNadavka/ANMain : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:155) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:222) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:198) at net.minecraft.server.ServerConfigurationManagerAbstract.<init>(ServerConfigurationManagerAbstract.java:50) at net.minecraft.server.ServerConfigurationManager.<init>(SourceFile:11) at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:105) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.UnsupportedClassVersionError: net/ondryaso/plugins/AntiNadavka/ANMain : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:44) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:144)
@tyrus7141
Thank you :)
for a desc in english write something like: "This plugin makes it so curse words are censored in chat. Simply type into the config file what words you don't want to be allowed."
@DrBreadgun
But now you can set messages in config ;)
@DrBreadgun
No, I can't. I'm really bad in english, so, can YOU help me with translation? ;)
Can you make it english?