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.
For anyone who decides to pick this up, could you please post it's ETA and a download link when it is complete? Thanks!
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.
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.
He probably realized it's not as easy as it sounds . No but seriously, sending Packets to the client is buggy sometimes, just takes time to get working 100% right.
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
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.
devilquak Okay, so I can fly around as a corpse now.. It's quite weird (and funny ), but I can still control a 'sleeping' player now - I can simply move around when lying down.
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.