Max Health
MaxHealth
This Project Is Abandoned
This project is abandoned. I have released it as public domain. You are free to decompile it and do whatever you want to it. For a better plugin, here is a another plugin (not from me) that is updated: http://dev.bukkit.org/bukkit-plugins/dakado-health/
Original Description
This is based off of the plugin request here: http://forums.bukkit.org/threads/increase-a-players-max-health.138742/
Have you thought 10 hearts with each hit being half a heart or more not be enough? Do you want a creative new perk for your server? Then I present to you, MaxHealth! Based off a plugin idea here, this plugin enables you to add, remove and set health! It has easy commands to learn and know. Not sure how much health a certain player has? Do /mview <player> to see what there health is. Use /mincrease <player> <amount> to increase a player's maximum health.
Commands and Permissions
Commands
/mincrease <player> <amount> - Increases a player's maximum health by the amount.
/mdecrease <player> <amount> - Decreases a player's maximum health by the amount.
/mset <player> <amount> - Sets a player's maximum health to the amount.
/mreset <player> - Resets a player back to their default maximum health.
/mview <player> - Views a player's max health.
/heal [player] - Heals you, or another player optionally
Permissions
mhealth.change.increase - Can use /mincrease
mhealth.change.decrease - Can use /mdecrease
mhealth.change.set - Can use /mset
mhealth.change.reset - Can use /mreset
mhealth.view - Can view a player's health maximum
mhealth.heal - Can use /heal
mhealth.heal.others - Can use /heal on other players
Players that are opped can use all commands in MaxHealth.
@IngrownPenguin
I will see what I can do with that.
@Zarkiel7
The plugin doesn't modify damage done, it just modifies the player's maximum health (which is normally 20). Falling 4 blocks still does 1 damage (or half a heart in normal minecraft). The hearts scale with the maximum health. If you have 5/10 health, you would have 5 hearts.
Do damages like fire, falling and healing scale with your health, because otherwise jumping off a cliff is not going to be dangerous.
is there any chance of adding group support? anyone with the permission node mhealth.health.30 will get 30 HP
mhealth.health.40 will get 40 hp etc?
would be nice, thanks!
@ecianice The plugin recalibrates the players max hp. It doesnt amend hp in conjunction with a player event. So it should be compatible with anything that deals damage in anyway.
Plugin Issue: Just to bring a small issue to your attention:
If a player has max hp of 500 and they are correctly taking damage, as soon as you set the max hp to say 100, the player is given a very low grace period of not taking damage. Unless you set to hp at 100 and follow with the /heal command.
Seems to /heal command verifies the new max hp.
I looked into the source code and seems player verification is not enough to trigger the max hp for instant use.
Does this plugin play nicely with all of the others?
Example: RPG Items allows damage min-mix. MagicSpells has, of course, spell damages. I saw a request for vault support so I assume none of this is integrated yet.
@jessefjxm
I'll try and see what I can do for this.
@Blazex224
Your welcome :)
Thank you for this. A while ago I was searching for this plugin, then later gave up on searching. While browsing the new plugins I saw this. Thanks!
Can you make it possible to relate maxHP with level? :)
@Mr_x_socks
Hmm, I uploaded a file for it
@Mr_x_socks good question
Why it dont have donwload yet? D:
Sounds cool. I'd also like to see Vault plugin support (Paying for extra health).
I actually didn't expect anybody to make it!
@noraver
I think that's a good idea. Testing out now
@Welite
he has to wait for it to be approved and lord knows that can take forever and a day
you should apply a FirstJoinEvent with config so u can apply it to all players that first join and the set amount in the config =P just a thought.
Looks great, when you will release it ?