Survival AngelChest or Teleport back when dying from an Elytra.

Discussion in 'Suggestions' started by Ares_Xena, Oct 1, 2020.

  1. Ares_Xena
    Offline

    Ares_Xena Legendary Member

    Messages:
    4,091
    Hello, Mineverse community,

    The regular Survival players have probably been slain by a monster or fallen to their death. Regardless of the how, we all die on Survival once in a while. We frequently lose our items in the progress. Either by clearlag or because /back is a buggy Essentials feature, or because the player lacks the permission for /back.

    Nevertheless, it's an annoying occurrence. This suggestion aims to tackle that. The AngelChest plugin collects your items on death and places them in a chest that only YOU, the player who just died, can open. You can teleport back to THAT chest.

    Open the spoiler for an example.
    [​IMG]

    If you happen to die inside someone else's claim, there is a permission in the plugin that prevents it from creating a chest.
    Code:
    only-spawn-chests-if-player-may-build: false


    F.A.Q.
    Q: What happens if the player dies, and the area around the chest is claimed afterward, by another player?
    A: The answer I got from their Discord is that the chest is always bound to the player. In the mentioned scenario, the player can use /acfetch to get the chest to themselves, I believe.

    https://www.spigotmc.org/resources/1-12-1-16-angelchest.60383/

    This might be too overpowered.
    However, I imagine players argue that this defeats the purpose of Survival. When you die by a zombie, or in PvP, you simply lose your items. That is fair enough.

    Having said that, there are situations when using an Elytra, where the player can get "bugged out", suddenly fly into a wall because of rendering issues, try and escape a ravine (or similar), or misjudge their landing; and die on impact.

    BetterDeathHandler
    To combat this, I've created a less overpowered alternative plugin. The BetterDeathHandler plugin (I.. suck at names). This plugin will check if you died while flying with an elytra. Maybe you smashed into a wall, or flew down and "hit the ground too hard".

    If you while flying with an elytra, it will give you the option to teleport back to your death location. This option is available until you use it once, or if you log off.

    A small problem I couldn't get around is when the player falls to their death when wearing an elytra, but is not in a flying state. I'll do my best to fix this in a future version.

    A demonstration of this plugin can be seen here (thanks Mr. Creeper)


    The messages are configurable in a config.yml file.

    The plugin is open source. Check it out here:
    https://github.com/MyNameIsAres/ElytraDeathHandler

    Jar file for 1.15.2 is attached.

    Edit:
    Jar is back. Should work as normal.

     

    Attached Files:

    Last edited: Oct 1, 2020
  2. Disc
    Offline

    Disc Experienced Member

    Messages:
    624
    Support :)
     
  3. Swift
    Offline

    Swift Developer Developer

    Developer
    Messages:
    5,036
    IGN:
    Swiftlicious
    good idea i do think you may run into a few errors with your current git status however.
     
  4. Ares_Xena
    Offline

    Ares_Xena Legendary Member

    Messages:
    4,091
    No Git errors to my knowledge. :confused:
     
  5. Swift
    Offline

    Swift Developer Developer

    Developer
    Messages:
    5,036
    IGN:
    Swiftlicious
    ah not on git actually i meant looking at what's currently on git will cause some errors in game possibly :bag: maybe with multiple players using this feature at the same time hint hint
     
  6. Ares_Xena
    Offline

    Ares_Xena Legendary Member

    Messages:
    4,091
    The plugin has tested thoroughly (..I hope). But then again, most plugins break apart on the initial version. :PP If any errors should arise, I'll do my best to fix them. :)
     
  7. Swift
    Offline

    Swift Developer Developer

    Developer
    Messages:
    5,036
    IGN:
    Swiftlicious
    well in that case i will support this addition also spooderman tag helps my decision :shy:
     
  8. clxrity
    Offline

    clxrity dev Developer Premium

    Administrator
    Messages:
    4,965
    IGN:
    clxrity
    the sp00derman tag brought me here and I support
     
  9. Pillow
    Offline

    Pillow Experienced Member

    Messages:
    137
    Support. Makes sense, /back should work
     
  10. sabrina
    Offline

    sabrina Discord Moderator Discord Moderator Premium

    Messages:
    2,750
    IGN:
    Sa_Sa_Sabrina
    yess support

    this is so needed, i was so confident exploring because i thought i had /back, but died and lost all my things rip ;-;

    it's not too op, and is a good addition for convenience's sake.
     
  11. Ares_Xena
    Offline

    Ares_Xena Legendary Member

    Messages:
    4,091
    More bumps.
     
  12. Toheedprff786
    Offline

    Toheedprff786 Experienced Member

    Messages:
    258
    Support, even tho a lot of ppl can afford an elytra now its still a pain to die with it.
     
  13. Rasmus
    Offline

    Rasmus Active Member Premium

    Messages:
    297
    I support the "BetterDeathHandler"
     
  14. Andrew475
    Offline

    Andrew475 Well-Known Member Premium

    Messages:
    554
    Support, this would be very handy.
     
  15. Ares_Xena
    Offline

    Ares_Xena Legendary Member

    Messages:
    4,091
    @StrKillr
    Can you share why you don't support it?
     
  16. StrKillr
    Offline

    StrKillr Legendary Member

    Messages:
    3,209
    Feels more like creative than survival.
     
  17. Ares_Xena
    Offline

    Ares_Xena Legendary Member

    Messages:
    4,091
    Only just died with an Elytra, and the /back command not taking me back to my death location.
    Either the Angelchest, or my own plugin solves that problem.
     
  18. yehs
    Offline

    yehs Builder Builder

    Builder
    Messages:
    6,803
    support, buggy deaths happen a lot and this would be a step in the right direction to help out with this
     
  19. Drop
    Offline

    Drop Experienced Member

    Messages:
    641
    Support, why this didnt got implemented
     
  20. GBGBGB13
    Offline

    GBGBGB13 Active Member

    Messages:
    40
    Agreed, I died abut 4 times just trying to get my elytra to activate, and had to travel over 11,000 blocks to get the items back. Please also add /ej it would make it much easier to travel for the ranked people
     

Share This Page