Commands - Kirastur/BossbarCountdown GitHub Wiki

/bbcd start Template Player

Start a Bossbar with the given template for the given player. If the Bossbar does not exists, it will be created with the start-values and begins countdown. If the Bossbar does already exists for this player, it will end the pause and continue with countdown.

/bbcd stop Template Player

Stop a running Bosbar, so it will not countdown any longer. The Bossbar itself is not deleted and the visible status is not changed, only the progress is paused. An error message is displayed if the Bossbar does not exists for the given player.

/bbcd show Template Player

Display a Bossbar with the given template for the given player. If the Bossbar does not exists, it will be created with the start-values (and if autostart is set to true it will start the countdown). If the Bossbar does already exists for this player, it will only change the visible status to true.

/bbcd hide Template Player

Hide the Bossbar for the given player, so it is no longer visible. If the countdown is active, it will continue contdown and fire the event when the goal is reached. An error message is displayed if the Bossbar does not exists for the given player.

/bbcd cancel Template Player

Delete the Bossbar from the given player. The Bossbar gets removed from the player, the countdown is stopped and all values (like the current progress) are removed. No event is fired and no command is executed.

Please cancel a Bossbar if it is no longer needed instead of stopping and hiding it.

Annotation: When the countdown reachs is's goal, the Bossbar is automatically removed, so you do not need an extra cancel.

/bbcd setprogress Template Player newValue

Change the current progress to the new value. If the new value is behind the goal, this is handled as like the countdown has reached the goal, e.g. executing the final action.

/bbcd setprogress Template Player newValue

Change the speed of the countdown. Please don't set the speed to zero, use start and stop instead. If the progess moves avay from the goal, it cannot exceed the boundaries.

/bbcd settitle Template Player newValue

Change the Bossbar's title. The title can contains spaces. Please don't quote the String with quotation marks.

/bbcd list

List all configured templates.

/bbcd info

Show all existing Bossbars.

/bbcd help

Show all subcommands available for the caller.