XPtoMaxHealth
Max Health
Features
Max Health is a plugin that determine's a player's max health on their experience level. Right now the plugin is non-modifiable but I plan on adding a config where you can adjust the experience levels and health to. Currently, the plugin has it set so that every five levels one heart (two health levels) are added to the player's max health. The cap is at 100 xp for 30 hearts. Additionally, this plugin allows the player to check either their health or another player's health.
Commands
- /health - gives the player's health in an easy to read manner, perfect for pvp battles
- /health [player] - checks the specified player's health in the same way
Permissions
- check.health - allows for the checking of health of other players
To Do List
- add a toggle-able check if a player's new health on change is lower, it won't change their health
Thanks for downloading and if you have any bugs or ideas you would like to see implemented, feel free to tell all about them!
Can you please update to 1.5.2? Really need this for my server!
[removed off site links]
this needs to be updated and also you can make the code simpler by adding a base hp and every time a level changes add a increment of w/e the config wants
so basicly
say starting health 1000
every time someone levels +25 to base or something close to this and have it update the health
its posible to make it like no hero´s healthe mod? like you wont lose the max healt if you use the levels on enchatments but you lose all the max if you die, maybe you can add those options in te config for those that dont like it
o, anf if you update it could you do a 1.5.1 version? im using that on my smp
I think a good idea would be is that the health bar only regenerates if the player has experience points in there bar. Extra ideas, you could set the health cap, set the XP cap and set how slow a players health regenerates. Maybe incorporate some sort of Anti Mob grinder addition? This would be a awesome addition to the plugin and encourage players to fight mobs more which is perfect for my upcoming server. If these additions get added please contact me. Thanks so much! :)
@1SmallVille1
My bad, health not changing was a stupid mistake on my part (concerning xp levels). I was a really high level, and had just assumed the plugin would check my level upon login and set my health accordingly, but apparently the plugin looks for a change in level when it does its check.
Finally found the plugin i want :) hope it can be more customizable
30 Hearts is unbreakable limit for vanilla?
this is almost EXACTLY what i'm looking for, but my server has a ridiculous levelscale where something like level 100 is considered relatively weak... do you think you could add the option to simply set one constant interval that happens every time rather than having to set every single interval? having to go up to 5k+ in the config would be inefficient and unfairly time consuming
@1SmallVille1
Ahh thanks man. Ill give it a go.
@CommodoreAlpha
I am currently playing around with the function implementation but don't expect any releases soon as I am working on a huge project. As for your health not changing, I don't know what would he the problem unless you added methods to the config
Hmm, I'm not sure if you picked up on this suggestion before, but I'll say it again to remind you.
Could you make it so that we can input a function for how HP increases for certain intervals?
For example, I'd might want the function (where "x" means health), for levels 0 through 10, to be "f(x)=3x+20", and the function for levels 10 and onward to be "f(x)=2x+b" with the variable "b" representing whatever your max hp was at level 10. So basically, at level 0, you start with 20 health, and you gain 3 health for every level, up to level 10. (For a total of 50 health at level 10.) Then, everytime you level after level 10, you only gain 2 health per level.
This configuration format seems complicated, but in reality it isn't. Unless there's a server admin who can't do algebra.
ALSO, for some reason, my health doesn't seem to be changing. Everytime I do /health, the max is always "20," regardless of my config.yml. Is it because the plugin doesn't support anything beyond 100 xp levels/30 health?
No, i found what's is. HP is changing after user relogin or server reload, didn't get in what case. So everything is ok, ty
@Ruphies
You're able to do this in the config
Guys, gotta a lil annoying problem. Everything works well but, when people loose their experience (RPG noexp-loss server, admin punishment), HP stay constant. Would be nice, if you gonna place this in To Do list
@1SmallVille1
More or less health would be nice. With plugins like diablodrops I would love to set it to 100 max health.
@TheBCKC
what would you like to see in the config that isn't already there? Also, what do you want to see done for hunger? I'm always up for making my plugins better so don't shy away from telling me what to do :D
Amazing, didn't know this was possible with a plugin :O
Would be interesting to see some config and maybe even hunger support?
@CommodoreAlpha
I don't know exactly how bukkit it does it, either actually change health or just the damage. But, it's very useful as the hearts are affected in a way where the 20 levels are merely spread out to take all the damage. So if you were to take one full heart with the default 20 hearts, it would show up as only taking half a heart if you had 40 hearts. Also I'll be rolling out an update with a patched /health [player] and a config file
Ah, so you don't use "damage ratios" yourself like Heroes does, but instead, directly change a player's max health via Bukkit. I actually never knew you could change a player's max health with Bukkit, but my guess is that Bukkit uses a similar approach to Heroes. I guess I'll have to test it out right now to find out. :)
And what I mean by Heroes using "damage ratios", is that Heroes checks what max health you have under the plugin. For example, you could have double the vanilla set health, which would be 40. Since Heroes completely takes control of the damage system, it would simply split all incoming damage in half. (Doubling your hp is similar in most circumstances to halving all damage.) Basically, instead of actually increasing your health, it just changes incoming damage based on what your max health should be.
And again, thanks for the plugin.