Kill Revenge [Special Plugin Requst]

Discussion in 'Archived: Plugin Requests' started by Sw_aG, Jun 3, 2014.

  1. Offline

    Sw_aG

    Dear very kind Plugin makers,

    Plugin category: I Have no idea!

    Suggested name: KillRevenge

    What I want: I want a plugin that allow's a player to hit only the player who killed him (If he died in that time the server is up then he would'nt be able to hit everyone except the player who killed him) , but every one can hit him, so if someone will kill me, i wont be able to hit every1 except the player who killed me till i kill him or the server stop, If he killed me and then I'm coming back to kill him (/revenge) And i'll success to kill him, then i can hit every one again like a normal player



    Ideas for commands: /revenge This command will activate the player's revenge (Without runing that command the player wont be able to hit every1 on the server Till the server is shutting down {stop}.
    and this command will be able to use once till the server will shut down and reopen.

    Ideas for permissions: None, i dont realy need permissions

    When I'd like it by: ASAP

    Version: 1.7.2 R3

    Thanks In the future! :rolleyes:
     
  2. Offline

    Gamecube762

    This plugin feels like its going to be unbalanced, you are also punishing the victim when he/she already tried their hardest to stay alive, doesn't help that the killer is going to have their own stuff and the victum's stuff making it harder to kill(or it could be someone with too strong armor just murdering everyone).

    This isn't a hard plugin to make, but its not the most balanced one either...
     
    Apple_ and Sw_aG like this.
  3. Offline

    Sw_aG

    I'm already know that and that excatly what i wanted... So if this is'nt hard to make, can you please make it?
    It will be amazing for me :)
    Thanks , apperciate it a lot :D
     
  4. Offline

    Gamecube762

    Here is the plugin
    Commands:
    /revenge - Get revenge on a player after death
    /revenge leave - Give up on getting revenge and accept defeat

    Tell me if there is any bugs.
     
    Sw_aG likes this.
  5. Offline

    Sw_aG

    Thanks... but the download is'nt working
     
  6. Offline

    Gamecube762

    Sw_aG likes this.
  7. Offline

    Sw_aG

    Thanks
    Thanks, just a quick ask: idk why, but when i'm doing the /revenge
    Command is says an interal error, but when i do the /revenge leave
    The leave command work
    Can you please Fix the first one?
     
  8. Online

    timtower Administrator Administrator Moderator

    Sw_aG Please post the error log on here
     
    Sw_aG likes this.
  9. Offline

    Sw_aG

    [09:14:09] [Server thread/ERROR]: Could not pass event EntityDamageByEntityEvent to Revenge v1.0.0
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) ~[craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.callEvent(CraftEventFactory.java:94) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:382) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:407) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.EntityLiving.damageEntity(EntityLiving.java:649) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.EntityHuman.damageEntity(EntityHuman.java:746) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.EntityPlayer.damageEntity(EntityPlayer.java:446) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.EntityHuman.attack(EntityHuman.java:918) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:1073) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.PacketPlayInUseEntity.a(SourceFile:55) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.PacketPlayInUseEntity.handle(SourceFile:10) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:645) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:535) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:447) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    Caused by: java.lang.NoSuchMethodError: org.bukkit.Bukkit.getPlayer(Ljava/util/UUID;)Lorg/bukkit/entity/Player;
    at com.github.Gamecube762.revenge.Main.onAttack(Main.java:119) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ~[craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    ... 20 more
    [09:14:10] [Server thread/ERROR]: Could not pass event EntityDamageByEntityEvent to Revenge v1.0.0
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) ~[craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.callEvent(CraftEventFactory.java:94) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:382) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:407) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.EntityLiving.damageEntity(EntityLiving.java:649) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.EntityHuman.damageEntity(EntityHuman.java:746) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.EntityPlayer.damageEntity(EntityPlayer.java:446) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.EntityHuman.attack(EntityHuman.java:918) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:1073) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.PacketPlayInUseEntity.a(SourceFile:55) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.PacketPlayInUseEntity.handle(SourceFile:10) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:645) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:535) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:447) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    Caused by: java.lang.NoSuchMethodError: org.bukkit.Bukkit.getPlayer(Ljava/util/UUID;)Lorg/bukkit/entity/Player;
    at com.github.Gamecube762.revenge.Main.onAttack(Main.java:119) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ~[craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
     
  10. Online

    timtower Administrator Administrator Moderator

    Sw_aG You probably want to tell that you use 1.6.4 next time.
    Gamecube762 Think that this error is for you
     
    Sw_aG likes this.
  11. Offline

    Gamecube762

    I'll rewrite how it handles the players to fit the 1.7.2 and older updates, but for updates after that, the other system would be best.
     
    Sw_aG and timtower like this.
  12. Offline

    Sw_aG

    Gamecube762
    You right, I dident told him the version... My bad actually
    And thanks btw
     
  13. Offline

    Gamecube762

    In most cases, plugins are "Mature"(shouldn't break on MC updates), but there are a lot of things that can change at any time from updates. The current one was with how Mojang is switching to the UUID system for keeping track of players.

    Heres the plugin, tell me if there is any problems with this one. This one should work with 1.7.2 and lower, for any newer versions, try the other one.
     
  14. Offline

    Sw_aG

    It works amazing, thanks so much to you both a lot of apperciate you dont know how important it was to me :D

    I dont know why :( But the plugin is'nt working , when you coming to get your revenge, you can hit every Player, and not just the 1 you are getting revenge on.
    Can you please fix it so you'll be able to only hit the player you are getting revenge on?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 30, 2016
  15. Offline

    Gamecube762

    I'll look into that, I've only been able to do a small test with 2 players.
     
  16. Offline

    Sw_aG

    Thanks :D
    Glad you responed
     
  17. Offline

    Sw_aG

    Can someone please keep working on it?
    It's very important to me. :/
     
  18. Offline

    Sw_aG

    Dude, you just left my request and stopped to help me :( Why?
    I'm waiting for it a pretty long time, and i need it pretty fast so please keep working on it!
     
  19. Online

    timtower Administrator Administrator Moderator

    Developers generally don't follow threads so you will need to tag or quote them
    Gamecube762
     
  20. Offline

    15987632

    Sw_aG why don't you tahg him next time? Gamecube762


    Lol we posted this at the same time timtower
    Great minds think alike
     
    timtower likes this.
  21. Offline

    Sw_aG

    Gamecube762 Why are you keep not answering me in pm, your profile page and in my post?!
     
  22. Offline

    Sw_aG

    Gamecube762 Can you please answer me?
    It's pretty argent :( i really need the plugin and I'll appreciate if you'll answer me
     
  23. Offline

    Gamecube762

    Sorry for not responding, I've gotten really busy during the week.

    I haven't been able to test it, but I did find that I forgot to add a check in the damage event seeing if the player was out for revenge or not. Give it a try and tell me if it fixed it or not.
    Revenge.jar
    Revenge_OlderSupport.jar
     
    Sw_aG likes this.
  24. Offline

    Sw_aG

    Gamecube762 Finally!, thanks so much for answering me I appreciate all of your help, I'll check it when I'll at home

    Gamecube762 I've checked it and you still can hit every1 :(
    Can you please fix it?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 30, 2016
  25. Offline

    Gamecube762

    Sw_aG I'll try to look more into it, I've only been able to test it with 2 clients.
     
  26. Offline

    Sw_aG

    Gamecube762 Maybe i can help you test it?
    And btw do you need me to send you the plugin log? (Its showing a wierd log after every player getting hit)
     
  27. Offline

    Gamecube762

    Sure, send me the log. If you want to help, the IP for my test server is mc.theminepitt.com:28868
     
    Sw_aG likes this.
  28. Offline

    Sw_aG

    Gamecube762


    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) ~[craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.callEvent(CraftEventFactory.java:94) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:382) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:407) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.EntityLiving.damageEntity(EntityLiving.java:649) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.EntityHuman.damageEntity(EntityHuman.java:746) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.EntityPlayer.damageEntity(EntityPlayer.java:446) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.EntityHuman.attack(EntityHuman.java:918) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:1073) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.PacketPlayInUseEntity.a(SourceFile:55) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.PacketPlayInUseEntity.handle(SourceFile:10) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:645) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:535) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
    at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:447) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]

    at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-18-g071d500-b2935jnks]
     
  29. Offline

    Sw_aG

    Gamecube762 So can you fix it please?
    Btw i was in your server few times, and you werent...
     
  30. Offline

    Gamecube762

    Sw_aG Sorry, my schedule has been weird, jump on now and we can see what we can do.
     

Share This Page