Denovo

Scoreboard

The Scoreboard blocks.

scoreboard of [Player]

scoreboard of Player

The scoreboard on the right side of this player's screen. Each player has their own. Changes to it only show up after an update scoreboard block.

SlotTakesWhat it is for
1PlayerThe player whose scoreboard it is.

Gives back: scoreboard

Script: player.scoreboard()

set title of [scoreboard] to [text]

set title of scoreboard to 0

Sets the title shown above the lines. Colours and styles work with MiniMessage tags like <gold>. Shows up at the next update.

SlotTakesWhat it is for
1scoreboardThe scoreboard to change.
2textThe title.

Script: scoreboardState.setTitle(text)

set line [number] of [scoreboard] to [text]

set line 0 of scoreboard to 0

Sets one line of the scoreboard. Line 1 is at the top, and there are 15 lines. Lines you skip stay empty. Colours and styles work with MiniMessage tags like <red>. Shows up at the next update.

SlotTakesWhat it is for
1numberWhich line, from 1 to 15.
2scoreboardThe scoreboard to change.
3textThe text of the line.

Script: scoreboardState.setLine(number, text)

remove line [number] from [scoreboard]

remove line 0 from scoreboard

Removes one line. The lines below it do not move up. Shows up at the next update.

SlotTakesWhat it is for
1numberWhich line, from 1 to 15.
2scoreboardThe scoreboard to change.

Script: scoreboardState.removeLine(number)

remove every line from [scoreboard]

remove every line from scoreboard

Removes every line but keeps the title. Shows up at the next update.

SlotTakesWhat it is for
1scoreboardThe scoreboard to change.

Script: scoreboardState.clear()

update [scoreboard]

update scoreboard

Shows the scoreboard with every change made since the last update, all at once and without flicker. Only lines that changed are sent to the player, so updating often is cheap.

SlotTakesWhat it is for
1scoreboardThe scoreboard to show.

Script: scoreboardState.update()

hide [scoreboard]

hide scoreboard

Takes the scoreboard off the player's screen. Its lines are kept, so the next update shows it again.

SlotTakesWhat it is for
1scoreboardThe scoreboard to hide.

Script: scoreboardState.hide()

On this page