Spigot Custom Death Drops 1.2

This plugin allows players to have a chance to keep their inventory and gear.

  1. xMrPoi submitted a new resource:

    Custom Death Drops - This plugin allows players to have a chance to keep their inventory and gear.

    Read more about this resource...
     
    • Like Like x 1
  2. i havent tried ur plugin yet but its the closest and maintained one to what i need, id like to see vault support and allow selecting how many items to retain and keep top priced/bottom priced items.

    i.e say i have 10 items on me equipped/invo say i die i want to keep the top 3 most expensive items. the other 7 items get dropped to ground.

    im currently running 1.8 if u add these features ill test on 1.8 <3
     
    #2 saint_blair, May 22, 2016
    Last edited: Jun 2, 2016
  3. I'm getting a NullPointerException everytime a player revives. I'm running my server on 1.9.4

    Code (Text):
    [04:51:38 INFO]: Tester joined the game
    [04:51:43 INFO]: Tester issued server command: /suicide
    [04:51:43 INFO]: Tester died
    [04:51:45 WARN]: [CustomDeathDrops] Task #19 for CustomDeathDrops v1.0 generated
    an exception
    java.lang.NullPointerException
            at me.xMrPoi.CustomDeathDrops.PlayerDeathListener$1.run(PlayerDeathListe
    ner.java:51) ~[?:?]
            at org.bukkit.craftbukkit.v1_9_R2.scheduler.CraftTask.run(CraftTask.java
    :71) ~[spigot.jar:git-Spigot-8a048fe-106ced0]
            at org.bukkit.craftbukkit.v1_9_R2.scheduler.CraftScheduler.mainThreadHea
    rtbeat(CraftScheduler.java:350) [spigot.jar:git-Spigot-8a048fe-106ced0]
            at net.minecraft.server.v1_9_R2.MinecraftServer.D(MinecraftServer.java:7
    34) [spigot.jar:git-Spigot-8a048fe-106ced0]
            at net.minecraft.server.v1_9_R2.DedicatedServer.D(DedicatedServer.java:3
    99) [spigot.jar:git-Spigot-8a048fe-106ced0]
            at net.minecraft.server.v1_9_R2.MinecraftServer.C(MinecraftServer.java:6
    65) [spigot.jar:git-Spigot-8a048fe-106ced0]
            at net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java
    :564) [spigot.jar:git-Spigot-8a048fe-106ced0]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_77]
     
    • Agree Agree x 1
  4. Does this happen every time? Are you able to reproduce it?
     
    • Like Like x 1
  5. I think there's a bug in the plugin; it only works if the user is an operator, it will give me the error if it's a regular player.
    I ran my server with only your plugin so I don't think other plugins are affecting it.

    My server is running on Spigot 1.9.4

    Basically, to reproduce the error:
    - Have a regular user die
    - Notice the error when they click on "Respawn"
    - OP the user and let it die
    - There's no more error and the inventory/gear is kept depending on %

    Hope this information helps.
     
    • Like Like x 1
  6. I'll look into it.
     
  7. Looks really nice!
     
    • Like Like x 1
  8. Hi, an error has occured:
    Code (Text):
    http://pastebin.com/xdAmi8Kk
    spigot:spigot-1.8.8-R0.1-SNAPSHOT-latest.jar
     
    #10 7024www, Jul 25, 2016
    Last edited: Jul 25, 2016
  9. Plugin only works on 1.9 and up. Sorry about that.
     
    • Like Like x 1
  10. Would you please downgrade it to 1.8.8 pleazzz?
     
  11. Ya sure I'll make you a 1.8 version when I get home.
     
    • Like Like x 1
    • Like Like x 1
    • Like Like x 1
  12. xMrPoi updated Custom Death Drops with a new update entry:

    Working again!

    Read the rest of this update entry...
     
  13. Maybe you could add that when you kill an adult zombie his spawn baby zombie? But great plugin;)
     
  14. Did it work in 1.13?