Handle

interface Handle

Represents a generic handle for managing display elements like scoreboards or boss bars.

Inheritors

Functions

Link copied to clipboard
abstract fun destroy()

Hides the display element from all players and releases associated resources.

Link copied to clipboard
abstract fun hide(player: Player)

Hides the display element from the specified player.

Link copied to clipboard
abstract fun show(player: Player)

Shows the display element to the specified player.

Link copied to clipboard
abstract fun update()

Updates the state of the scoreboard or boss bar.