RespawnHealth- allows a server admin to define a health for players that die to respawn with. This was made at the request of @Insidiea who noticed that players on his server were killing themselves in order to get full health. Version: 1.2.0 Features: A config.yml that allows a server admin to define the amount of health a player respawns with (between 1 and 19), the ammount of hunger they respawn with (between 1 and 19), and if the server uses bukkits built in permission system. Simple to use. Download the plugin here The source is available upon request (because I can't figure out github). Change Log: v. 1.2.0 Added he ability to use bukkits built in permission system, as well allowing the server admin to say how much hunger that the players respawn with. I was having some problems testing the built in permission system, so it may be buggy. v. 1.1.1 Fixed an exploit where the user could click respawn, then quickly log out, and log back in to bypass the health being removed. v. 1.1.0 Added the ability to use this with permissions, using the permission node respawnHealth.# (where # is the number between 1 and 19 that you want the user to have their health at when they respawn). v. 1.0.1 Initial public release. Permission Nodes: respawnHealth.x (x being a number between 1 and 19) is the ammount of health a player respawns with respawnHunger.x (x being a number between 1 and 19) is the ammount of hunger a player has when they respawn Special thanks to @Insideiea for suggesting it, and @DrBoweNut for a suggestion that made this possible
this was something someone asked for, I haven't used or even looked at simple health before. and @Insidiea that's not exactly a bug but the way that the plugin has to execute, because it requires that delay for it to actually be allowed to set the health. I could speed it up, however it likely wouldn't work every time. However i do have a possible solution around that which i will work on. Ok updated with a fix for that exploit @Insidiea EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Hm thanks! It's really lightweight (only use for SimpleHealth with them functions is respawn?). We didn't need more than set respawn health. Thanks!
I may think about adding this because of the 1.8/1.9 update, first i'll have to look at the documentation for the latest bukkit version.
Ok let me know how it is, I wasn't able to extensively test it, at least not as much as I normally like to because my laptop is currently dead.
The plugin is working good and no problems so far. I would like to know if it's possible to add an option that would affect users who rejoin the server. Sometimes I get players who just log out of death situations and come back untouched which seems to be a small problem right now.
hmm thats odd, i set up something that should prevent that in an earlier release. The only time it wouldn't work (in theory and my testing) is during a server restart (they die before the server is taken down, then they exit, then the server is restarted).
I'm not sure. It doesn't work for some reason. It only worked once and that was just on myself and it stopped working when I did a /reload on my server. It affected no other player nor has it ever affected any players. They do respawn with the correct set amount of health when they die, that has always worked, but the log-out and in isn't working properly.