Plugin category: Misc. Suggested name: DeathDisconnect What I want: I would love to see a super simple plugin that kills the player on logout. That is all the plugin needs to do. Why do I want this? I am building a UHC Network and I need the players to die when/if they disconnect from a UHC server before they die themselves. Ideas for commands: No commands needed for this plugin. Ideas for permissions: No permissions needed for this plugin. When I'd like it by: Today.
Here you go, all good! It kills the player when they leave / get kicked https://www.dropbox.com/s/sx540vyi0844h4p/DeathLeave.jar I'll likely put this on Bukkit Dev aswell, but, whenever I get back from work- On my lunch break
If you could add a permission node, something along the lines of deathdisconnect.ignored, that would be awesome. It is getting slightly annoying getting killed every time I log off an arena to check things out
Sure thing, I'll add this in now; I'll update my post whenever I'm done Edit: Here you go! If you give a user/group the permission "deathleave.ignored", that user/group won't be killed when they leave I suggest having Vault on your server, as this update hooks into vault for the permissions handling If you need anything else, let me know
TheGamersCave If you are looking for another small project, could you check out my other plugin request on BukkitDev? Thank you ^-^ http://forums.bukkit.org/threads/delete-player-dat-upon-disconnect.160996/
x128 I know you got this plugin made aready, but heres how easy it is: PlayerDeathEvent player.setHealth(0) playerinventory.clear Now that I think about it, that wont work since the player woud be offine. Damnit..