Skip to content

Commands

Nathan Glover edited this page Feb 20, 2018 · 3 revisions

Command Usage

Note: You may use /bossbarmessage or /bm for commands.

There are three main commands in Boss Bar Message:

  • /bossbarmessage help displays a help screen.
  • /bossbarmessage reload reloads the config.yml and messages.yml files.
  • /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 Boss Bar

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.

Basic Example

Here is a basic example: /bm send I am a basic boss bar message!, which produces the following:

Basic Example

Flags

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:

  • seconds or s edits the display length of a boss bar message (in seconds).
  • player or p indicates that a bar message should only be sent to a certain player.
  • color or c edits the color of the boss bar.
    • Possible Values: Blue, green, pink, purple, red, white, or yellow.
  • type or t edits the type of boss bar.
    • Possible Values: Solid, segmented_6, segmented_10, segmented_12, or segmented_20.

Flags Example

Here is an example using flags: /bm send player:Notch c:white Hello, Notch! which produces the following (for the player Notch):

Flags Example

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.

Clone this wiki locally