Corpses

Discussion in 'Archived: Plugin Requests' started by TheChugBug, Apr 6, 2013.

  1. Offline

    TheChugBug

    Plugin category: Fun, RPG

    Suggested name: Corpses

    What I'd want: A plugin that changes the way death in Minecraft happens. When a player dies, only about %25 of it will drop but the rest he does not keep. Instead, a sleeping body is placed at his death point. (I know this is possible, I've seen it on minigames) (If he dies in lava or in a fire, his corpse will not be dropped) If a player right-clicks the corpse, they will see the old inventory of the dead player (excluding the dropped items). If a player left-clicks the corpse, all the items will drop and the player will get a head renamed to "<dead player's> Body." Then that player can place the corpse anywhere.

    An admin could type a command that clears all corpses. There could also be a worldguard flag so corpses are banned in that region.

    Ideas for commands: /corpses clear - clears all corpses

    Ideas for permissions:
    corpses.clear - allows access to the /corpses clear command
    corpses.drop - allows the dropping of corpses

    When I'd like it: This may be a fairly big plugin so I don't really care when it's done. I would like it in the next 3 months though.
     
  2. Offline

    ccrama

    This sounds like an AWESOME idea! Hope someone picks this up
     
  3. Offline

    molenzwiebel

    Sounds interesting, I'll do some research
     
  4. Offline

    TheChugBug

    Thanks! I'd really like this.
     
  5. Offline

    The_Coder

    If molenzwiebel doesn't pick this up than maybe I will. I just have to look in to it.
     
  6. Offline

    TheChugBug

    Well thank you too.
     
  7. Offline

    Connerman14

    For anyone who decides to pick this up, could you please post it's ETA and a download link when it is complete? Thanks!
     
  8. Offline

    The_Coder

    Connerman14 Ok I have gotten about maybe %20 of it done.
     
  9. Offline

    Adzwoolly

  10. Offline

    Connerman14

    Ok, Thanks. Just keep me posted :D
     
  11. Offline

    TheChugBug

    Thanks for coding this!
     
  12. Offline

    CreeperShift

    TheChugBug

    Just curious, on which Minigames did you see the "sleeping player on floor" thing? Any link? Reason is, I've had a plugin like this coded a while ago, but the packet sending didn't work all the time, but if you could provide a link I could take a look at it.
     
  13. Offline

    ccrama

    MCPVP's Sabotage
     
  14. Offline

    ccrama

    Can't wait for this plugin. :)
     
  15. Offline

    Adzwoolly

    I just hope it gets done. I wouldn't know where to start!
     
  16. Offline

    TheChugBug

    I've seen it in MC Sabotage. (mc-sabotage.com)
     
  17. Offline

    CreeperShift

    Yeah I was hoping it was in a plugin somewhere. It has to be done with sending custom "enterBed" packets, which is weird stuff. It would never work right for me back then.
     
  18. Offline

    UltiFix

    keep us all posted on this :)
     
  19. Offline

    The_Coder

    I ran into a bit trouble trying to fix it
     
  20. Offline

    Connerman14

    What's the problem?
     
  21. Offline

    CreeperShift

    He probably realized it's not as easy as it sounds :p.

    No but seriously, sending Packets to the client is buggy sometimes, just takes time to get working 100% right.
     
  22. Offline

    Adzwoolly

    That's why I said
    because I know how hard it can be.
     
  23. Offline

    Rprrr

    Seems cool, I shall try, have to look into the packets a bit, but I guess it's do-able.
    I'll probably need this packet:

    Use Bed (0x11)

    Server to Client
    This packet tells that a player goes to bed.
    The client with the matching Entity ID will go into bed mode.
    This Packet is sent to all nearby players including the one sent to bed.
    Packet ID Field Name Field Type Example Notes
    0x11 Entity ID int 89 Player ID
    Unknown byte 0 Only 0 has been observed
    X coordinate int -247 Bed headboard X as block coordinate
    Y coordinate byte 78 Bed headboard Y as block coordinate
    Z coordinate int 128 Bed headboard Z as block coordinate
    Total Size: 15 bytes
     
  24. Offline

    devilquak

    The 'corpse' part sounds interesting. If it ever gets done, I wouldn't mind seeing how. Perhaps Rprrr would be so kind as to share his solution if he figures it out.
     
  25. Offline

    Rprrr

    devilquak
    Okay, so I can fly around as a corpse now.. It's quite weird (and funny :p), but I can still control a 'sleeping' player now - I can simply move around when lying down.

    [​IMG]
     
    ampayne2 likes this.
  26. Offline

    TheChugBug

    Well that's... quirky.
     
    Gitany likes this.
  27. Offline

    cmzerres

    I am excited for this to be finished, I need it for my server aswell!

    LOL!

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

    devilquak

    Rprrr

    Lol, that's funny. Is this something that would be able to be used on a human NPC entity?
     
  29. Offline

    UltiFix

    could you make a entire plugin so you can fly around while laying down?
     
  30. Offline

    cmzerres

    Lets not do that...
     

Share This Page