Flectone LogoFlectonePulse

Boss Bar

Module responsible for messages in vanilla boss bars

bossbar raid bossbar wither bossbar enderdragon


Localization

Path localizations → language.yml → message.bossbar
bossbar:
  announce:
    key: "message"
  types:
    entity.minecraft.ender_dragon: "<sprite_or:'':block/chorus_flower><gradient:#ff6bff:#dda0dd>Ender Dragon"
    entity.minecraft.wither: "<sprite_or:'':gui:mob_effect/wither><gradient:#7b68ee:#9370db>Wither"
    event.minecraft.raid: "<sprite_or:'':gui:mob_effect/raid_omen><gradient:#ff6b6b:#ff4444>Raid"
    event.minecraft.raid.defeat: "<sprite_or:'':gui:hud/heart/poisoned_full><gradient:#ff6b6b:#ff4444>Defeat"
    event.minecraft.raid.defeat.full: "<sprite_or:'':gui:hud/heart/poisoned_full><gradient:#ff6b6b:#ff4444>Raid - Defeat"
    event.minecraft.raid.raiders_remaining: " - Raiders Remaining: <raiders>"
    event.minecraft.raid.victory: "<sprite_or:'':gui:hud/heart/full><gradient:#32cd32:#228b22>Victory"
    event.minecraft.raid.victory.full: "<sprite_or:'':gui:hud/heart/full><gradient:#32cd32:#228b22>Raid - Victory"

announce

List of messages when entering a specific boss bar, where the key is the boss bar name (e.g., entity.minecraft.ender_dragon)

types

List of messages for vanilla boss bars. The key event.minecraft.raid.raiders_remaining is special; it is automatically added to raid messages if necessary.


Setting

Path message.yml → bossbar
bossbar:
  enable: true
  announce:
    key:
      destination:
        type: "TITLE"
        subtext: ""
        times:
          stay: 60
          fade_in: 20
          fade_out: 20
      sound:
        enable: false

enable

Enables or disables the functionality of the module

announce

Can be used to notify the player that they have entered the "dragon" zone (or any other). This does not affect the main boss bar but only complements the functionality. It will trigger every time the player enters the boss bar zone.

The key is the boss bar name (e.g., entity.minecraft.ender_dragon), and the value is where the notification will be sent.

Information

For example, I want a chat message saying "It's a dragon!" to appear when a player enters the dragon's boss bar zone.

announce:
entity.minecraft.ender_dragon:
destination:
type: "CHAT"
sound:
enable: false

The message must also be added to the localization:

announce:
entity.minecraft.ender_dragon: "It's a dragon!"

destination

Where the message will be sent

TypeExplanationRequires additional configuration?
ACTION_BARMessage above the player's inventoryYes
BOSS_BARMessage at the top of the screenYes
BRANDMessage in F3No
CHATMessage in chatNo
TEXT_SCREENMessage anywhere on the screenYes
TITLEFull-screen messageYes
SUBTITLEFull-screen message (bottom line)Yes
TAB_HEADERMessage in TAB (top)No
TAB_FOOTERMessage in TAB (bottom)No
TOASTMessage in the top right corner (achievement)Yes

sound

Sound playback


Permissions

Path permission.yml → message.bossbar
bossbar:
  name: "flectonepulse.module.message.bossbar"
  type: "TRUE"
  types: {}

name

Permission name

type

Permission type

TypeExplanation
TRUEAvailable to any player
FALSEAvailable to no one, must be granted separately (e.g., using LuckPerms)
OPAvailable to server operators
NOT_OPAvailable to NON-operators of the server
Last update August 14, 2026
Edit on Github

On this page

Authors of page