PvP Health
PvP Health
Beta 1.3.4
Description
Description
Have you ever joined a PvP server and attacked other players ? You probably have been wondering how awesome it will be if you can have information on how much health the player have left. You can now see the other player's health on attack using this plugin. After hitting a player, the plugin will send a chat message to you with the heart icons(change-able in the config!) of the player. Currently, most attacks are registered.
Attacks Registered
Attacks Registered
- Direct attacks (hand / swords)
- All projectiles (arrows / eggs <- yes eggs! :D / snowballs)
- Wolves
Commands
Commands
Command | Description |
---|---|
/health | Displays help page |
/health help | Displays help page |
/health get <player> | Displays the player's health |
/health hide | Hides your health from /health get |
/health unhide | Shows your health from /health get |
Permissions
Permissions
Permission | Description |
---|---|
pvphealth.attack | Ability to get health through chat (base permission) |
pvphealth.query | Ability to use /health get |
pvphealth.hide | Ability to use /health hide/unhide |
Configuration
Configuration
Click here to go to the page.
Change Log
Change Log
Latest | Version | Changes |
---|---|---|
✓ | 1.3.4 | Added base permission to use health over text |
Added option to disable health over text | ||
Added flexibility in command handling | ||
Fixed health tag bugs | ||
1.3.4alpha | Fixed half health display | |
Changed health tag system | ||
Added clearer guidance in wrong command | ||
1.3.3 | Added ability in config to change the plugin name | |
Added option to half numerical display | ||
1.3.2 | Added custom health compatibility | |
Added health under name tag | ||
Removed garbage in API | ||
Added ability in API to edit heart icons |
To-do
To-do
Add more perms<sub>Completed in 1.3</sub>Add config<sub>Completed in 1.2</sub>Add health tag under names<sub>Completed in 1.3.4</sub>- Add health tag for mobs
Special notes
Special notes
- The information message is delayed by 1/20 seconds (1 game tick) from the attack.
This is necessary for the most accurate and easy way to get the player's health.
There is some kind of problem with the configuration, I assumed it was my fault and deleted the config but the default config comes up with the same error. It doesn't seem to affect the performance of the plugin but I can't change the settings.
Here is a pastie of the error, please excuse the inversed text, my console has the text inverted.
http://pastie.org/6411779
@Nathaniell7
This plugin is using the maximum of 20 health, and hence is not supporting more than 20 health. Can you tell me what plugin did you use to change it ? I will try to see if I can support it.
EDIT: I have tested it again, the numerical health DOES work. Probably you edited the config without reloading the server.
I can't seem to change the display type to numerical, it still shows it in hearts even when I set the value to true (because players on my server usually have more than 20 health)
plus, is it possible to make it display damage even if the player has more than 20 health, and gets hit?
@Leet4044
I have no idea why the event is still called. I have made it to check whether the event is canceled before processing the health. In the next update, I made it check if the attack is 0. I think I will make the plugin listen on Monitor if it doesn't help.
Could you later make it so that when you hit someone, but they dont take damage eg: in a no-pvp area, it wont display? that gets annoying :P But love the plugin its so perfect
Works perfectly! Thank you so much!
@Masterofjumping
I think it should. Haven't tried it yet.
EDIT: I meant it should work if the plugins did not literally change the total health within the server. This is calculated with reference to Minecraft original total health, 20.
Looks nice, would this work with plugins that change the health system and custom attack type plugins. For example McMMO and Ancient RPG which changes the health numbers?
Great idea and stuff but the health is incorrect. Me and the co-owner pvped and when he was down at 3 hearts it showed 0.5, i mean we had full diamond armor would that affect it?
Sorry for the bug, the new update has fixed it.
Really love the hearts instead of the wording. The plugin is clean and well designed, thanks again for making this!
@Sonorpearl
I'm trying to work without Spout. :)
It would be nice to have an HP bar Above, there is a way with Asci oder with Spout Support.
@DerpingManiac
I will. I am finding out the final health after the damage, as I am currently using a calculation of the health before the attack, minus the attack damage which does not go into consideration of armour.
Should add McMMO support and Enchantment Support.