Yes im an admin that has a bad sence of humor i would like it if there was a plugin that could make the /me command kill players when they use it. Why?
http://dl.dropbox.com/u/7186172/MeKill.jar Done. When a player types /me it kills them. Pretty simples.
@CainFoool You used contains() and not .equalsIgnoreCase(), right? (For the CommandPreprocessEvent) Just to make sure it will kill them whenever they use it, with text after it or not?
It's gonna conflict with other plugins. In this case, you need to use CommandPreprocessEvent. And you didn't return true when finishing the command.
the standard output .... i just looked in log and me doesnt fire up @ startup java.lang.ClassNotFoundException: me.cain.mekill.mekill at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:168) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:199) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:122) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:89) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:51) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335) at net.minecraft.server.ThreadServerApplication.run(SourceFile:422) EDIT by Moderator: merged posts, please use the edit button instead of double posting.