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
New updated plugins with max health features:
http://dev.bukkit.org/server-mods/dakado-health/
@jdawgerj515
Nope :( Please sir update this I REALLY NEED THIS PLUGIN!!! :D
Please Update!
Please update it to 1.4.6
pLEASE UPDATE
Does this still work?
Please update to CB 1.3.1-R2
giant error on 1.3 http://pastebin.com/4S3gYbfK happens when someone hits someone.
@tomjw64
awww.. that's too bad. :( but here's the link anyways: http://dev.bukkit.org/server-mods/tag/
@codydbgt
Gah, I always have problems with WorldGuard...
@invinciblemode
Never heard or used that API before, but it's unlikely it will happen unless there is something like that for the Official Minecraft API
@Agg12
Not exactly, this is one of the two plugins that I will probably continue working on when the MC API comes out. The problem with this situation is that the API is too close to put too much work into Bukkit plugins anymore, but too far away too work with it at all.
Just wondering, are you still working on the armor glitch / permissions based health?
Hey could you use the TagAPI to allow us to configure the colour of a players name depending on how much health they have?
ok so i added this code to my plugin (hope you don't mind) and its not respceting world guard no pvp regions other than that it works as expected.
......just people can kill each other in spawn :|
I got an idea: Add a shop of hearts by clicking a sign, you buy one more heart, or two, or every hearts you want (configurable)
@Tayundo
Not at the moment, I really need to sort out this armor glitch though. I have absolutely no clue how to do it... :O
Does this plugin support multiverse? Is there a way I can only have it in one world?
Is it possible to configure it to give a different max health for different permission groups? I use permission groups to setup different classes in my server, and wold like to just set it up for each group instead of each player.
@tomjw64
You are indeed correct about armor not breaking. However, because of the way durability is handled in minecraft/bukkit, it's going to be a tough fix.
@Masonnasty
I'll check it out. Thanks for the bug report!
just saying theres a bug in this plugin that makes all armour in the game have infinite durablility, it never breaks and goes past the durability bar into the negatives and still gives bonuses