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.
@Sahee
I've pasted the actual heart icon in the code itself. If you meant you want a character heart, go to the config page to copy.
I have not touched anything in the config.
sorry for my english
How i can create Char "heart" ?
@ria80
Uh, the error is caused by a character '?' not accepted in the config. Did you put any '?' ?
Update plz it makes error thx :=
org.bukkit.configuration.InvalidConfigurationException: unacceptable character '?' (0xFFFD) special characters are not allowed in "<string>", position 451 at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138) at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105) at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:175) at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:117) at org.bukkit.plugin.java.JavaPlugin.getConfig(JavaPlugin.java:111) at com.gmail.chloepika.plugins.pvphealth.HealthString.<clinit>(HealthString.java:10) at com.gmail.chloepika.plugins.pvphealth.HealthGrabber.run(HealthGrabber.java:24) at org.bukkit.craftbukkit.v1_5_R2.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.v1_5_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:510) at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225) at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:474) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:407) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) Caused by: unacceptable character '?' (0xFFFD) special characters are not allowed in "<string>", position 451 at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:70) at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:50) at org.yaml.snakeyaml.Yaml.load(Yaml.java:399) at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53) ... 14 more 2013-04-10 05:49:44 [SEVERE] Cannot load configuration from stream org.bukkit.configuration.InvalidConfigurationException: unacceptable character '?' (0xFFFD) special characters are not allowed in "<string>", position 451 at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138) at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:202) at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:121) at org.bukkit.plugin.java.JavaPlugin.getConfig(JavaPlugin.java:111) at com.gmail.chloepika.plugins.pvphealth.HealthString.<clinit>(HealthString.java:10) at com.gmail.chloepika.plugins.pvphealth.HealthGrabber.run(HealthGrabber.java:24) at org.bukkit.craftbukkit.v1_5_R2.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.v1_5_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:510) at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225) at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:474) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:407) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) Caused by: unacceptable character '?' (0xFFFD) special characters are not allowed in "<string>", position 451 at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:70) at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:50) at org.yaml.snakeyaml.Yaml.load(Yaml.java:399) at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53) ... 13 more
Are you going to update this to 1.5.1?
Pretty sorry for the late reply. I am only looking at the Bukkit Dev page only. It is already updated to support 1.5.2.
@DomenicCosenza
Huh ? In what way ? Client ? I already have the feature "Stop Spam" which delays the time before another message is sent, hopefully to prevent flooding the client.
could u update this plugin? it seems to be causing a lot of pvp lag
@Try_Harder
Okay.
Hi, nice plugin, could you make it so that you can change the tag in the config? For the [Pvp Health] because i don't like the blue and gold :/
Thanks
@KiwiForge
I have that idea too, but I can't seem to find a simple way to add it without using CraftBukkit.
With the new text boxes possible in 1.5, would it be possible to display the opponents health below their username?
@Nathaniell7
I have no idea how to retrieve a player's full health from that plugin.. >.<
@nicknds
I have no idea why a '?' pop up then. Your error report was saying :
org.bukkit.configuration.InvalidConfigurationException: unacceptable character '?' (0xFFFD) special characters are not allowed
Try deleting the health icons ?
@ChloeChan I'll repeat myself, I used the default configuration and still got the errors. There isn't a '?' anywhere in my configuration. I said I deleted mine to get the default, I even tried to copy your configuration. Something tells me its not me or my configuration.
I just use PowerNBT to edit Bukkit.MaxHealth and Health to a higher value
@Virtualium
Uh I'm not sure, but I guess it's not possible. I'll look it up though.
@nicknds
Uh, from what I saw, you used '?' which is not supported by YAML file.
I have a mix of suggestion and question: is it possible to show the health of the player by using the HP bar of the Enderdragon/Wither? That would be the coolest thing ever!