Solved Custom player health without adding extra hearts

Discussion in 'Spigot Plugin Development' started by MrDienns, Apr 30, 2017.

Thread Status:
Not open for further replies.
  1. Title says it all.

    I'm trying to add custom health values to players (values go into thousands) without adding extra hearts. How can this be done the best way?

    Thanks
     
  2. Reduce the incoming damage instead?
     
  3. sothatsit

    Patron

    Keep track of player's health yourself. Stop the player's actual health changing by listening to and modifying relevant events.
     
  4. If it were me, I would simply turn off natural regeneration and then modify the damage players take.

    Edit: oops, got ninja'd twice in only a few seconds. xD
     
  5. I was afraid I'd have to do something like that. Thanks for confirming! :D
     
Thread Status:
Not open for further replies.