【BossBarHealth】- Best RPG Health Bar on Spigot ! icon

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

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



[​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 (require to be enabled in config.yml)
- Citizens support (since v4.1.4-SNAPSHOT). Display Citizen NPC's name properly (require to be enabled in config.yml)
- MythicMobs support (since v4.1.7-SNAPSHOT). Display MythicMobs entity'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
  # Boss bar will be hidden in these worlds
  WorldsHidden
:
   - dungeon
  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 (can be translated below):
      # %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 %
      Dead
: ' %direction_cardinal% %displayname% Dead &7(&c-%change%&7)'
      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 (can be translated below):
      # %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
      Dead
: ' %e_name% Dead &7(&c-%e_change%&7)'
      # When the player dies
      SelfDead
: ' %e_name% %e_hp%/%e_max% &7(&c-%e_change%&7)'
      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

  # Translation of directions
  Direction
:
    Ordinal
:
      Full
:
        East
: East
        South
: South
        West
: West
        North
: North
      Short
:
        East
: E
        South
: S
        West
: W
        North
: N
    Cardinal
:
      Full
:
        NorthEast
: NorthEast
        SouthEast
: SouthEast
        SouthWest
: SouthWest
        NorthWest
: NorthWest
      Short
:
        NorthEast
: NE
        SouthEast
: SE
        SouthWest
: SW
        NorthWest
: NW

  # 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 MythicMobs, use MythicMobs' method to get entity's name
    MythicMobs
:
      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 download the plugin again 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 before executing the command. You might get nothing if you enter the wrong 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]
Resource Information
Author:
----------
Total Downloads: 15,649
First Release: Jan 30, 2020
Last Update: Oct 25, 2024
Category: ---------------
All-Time Rating:
22 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings