Health Status

Discussion in 'Archived: Plugin Requests' started by evoxboss, Apr 1, 2013.

  1. Offline

    evoxboss

    Plugin category: Rpg, Fun

    Suggested name: HealthStatus

    What I want: Well I would love it to have a health status above your head but below your name. I know some big servers have that plugin. I would love for only players to have this status on how much health they have by having 20 as their max. After a player is 10 blocks away or squatting, the display above their head of the health disappears. It doesn't require spout and an example would have it say; Health: 20, then when they get hit, Health: 16.

    Ideas for commands: No commands needed.

    Ideas for permissions: healthstatus.display, healthstatus.see.others

    When I'd like it by: No specific date but it shouldn't take more than 3 days, I assume.
     
  2. Offline

    sehrgut42

    This is not possible without Spout (or a shared client and server mod), for the simple reason that a Bukkit plugin can't affect the graphical rendering of the tag. The best you'll be able to get is something using TagAPI to actually CHANGE their name tag to a health bar drawn with hashes or dashes or something, and maybe alternate it between their name and the "health bar" characters.
     
  3. Offline

    nhadobas

    It's not possible if you're not up to date with 1.5. This can be done in 1.5, it was actually one of the things they added in that patch.
     
  4. Offline

    sehrgut42

    I didn't know that . . . I thought I'd seen most of the new stuff in the latest Bukkit build (I am running and compiling against the snapshots), but I must've missed that. *immerses himself in the doxygen*
     
  5. Offline

    nhadobas

    Currently I don't think it's added in the bukkit API (don't quote me on that as I am not sure) but I'm going to guess the severs that have the feature use either a custom bukkit build or some other method.
     
  6. Offline

    sehrgut42

    Hmm . . . I wasn't seeing it in the bleeding craftbukkit net.minecraft.server on Github either . . .
     
  7. Offline

    nhadobas

    The servers that have it probably use a modded bukkit build.
     
  8. Offline

    sehrgut42

    Ahh . . . I've been looking into ways to use a bci library to hotmod craftbukkit in-memory so some of these techniques would be available in plugins, but bytecode editing is so tetchy.
     
  9. Offline

    evoxboss

    Do you think its possible to make this then? Or can somebody make it because the plugins don't custom craftbukkit's. They use the scoreboard gui to help them make it or something like that.
     
  10. Offline

    Phinary

  11. Offline

    sehrgut42

    Yeah, it'd require manually sending packets to the client. Best to wait until there's a well-formed API for it.
     

Share This Page