HoloMobHealth | Display Mob Health | Damage Indicator | Client-side | JavaScript Formatting 2.2.2

Display mob health CLIENT-SIDE ONLY through packets! Support custom JavaScript formatting!

  1. LOOHP
    Native Minecraft Version:
    1.17
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    • 1.17
    Source Code:
    https://github.com/LOOHP/HoloMobHealth
    Contributors:
    Nicuch, Henry (Resource Icon), Teo (Resource Icon)
    Languages Supported:
    EVERYTHING is translatable. Default language: English (en-US)
    By the way! Check out my server at play.sunknights.fun!

    [​IMG] Consider donating!
    It helps me keep on supporting my plugins while keeping them free! DM me and I'll put your name here! Click me!

    Thank you for your donation to support me on my journey on coding plugins!
    (If you want your name shown as well, send me a message!)
    $20 - Zzheyd

    [​IMG]

    Join the discord server here!

    Thanks for the absolutely beautiful icons!
    [​IMG](by Henry)
    [​IMG] (by Teo)

    Note:
    Multi-Line IS NOT SUPPORTED on 1.8 - 1.9.4
    Damage Indicator IS NOT SUPPORTED on 1.8 - 1.10

    Information of the Placeholders you can use in mob names are in the Default Config Section below.


    About

    It's frustrating when you can't see how much health your opponent has left. Well, now you can! With HoloMobHealth, you can customize how you would like to display mob health above its head!

    Videos

    Want video demonstrations? Here are some videos made by some awesome people!
    Video by ServerMiner in English:


    Video by SirBukkit in German:



    Features
    First of all, it won't affect your death messages or mob names!
    The health display is only CLIENT-SIDE!
    So that death message filled with hearts won't happen!

    1. Display health above all mob's head
    - Well obviously, this is the point of the plugin, here is a few pictures!
    [​IMG]

    2. Customize your own mob health display design
    - The plugin provides multiple different placeholders for you to customize your display, for example you can choose round health to nearest integer, or 2 decimal places, or display the mob's name!
    [​IMG]

    3. Support hearts display
    - If you like to use hearts instead of text, you can! Just put the corresponding placeholder {ScaledSymbols} in the config!
    [​IMG]

    4. Damage Indicators![1.11 or above]
    - Show health gain and loses with tiny numbers around the mob!
    - You can hide damage indicators in certain regions through flags if you use
    WorldGuard[v7].
    [​IMG]

    5. Completely client-side! No mobs are changed
    - The health display is only visual, meaning that the mob's actual name isn't changed on the server.
    - If you want to not let the health display override named mobs, or want health display to display alongside the mob's name, you can do that all in the config!

    6. Custom placeholder scripts
    - Yes! You can create your own placeholders through the use of JavaScript
    - More info on that below

    7. Languages and Mob types
    - All of course! You will be able to change all the text that is sent to players to your liking to suit your server.
    - Entity type names will be translated to the language of each user's client language!

    - Villager professions and Tropical Fish types are also identified by the plugin!

    8. Blacklist any mobs
    - Blacklist any mob type from being affected by the health display
    - Blacklist any mob with a certain name
    - Blacklist any mob with a name that contains a certain text

    9. Dynamic health display
    - You can toggle the plugin to only display mob health when it is attacked or taking damage in the config!

    10. Supports RGB and Font[1.16 or above]
    You can use RGB code in any part of the config that support colors!
    Code (Text):
    &x&F&F&F&F&F&F
    or
    Code (Text):
    [color=#ffffff]
    If you have a custom resource pack that has different fonts, you can even use them like color codes!
    Code (Text):
    [font=myawesomefont]
    10. Compatibility with other plugins
    - You can disable health display for mobs from MyPet, Citizens, MythicMobs (Partly) and Shopkeeper in the config!
    - PlaceholderAPI placeholders can be used as well!
    - If you have other plugins you want to be supported, tell me in the discussions!

    Supported Plugins
    - MythicMobs
    (Only Partly)
    - Citizens (Except Player Mob Types)
    - Shopkeepers
    - MyPet
    - PlaceholderAPI

    - WorldGuard (Requires at least v7)

    Dependencies
    - ProtocolLib (Please install the latest version that is compatible for your server version)

    Installation
    1. Put HoloMobHealth.jar into the plugins folder along with the required dependencies
    2. Start the server
    3. Edit the config (if you need to)
    4. Restart the server (if you changed something in the config in step 3)


    Development Builds
    [​IMG]

    Jenkins


    Placeholder Scripts
    In HoloMobHealth, you can define your own custom placeholders through the use of JavaScripts, here is an example:
    Take me to the example

    Commands
    /holomobhealth reload - Reloads the plugin (or /hmh reload)
    /holomobhealth update - Check for updates (or /hmh update)
    /holomobhealth toggle - Toggle mob health display for yourself (or /hmh toggle)

    Permissions

    Code (YAML):
    permissions:
      holomobhealth.reload
    :
        description
    : Allows you to reload the plugin
        default
    : op
      holomobhealth.use
    :
        description
    : Allows you to see the health display
        default
    : true
      holomobhealth.toggle
    :
        description
    : Allows you to toggle health display for yourself
        default
    : true
      holomobhealth.toggle.others
    :
        description
    : Allows you to toggle health display for others
        default
    : op
      holomobhealth.update
    :
        description
    : Allows you to recieve update notifications
        default
    : op


    Default Config
    Latest Config with Descriptions

    Limitations
    - AlwaysShow doesn't work in 1.8 due to a Minecraft bug
    - Multi-Line IS NOT SUPPORTED on 1.8 - 1.9.4
    - Mobs disguised as the player mob type will not have its health shown as player names and mob names are handled differently



    [​IMG]

    Report problems in the discussion, not in a review. Thanks :)

Recent Reviews

  1. LeHuuHoa
    LeHuuHoa
    5/5,
    Version: 2.2.2
    AWESOME PLUGINNNNNNNNNN! BEEN FINDING FOR IT FOR A REALLY LONG TIMEEE <3!!!!!!!!!!!
    1. LOOHP
      Author's Response
      THANKKK YOUUUU!!!!
  2. goatman555
    goatman555
    5/5,
    Version: 2.2.0
    such a clean plugin, havent even opened the config and it works exactly like you would expect it to
    1. LOOHP
      Author's Response
      Thank you!
  3. lostmp
    lostmp
    4/5,
    Version: 2.1.0
    Useful plugin but i have a problem in my console

    [12:39:42 INFO]: [HoloMobHealth] Unable to setup languages
    [12:39:42 WARN]: java.lang.NullPointerException
    [12:39:42 WARN]: at java.base/java.io.StringReader.<init>(StringReader.java:50)
    [12:39:42 WARN]: at org.json.simple.parser.JSONParser.parse(JSONParser.java:79)
    [12:39:42 WARN]: at org.json.simple.parser.JSONParser.parse(JSONParser.java:75)
    [12:39:42 WARN]: at com.loohp.holomobhealth.Utils.HTTPRequestUtils.getJSONResponse(HTTPRequestUtils.java:23)
    [12:39:42 WARN]: at com.loohp.holomobhealth.Utils.LanguageUtils.lambda$loadTranslations$3(LanguageUtils.java:95)
    [12:39:42 WARN]: at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99)
    [12:39:42 WARN]: at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54)
    [12:39:42 WARN]: at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
    [12:39:42 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    [12:39:42 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    [12:39:42 WARN]: at java.base/java.lang.Thread.run(Thread.java:834)
  4. ipodfleajr
    ipodfleajr
    5/5,
    Version: 2.1.0
    Love this plugin. It's by far the easiest plugin I've dealt with since starting a server.
    The hardest part was finding the rating button on the Spigot page.
    Multi line hasn't worked yet, but honestly Single line looks great once you customize it.
    1. LOOHP
      Author's Response
      Thank you :) Feel free to contact me on discord if you have any questions!
  5. SiuLung
    SiuLung
    5/5,
    Version: 2.1.0
    The plugin is very excellent. It works well to display mobs health.
    Most of the players in my public server like this plugin.
    1. LOOHP
      Author's Response
      Thank you!
  6. Benpro23
    Benpro23
    5/5,
    Version: 2.0.13
    It took me forever but I finally found the best mob HP bar plugin. The others either had a version that was too low or were buggy as heck.
    1. LOOHP
      Author's Response
      Thank you!
  7. seasonphan
    seasonphan
    5/5,
    Version: 2.0.11.1
    perfect plugin for displaying mobs health, super versatile and not resource-heavy
    1. LOOHP
      Author's Response
      Thank you!
  8. Fargus
    Fargus
    3/5,
    Version: 2.0.11.1
    This works correctly, but MythicMobss is not supported. Maybe you need to add support for the latest version... it doesn't work for it. Please.
    1. LOOHP
      Author's Response
      I do plan to get MythicMobs fully supported in the future. Thank you!
  9. Special70
    Special70
    5/5,
    Version: 2.0.10.3
    The plugin is an excellent addition to the server but sadly, it does not support disguised mobs...
    1. LOOHP
      Author's Response
      It should support lib's disguise (latest version) disguised mobs that isn't with the type "player" in the latest dev build
  10. TravoQur
    TravoQur
    5/5,
    Version: 2.0.9
    the plugin is interesting, but there are problems. Doesn't work with mythicmobs when the mob is under the DisguiseLib plugin
    1. LOOHP
      Author's Response
      That should work in the latest version!