Inactive [FIX] ItemVoid v1.1 - Restores/Removes Items after Death [1000]

Discussion in 'Inactive/Unsupported Plugins' started by RoGER.ONeill, Jun 3, 2011.

  1. ItemVoid - Restores Inventory after Void Death:
    Version: v1.1

    This Plugin restores your Inventory automaticly after you die in the Void!

    Features:
    • Restores Items
    • Restores Armor
    • Automatic after death in the Void!
    • Customize when Users get their Items back
    • Customize if and when User should drop Items
    • No Bugs? Is that a Feature? :p
    Download ItemVoid

    Configuration (open)

    This configuration is the default and will generate itself, if none is present!
    Code:
    itemvoid:
      nodrops:
        - 'VOID'
      getback:
        - 'VOID'
      message: 'Inventory restored, because you died in %name%'
    Values you can use for "nodrops" or "getback":
    Code:
    BLOCK_EXPLOSION - Die from TNT
    CONTACT - Die by Cactus
    DROWNING - Die by drowning in Water
    ENTITY_ATTACK - Die from a Mob/Player
    ENTITY_EXPLOSION - Die from a Creeper
    FALL - Die by falling to your Death
    FIRE - Die in directly Fire
    FIRE_TICK - Die by burning to Death
    LAVA - Die in Lava
    LIGHTNING - Die by Lighting
    SUFFOCATION - Die by Suffocating in a Block
    VOID - Die in the Void


    ToDo:
    - Add a Configuration
    - Admins can specify, when Users get their Stuff back.
    - You can disable the User dropping Stuff, when they die.
    - Add custom Messages.

    Changelog:
    Version 1.1
    • Added a Configuration
    • Custom Messages
    • Customize if and when a Player gets the Inventory back
    • Customize if and when a Players inventory is lost/not dropped after death.


    Version 1.0
    • Initial Release
     
    KragTheDark and harakiwi like this.
  2. @RoGER.ONeill Delete the 803- it says don't put that in the submission guidlines! It says just have it working on the latest recommended build!
     
  3. As far as I understand.
    - Your Plugin needs to work on the current Version. (It does)
    - Dont use + signs like in 818+ (Dont have that)

    But to be sure I made it an &.
    Because it definitly works on both.
     
  4. Lol ok but i don't think 803 is necessary because almost no one uses old version!
     
  5. Offline

    Plague

    fixed the title
     
  6. I get it. You dont like me! :'( :)
     
  7. Offline

    Alexxondre

    Great plugin, thanks !
     
  8. Offline

    PatrickFreed

    Is the void like when you die in a chunk error? Because my players die all the time from /home-ing into a chunk error.
     
  9. Offline

    woodzy

    @ RoGER.ONeil
    No Bugs? Is that a Feature?
    umm u should share this "Feature" with outher plugin makers :p
     
  10. Exactly, the Void is the zone under the physical Map. When a Player falls through the Map, either due to an unloaded Chunk, missing Bedrock, or whatever the Reason, they get their Stuff back after dying.
     
  11. Offline

    hatstand

    Works like a charm.
     
  12. Offline

    Unscrewed

    Sorry to say, but that's the biggest .... I've ever heard.
    MODs always say: Use a Range! Soo 803-815.
    That you are a "dev" does NOT give you permission to take down other dev's.

    I see that alot, dev's trying to be better then others by posting random comments on their topics.

    PS. Thanks alot! Works
     
  13. Of course it works. :p
     
  14. Offline

    Nazerb

    I never die in a chink error i just fall then refall. Over and over and over and over, then it loads
     
  15. Offline

    Nazerb

  16. I guess it depends on the Server and the Plugins. But there are indeed
    some occasions where you do fall through the World.

    And it also keeps noob admins from loosing their stuff when they dig
    through Bedrock with the Superpickaxe :p
     
    CoolOppo likes this.
  17. Offline

    CoolOppo

    Exactly what I needed this for :D
     
  18. Offline

    PatrickFreed

    My problem is that when they die in the chunk errors, they aren't killed by the void. They suffocate.
     
  19. I was going to implement a Config in a Later Version anyways.
     
  20. Offline

    gamerboy667

    Please list the things i can use for Permissions.
     
  21. ?

    Updated to Version 1.1

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  22. Offline

    GrillGuth

    Great plugin!
    But is there an option that allows you to get back your inventory whenever you die? Or can I use more than one value, like:
    Code:
    itemvoid:
      nodrops:
        - 'VOID, BLOCK_EXPLOSION, DROWNING, CONTACT, ENTITY_ATTACK'
      getback:
        - 'VOID, BLOCK_EXPLOSION, DROWNING, CONTACT, ENTITY_ATTACK'
      message: 'Inventory restored, because you died in %name%'
    ?

    Thanks,
    GrillGuth

    edit:
    ok it works :)
    ->
    Code:
    itemvoid:
      nodrops:
        - 'VOID'
      getback:
        - 'VOID'
        - 'FALL'
        - 'FIRE'
        - 'FIRE_TICK'
      message: 'Inventory restored, because you died in %name%'
     
  23. Yep, thats the way it works.
     
  24. Offline

    Colin969

    Whats the difference between NoDrops and GetBack?
     
  25. Are you really asking that Question?
    Ok, well:

    NoDrops:
    If the user dies by an Event specified here, The user will NOT drop anything.

    GetBack:
    If the user dies by an Event specified here, the User will get his Stuff back.

    It is not recommended to specify a GetBack event that is not specified in NoDrops as it would effectively
    doop the Items, because the Inventory will be filled back up and the User could also walk to his Corpse and
    collect the DroppedItems there, which would double the amount of items the user had when dying.

    However you could set a NoDrop Event for example FIRE_TICK, not specifying a GetBack Event for that.
    It would result in all Items the User has being completely lost if a User dies fire a Fire_Tick.
     
  26. Offline

    Ne3zy

    How to make player don't have his items back and don't drop them when he die ?
     
  27. Offline

    Gazghol

    dont work for me

    23:08:46 [SEVERE] java.lang.NullPointerException
    23:08:46 [SEVERE] at de.kghost.itemvoid.ItemVoidTick.run(ItemVoidTick.java:30)
    23:08:46 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    23:08:46 [SEVERE] at java.lang.Thread.run(Unknown Source)
     

Share This Page