MaxHealth
About
MaxHealth is a plugin that allows you to change the maximum health of players on your server! You can not only raise and lower the global health, but also set the base health for specific players! This plugin is very useful for RPG type servers where you need to have high health for players so that you can have a wide range of abilities or just want battles to take longer.
Commands
- /health (player) or /vh (player) - Views health (in hearts)
- /sethealth [player] or /sh [player] [value] - Sets the health of a player (in hearts)
- /setmax [player] or /sm [player] [value] - Sets the maximum health of a player (in hearts)
- /mend [player] - Integrated command that will fully heal a player or yourself (added because using another plugin's /heal command will NOT work!)
Permissions
MaxHealth has a permission for each command except for /health, which defaults to all players
- MaxHealth.mend - Permission to use /mend
- MaxHealth.setmax - Permission to use /setmax
- MaxHealth.set - Permission to use /sethealth
Installation
Just drag the MaxHealth.jar file into your plugins folder and restart your server (reloading not recommended as changes are applied as a player joins). An editable config.yml (for settings) file and database.yml (for storage) file should automatically generate for you.
NOTE: You must be using Java JRE7 on your server to use this plugin! If you are getting an "UnsupportedClassVersionError", then you are using JRE6 and that is the reason why the plugin isn't working!
Configuration
As of now, there is only 1 configurable options in MaxHealth config file:
- Default Health: This is the health (in hearts) that all players will start off with AND the maximum health that each player has (can be changed with commands).
Example:
Default Health: 100
Features and Stuff
I hope to keep this plugin up to date and bug free. Any error or bug report is helpful! :)
New Features
- Compatible with /god
- Lava damage now affected by the plugin
- Added more commands and /mend in place of any /heal command
- Complete restructure! Now more efficient, reliable, and expandable!
- Simple armor support!
Known Bugs
- No /heal command from any other plugin will actually heal a player! Use /mend instead!
- Armor enchantments are not effective as far as I know
To-Do
- Re-add level multiplier
- Add optional economy support to allow health to be purchased
- Chat based health bar or Spout support
- Make health of mobs changeable
- Permissions based health
Credits and Source
- Plugin idea: polkunus
- Idea and testing: gabizou
- Restructuring concept: bm01
Source on GitHub: Source
@0925454209
That would require GUI stuff, only available with spout, but that is something that I was going to do in the future.
Over here!
http:www.youtube.com/watch?v=jZnpfWn_FAs#t=11m35s
can add health?!
------------I'm very sorry...My English is very bad...
@0925454209
What about Zelda? :P
@Memorex39
Hm... that's a good idea...
And Zelda?
I like this, anyway to hook this to an Econ so that players can buy their own health?
VICTORY!
ETA on the next update is later today. I've gotten the github working and fixed of an error when loading armor. It also works with the new event system. :)
Please update for 1.2 :P
Do you have an ETA on the next update?
Okay good, once this is fixed I'll be able to start up my server.
@Kingdombanned
Yeah, i've noticed problems in 1.2.4. I will have to figure out what changed with bukkit.
Okay I had JAVA6, I installed 7, but it's still not working. It keeps spamming about how it can't execute the /sethealth command. Oh, also I cannot hurt any players while this mod is activated.
Can this be updated for 1.2.4?
@meowcat64646
I think this is an issue with worldguard - I have this same exact problem with mobs or any plugin that deals with health.
worldguard needs an override feature imo
@meowcat64646
At first I thought that this was a problem with checking if the damage was already cancelled, however, I notice that it works with /god AND does check for damage cancellation.
I don't know what the problem is in this case really. I guess I will look up a bit of the code in WorldGuard...
I am having an issue. I use worldguard to protect regions from pvp, but when I enable max-health, it enables pvp everywhere, regardless of the regions i have set. I don't get any error messages from this or anything. Any help would be appreciated.
@Homzar
@LeaderJ
I'll see what I can do guys. I'm always happy to help out.
@Homzar
This is exactly what I need.
could you make it so different ranks had different max health