-
Notifications
You must be signed in to change notification settings - Fork 0
Commands
Note: You may use /bossbarmessage or /bm for commands.
There are three main commands in Boss Bar Message:
-
/bossbarmessage helpdisplays a help screen. -
/bossbarmessage reloadreloads theconfig.ymlandmessages.ymlfiles. -
/bossbarmessage send [flags] <message>is the command used to send boss bars to players.
All commands in the plugin require the permission bossbarmessage.admin.
Sending a basic boss bar is very easy! By default, the bar is sent to everyone on the server. You may use color codes and placeholders in the messages.
Here is a basic example: /bm send I am a basic boss bar message!, which produces the following:
Now, that's great if you want to be bland and all, but you're probably wondering how to spice it up a little! The answer is with flags. Flags are pieces of text that you include before a message to tell the plugin to change the boss bar.
At the moment, the following flags are available:
-
secondsorsedits the display length of a boss bar message (in seconds). -
playerorpindicates that a bar message should only be sent to a certain player. -
colororcedits the color of the boss bar.- Possible Values: Blue, green, pink, purple, red, white, or yellow.
-
typeortedits the type of boss bar.- Possible Values: Solid, segmented_6, segmented_10, segmented_12, or segmented_20.
Here is an example using flags: /bm send player:Notch c:white Hello, Notch! which produces the following (for the player Notch):
The flag player:Notch causes the boss message to only be sent to Notch. The flag c:white changes the boss bar's color to white.

