【BossBarHealth】- Best RPG Health Bar on Spigot ! 4.1.6-SNAPSHOT

Didn't find a plugin that shows health on boss bar? This is it!

  1. i998979
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    Source Code:
    https://github.com/i998979/BossBarHealth
    [​IMG]



    [​IMG]
    Didn't find a boss bar plugin with the settings you want to show player's health?
    This is what you are looking for!


    [​IMG]
    - Fully customizable and toggleable self and enemy's boss bar
    - Different colors of boss bar display
    - Different segment style of boss bar display
    - Scale up or down the boss bar health display for different purposes
    - Lots of placeholders (check config.yml for available placeholders)
    - Option to make enemy's boss bar show only when the player hit it
    - Show player and enemy's direction & degree in boss bar
    - Enemy type blacklist to block boss bar from showing when attacking specified type of enemies
    - Customizable mob name for the mobs don't have custom name (see lang.yml)
    - Blacklist specified entity type so that no boss bar will be shown for that type of entities


    - PlaceholderAPI support (since v3.1.0)
    - WorldGuard support (since v4.0.0). Change boss bar's color and segment style when entering/leaving region
    - Citizens support (since v4.1.4-SNAPSHOT). Display Citizen NPC's name properly (require to be enabled in config.yml)

    If your PlaceholderAPI's placeholders aren't loading, please check here


    [​IMG]

    Shows player's (or even enemy's) looking direction (multiple format support!)
    [​IMG]

    Vanilla entity with customized name displayed on boss bar
    [​IMG]

    Different display styles for normal/lost/gain hp, both self and enemy bars are supported
    [​IMG]

    Custom bar color and style for different damage causes
    [​IMG]

    Different bar color and style when entering/leaving specified regions
    [​IMG]


    [​IMG]
    Main command: /BossBarHealth, /bbh
    <>: Required []: Optional
    /bbh Show: Show BossbarHealth to player.
    /bbh Hide: Hide BossBarHealth from player .
    /bbh Help : Show the help page.


    [​IMG]
    [Green: Default to everyone] [Red: Default to admin]
    BossBarHealth.Admin: Give access to BossBarHealth commands
    BossBarHealth.Hide: Give access to /bbh Hide
    BossBarHealth.Show: Give access to /bbh Show


    [​IMG]
    Code (YAML):
    BossBarHealth:
     # Decimal places of all numbers including current hp, max hp, hp lost/gained
      Decimal
    : 2

      Self
    :
       # If it is enabled, it will show your hp at all times
        Enabled
    : true
        # Color of the boss bar
        # Avaliable options: BLUE, GREEN, PINK, PURPLE, RED, WHITE, YELLOW
        # https://hub.spigotmc.org/javadocs/spigot/org/bukkit/boss/BarColor.html
        Color
    : GREEN
        # Style of the boss bar
        # Avaliable options: SEGMENTED_10, SEGMENTED_12, SEGMENTED_20, SEGMENTED_6, SOLID
        # https://hub.spigotmc.org/javadocs/spigot/org/bukkit/boss/BarStyle.html
        Style
    : SEGMENTED_20
        # Scale of the boss bar health display
        # If the option is 2.0, it shows 40/40 when you have full health
        Scale
    : 1.0
        Format
    :
         # Display format of normal part of boss bar health, the one which shows constantly
          # Placeholders:
          # %name%                      Player's name
          # %displayname%               Player's display name
          # %hp%:                       Player's health
          # %max%:                      Player's maximum health
          # %hp_percent%:               Player's health in %
          # %max_percent%:              Player's maximum health in %
          # %hp_int%                    Player's health in integer
          # %max_int%:                  Player's maximum health in integer
          # Player's direction:
          # %direction_cardinalfull%    North, East, South, West
          # %direction_cardinal%        N, E, S, W
          # %direction_ordinalfull%     NorthEast, SouthEast, etc...
          # %direction_ordinal%         NE, SE, etc...
          # %direction_number%          0-359 degrees
          Normal
    : '%direction_cardinal% %displayname% %hp%/%max%'
          # Display format of boss bar health when self HP changes
          # Placeholders:
          # %change%          Player's health gained/lost
          # %change_percent%:           Player's health lost/gained in %
          HpLost
    : '%direction_cardinal% %displayname% %hp%/%max% &7(&c-%change%&7)'
          HpGain
    : '%direction_cardinal% %displayname% %hp%/%max% &7(&a+%change%&7)'
          # Duration of lost/gained hp staying on screen, in ticks
          Duration
    :
            Normal
    : 40
            Zero
    : 10
        # How frequent will the boss bar change when facing has changed
        # Only effective when you have direction placeholders in the display format string
        Facing
    :
          Refresh
    : 20

      Enemy
    :
       # If it is enabled, it will show enemy's hp when you attack
        Enabled
    : true
        Color
    : GREEN
        Style
    : SEGMENTED_20
        Scale
    : 1.0
        # If it is enabled, enemy's boss bar will override self boss bar when active
        Override
    : false
        Format
    :
         # Placeholders:
          # ** All Self's placeholders can be applied except %change% and %change_percent% **
          #
          # %e_type%                      Entity type of the enemy
          # %e_name%                      Name of the enemy
          # %e_displayname%               Custom display name of the enemy, empty if null
          # %e_hp%                        Enemy's health
          # %e_max%                       Enemy's maximum health
          # %e_hp_percent%                Enemy's health in %
          # %e_max_percent%               Enemy's maximum health in %
          # %e_hp_int%                    Enemy's health in integer
          # %e_max_int%                   Enemy's maximum health in integer
          # %e_change%:                   Enemy's health lost/gained
          # Enemy's direction:
          # %e_direction_cardinalfull%    North, East, South, West
          # %e_direction_cardinal         N, E, S, W
          # %e_direction_ordinalfull%     NorthEast, SouthEast, etc...
          # %e_direction_ordinal%         NE, SE, etc...
          # %e_direction_number%          0-359 degrees

          HpLost
    : '%e_name% %e_hp%/%e_max% &7(&c-%e_change%&7)'
          HpGain
    : '%e_name% %e_hp%/%e_max% &7(&a+%e_change%&7)'
          # Duration of enemy's boss bar staying on screen, in ticks
          Duration
    :
            Normal
    : 40
            Zero
    : 10
        # How frequent will the boss bar change when enemy's facing has changed
        Facing
    :
          Refresh
    : 20

      # Entity type in the list will not have enemy's hp bar shown for players
      # Blacklist:
      # - COW
      # - CHICKEN
      # - PIG
      Blacklist
    : [ ]

      # How will the boss bar for player himself shows when takes specified type of damage
      DamageCause
    :
       # If the damage taken is not specified below
        Default
    :
          Color
    : RED
          Style
    : SEGMENTED_20
        # If player takes fall damage
        # Available options:
        # https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/EntityDamageEvent.DamageCause.html
        FALL
    :
          Color
    : WHITE
          Style
    : SOLID

      # Settings of other plugins that was supported by BossBarHealth
      Hooks
    :
       # Hook of Citizens, use Citizens' method to get enemy NPC's name
        Citizens
    :
          Enabled
    : true
        # Hook of WorldGuard, update boss bar's color and style when entering region
        WorldGuard
    :
         # If it is enabled, the boss bar will change when you enter/leave regions specified below
          Enabled
    : true
          Regions
    :
           # Name of the region, if player is in multiple region, the plugin takes upper one in config
            # For example, I have "shop" on top of "spawn", the plugin takes "spawn" because it is placed
            # higher than "shop"
            'spawn'
    :
              Color
    : BLUE
              Style
    : SOLID
              # 'shop':
              # Color: PURPLE
              # Style: SEGMENTED_6

    [​IMG]
    - (Optional) PlaceholderAPI for extra placeholders
    - (Optional) WorldGuard and WorldGuard Events for custom boss bar color and segment style when entering/leaving specified region


    [​IMG]
    - Download the plugin from the "Download Now" button above
    - Download all the dependencies stated above
    - Place the plugin and the dependencies in "YourServerFolder/plugins"
    - Restart the server
    - Modify the configuration if needed



    [​IMG]
    Can't answer your question? PM me or leave a comment in the Discussion Section. I will answer you as soon as possible.

    Q. I found bugs / console errors.
    A. Try to re-download the plugin before asking for help. I will help as much as I can if you provide enough information such as error logs, how to reproduce the error. Please PM me or leave a comment in the Discussion Section. Otherwise, I will ignore you.

    Q. Nothing was received after typing the command.
    A. Please make sure that you follow the format in order to execute the command. You might get nothing if you enter wrong command arguments. Also, please make sure that the plugin is loaded and doesn't conflict with other plugins. You may ask for help but I can't promise I can fix the error if the error is not produced by my plugin.

    Q. Does this plugin support xxx Platform / xxx Server / xxx Minecraft version?
    A. I am sorry that I can't test my plugin on all platforms, servers, Minecraft versions. I don't have time and resources. If you are having problems with the specified Platform / Server / Minecraft version, please PM me or leave a comment in the Discussion Section. I will try my best to fix it.


    [​IMG]
    You are not permitted to redistribute any part of the resource in any form.
    You are not permitted to redistribute the resource as your own work.
    You are not permitted to modify the code of the resource.
    You are not recommended to give reviews about the difficulties you are facing like bugs, errors, configuration problems.
    You will not be alerted if the "Terms of Use" was modified.
    You are recommended to give suggestions of the resource or technical support to improve the quality of the resource.


    This resource collects anonymous server statistics through bStats. If you would like to disable it, you can change the settings in plugins/bStats/config.yml.
    [​IMG]
    MishaNeYT and SnowCutieOwO like this.

Recent Reviews

  1. CNguyen
    CNguyen
    5/5,
    Version: 4.1.4-SNAPSHOT
    A good plugin and a friendly author. Perfect combination <3
    =================================================
    1. i998979
      Author's Response
      Thanks for the review :)
  2. CNguyen
    CNguyen
    5/5,
    Version: 4.1.2-SNAPSHOT
    The plugin is great, but could you add an option that will show player current blood count and max health as a percentage?
    1. i998979
      Author's Response
      Thanks for the review.
      It has been added in version 4.1.3. You may check the Configuration section under this resource page or update your ocnfig.yml to see the new placeholders
  3. byteboost
    byteboost
    5/5,
    Version: 4.1.0
    Very good plugin, works smooth and looks nice.
    One little thing: When i hit a mob and it is killed by itself (creeper, explodes) or killed by another player, the bar won't disapear until i hit the next mob.. maybe one night later.
    1. i998979
      Author's Response
      Thanks for the review.
      That's a very weird problem, may you explain more about that in the discussion section?
  4. MINIMANYTUBE
    MINIMANYTUBE
    5/5,
    Version: 4.1.0
    "Entity name update" nice!!! only this was not enough. thank very very good job perfectly
    1. i998979
      Author's Response
      Thank you very much <3
  5. ItsJacob
    ItsJacob
    5/5,
    Version: 4.1.0
    Already reviewed once, but I like how you keeped up the good job, you deserve more downloads, just keep at it! Your plugin has helped me a lot with my servers! :D
    1. i998979
      Author's Response
      Thanks for the review :)
  6. Hilltin
    Hilltin
    5/5,
    Version: 4.0.0
    Very useful plugin, I love everything that it does, perfect for RPG like servers.
    1. i998979
      Author's Response
      Thanks for the review :)
  7. MINIMANYTUBE
    MINIMANYTUBE
    5/5,
    Version: 4.0.0
    Greetings from Russia. how to translate the names of enemies? ver 1.14.4 no errors found
    1. i998979
      Author's Response
      Currently the plugin doesn't support different language other than english, but that's a good idea, i may make it possible
  8. ItsJacob
    ItsJacob
    5/5,
    Version: 3.0.5
    Good plugin, but I would like to see it on 1.16.1, currently on that version shooting a mob with arrows doesn't make a bossbar appear.
    1. i998979
      Author's Response
      Thanks for the review.
      It should be fixed in the next release.
  9. debarba
    debarba
    5/5,
    Version: 3.0.4
    Great plugin! Works on 1.15.2 paper server, would be cool for future update to have blacklisted entities, or even the option to customize each entity's display name instead of the mob type.
    1. i998979
      Author's Response
      Thanks for the review :)
      If you are talking about the entity's custom display name, you should be able to do it with %e_name% and %e_displayname%.
      Maybe some kind of misleading in the config.yml but I made it into the code.
  10. cfng2009
    cfng2009
    5/5,
    Version: 1.0.0
    Best health plugin ever with the use of the boss bar. I have been searching for a similar plugin for a long time, but only this can satisfy all my needs! Sir, I would like to ask may you update it to 1.15.2? If it could then it will be perfect!! Thank you.
    1. i998979
      Author's Response
      Thanks for your review :)
      I'll look into that asap