[MISC] RespawnHealth v1.2.0 - Respawn with less than full health [1240]

Discussion in 'Inactive/Unsupported Plugins' started by wwsean08, Jul 31, 2011.

  1. Offline

    wwsean08

    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
     
    varunax likes this.
  2. Offline

    morizuki

    Hm.. what's the difference with this and SimpleHealth? SimpleHealth has more features..
     
  3. Offline

    Insidiea

     
  4. Offline

    wwsean08

    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.
     
    Last edited by a moderator: May 18, 2016
  5. Offline

    Plague

    Sorry for the delay in submission approvals, I've been away for a while.
     
  6. Offline

    wwsean08

    thats ok, it's no big deal
     
  7. 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![diamond]
     
  8. Offline

    varunax

    Great plugin. Would be nice if you could set the hunger levels as well.
     
  9. Offline

    wwsean08

    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.
     
  10. Offline

    wwsean08

    ok i updated it today
     
  11. Offline

    varunax

    Thanks for updating!
     
  12. Offline

    wwsean08

    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.
     
  13. Offline

    varunax

    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.
     
  14. Offline

    wwsean08

    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).
     
  15. Offline

    varunax

    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.
     
  16. Offline

    Netu

    This does not seem to work in #1337, not that you said it did; I'm just trying to inform. ;)
     

Share This Page