PaperSidebarHandle

class PaperSidebarHandle(title: () -> Component, lines: List<(Player) -> Component>, plugin: Plugin?, refreshInterval: Ticks?) : SidebarHandle

Constructors

Link copied to clipboard
constructor(title: () -> Component, lines: List<(Player) -> Component>, plugin: Plugin?, refreshInterval: Ticks?)

Functions

Link copied to clipboard
open override fun destroy()

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

Link copied to clipboard
open override fun hide(player: Player)

Hides the display element from the specified player.

Link copied to clipboard
open override fun show(player: Player)

Shows the display element to the specified player.

Link copied to clipboard
open override fun update()

Updates the state of the scoreboard or boss bar.