HealthDisplay
HealthDisplay For 1.5!
Ever wanted to know how much health a player has by looking at his/her name tag? Well now you can! This nifty and simple plugin by me changes your names prefix, new feature in 1.5 with scoreboards, without changing your skin! I will soon be implementing a config, so you can show how the plugin will work!
Installation
Installation is as easy as dragging and dropping it into your servers /plugins/ folder! Download the plugin, and plop it into your plugins folder! If you need help, a simple google search will help you!
Source Code
https://github.com/skipperguy12/HealthDisplay
Credit
Thanks @Tzeentchful for the wonderful post on how to play with scoreboards for 1.5.1!
Message me or comment if you need help!
@pimsserver
I have the plugin for 1.6.4, was so really to make it work, and i have make a really clean up with this plugin
This seems like a very nice plugin.
It would be nice if it could be updated to 1.6.4
@icedemond5
Guessing you run 1.6? This plugin uses NMS code, which requires it to be updated every minecraft update.
since i downloaded this plugin I've been getting this error: java.lang.NoClassDefFoundError: net/minecraft/server/v1_5_R2/IScoreboardCriteria assuming it belongs to this one (correct me if i am wrong) can you help me fix it? also potions don't seem to work.
Screen ? updates ?
i Sent him a pull request that will update the plugin for 1.5.2 he just has to make it and upload it..
Will this be updated to 1.5.2?
Will this be updated to 1.5.2, was brilliant when it worked!
@Roflzack
this plugin is not pointless for me as it worked with my plugin Permissions Health. scorebored only displays 20 health and no more. HealthDisplay can go beyond that so it really works hand and hand with my plugin
@Roflzack
This feature is only for Vanilla, I think because when i tried in my "Bukkit" server it didn't work, So this isn't pointless, you should rethink before typing. These guys took their time to make you this plugin and all you do is cry about this and that.
OT: This plugin amazing guys but when i tried to put this on my server it didn't load, I tried the newest type of Bukkit (AKA, Dev Builds) but it didn't work.
This plugin is pointless... /scoreboard objectives add Health health Health /scoreboard objectives setdisplay belowname Health You can do what this plugin does on any vanilla server with this command.
This plugin works on 1 of my servers...but not the other! damn wierd. My 1 server just shows "0 Hearts"
Loving the plugin, just one problem.. Citizens conflicts with HealthDisplay for some strange reason I don't have the logs anymore, but can you guys try and fix it?
Can u help me?
19:57:29 [SEVERE] Could not pass event PlayerJoinEvent to HealthDisplay v0.5
org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.v1_5_R1.PlayerList.c(PlayerList.java:205) at net.minecraft.server.v1_5_R1.PlayerList.a(PlayerList.java:101) at net.minecraft.server.v1_5_R1.PendingConnection.d(PendingConnection.java:129) at net.minecraft.server.v1_5_R1.PendingConnection.c(PendingConnection.java:44) at net.minecraft.server.v1_5_R1.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:41) at net.minecraft.server.v1_5_R1.DedicatedServerConnection.b(SourceFile:29) at net.minecraft.server.v1_5_R1.MinecraftServer.r(MinecraftServer.java:580) at net.minecraft.server.v1_5_R1.DedicatedServer.r(DedicatedServer.java:225) at net.minecraft.server.v1_5_R1.MinecraftServer.q(MinecraftServer.java:476) at net.minecraft.server.v1_5_R1.MinecraftServer.run(MinecraftServer.java:409) at net.minecraft.server.v1_5_R1.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/v1_5_R2/IScoreboardCriteria at com.github.skipperguy12.HealthDisplay.ML.join(ML.java:64) at sun.reflect.GeneratedMethodAccessor154.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 14 more Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_5_R2.IScoreboardCriteria at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:70) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) ... 19 more
Just a note, when a player is killed by the mob that has the health bar visible in the chat window it shows "player was killed by <health bar shows>"
we get error from this plugin please release a fix + change the color of the headtag
Nice plugin!!
12:19:24 [javastacktrace] java.lang.NullPointerException 12:19:24 [javastacktrace] at com.github.skipperguy12.HealthDisplay.ScoreboardManager.updateHealth(ScoreboardManager.java:53) 12:19:24 [javastacktrace] at com.github.skipperguy12.HealthDisplay.ML$2.run(ML.java:68) 12:19:24 [javastacktrace] at org.bukkit.craftbukkit.v1_5_R2.scheduler.CraftTask.run(CraftTask.java:53) 12:19:24 [javastacktrace] at org.bukkit.craftbukkit.v1_5_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:344) 12:19:24 [javastacktrace] at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:510) 12:19:24 [javastacktrace] at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225) 12:19:24 [javastacktrace] at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:474) 12:19:24 [javastacktrace] at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:407) 12:19:24 [javastacktrace] at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) 12:19:35 [warning] [HealthDisplay] Task #684 for HealthDisplay v0.5 generated an exception
This plugin is amazing! Could you make it so it auto refreshes, it only seems to update on hit (example, 5/20 in 5mins without being hit it'll still be 5/10 until you hit the player)
Hi, I was wondering if you could implement the ability to change the color of the "Hearts" text in the config.yml. It would be great if it could support color codes. All I want to do it to be able to change the color of the label "Hearts" to green using the "&a" color code. So in the config it would look something like "label: &aHearts". Would be great if you can do this please. :D
@kahlilnc
Please keep in mind that is because it updates whenever you 1 heart not 1/2 because the number is 10.