[REQ] me kill

Discussion in 'Archived: Plugin Requests' started by o0AzzA0o, Jul 12, 2011.

  1. Offline

    o0AzzA0o

    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?

    :)
     
  2. Offline

    DrAgonmoray

  3. Offline

    scrub88

    ^^
     
  4. Offline

    alta189

  5. Offline

    MetalMadness

    lolwut
     
    Spacey_Puppy likes this.
  6. Offline

    CainFoool

  7. Offline

    o0AzzA0o

  8. Offline

    DrBowe

    @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?
     
  9. Offline

    CainFoool

    I use onCommand().
     
  10. Offline

    Kaikz

    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.
     
  11. Offline

    CainFoool

    @Kaikz I coded it in about a minute; errors are expected.
     
  12. Offline

    o0AzzA0o

    it doesnt seem to work on my server 1.7.3 but thanks for trying
     
  13. Offline

    CainFoool

    Can you tell me what happens when you type /me ?
     
  14. Offline

    o0AzzA0o

    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.
     
    Last edited by a moderator: May 17, 2016
  15. Offline

    Kaikz

    Cause the main class is called MeKill, not mekill as stated in plugin.yml.
     
  16. Offline

    CainFoool


    #Fixed. It was just a typo.
    http://dl.dropbox.com/u/7186172/MeKill.jar
     
  17. Offline

    o0AzzA0o

    nice ONE ! :)
     

Share This Page