Scoreboard Configuration
data class ScoreboardConfiguration(val title: Component = Component.text("Dummy title", TextColor.color(255, 102, 0)), val entries: List<ScoreboardEntry> = listOf(ScoreboardEntry("team0", Component.empty(), Component.empty(), "test", 0)), val update: Int = ScoreboardUpdate.ECONOMY + ScoreboardUpdate.MOVE, val defaultMineDisplay: Component = Component.text("Spawn"))
The configuration for the scoreboard.
Author
MarkusTieger
Since
0.2.0
Parameters
title
The title of the sidebar
entries
The sidebar entries
update
When the scoreboard should update.
See also
Constructors
Link copied to clipboard
constructor(title: Component = Component.text("Dummy title", TextColor.color(255, 102, 0)), entries: List<ScoreboardEntry> = listOf(ScoreboardEntry("team0", Component.empty(), Component.empty(), "test", 0)), update: Int = ScoreboardUpdate.ECONOMY + ScoreboardUpdate.MOVE, defaultMineDisplay: Component = Component.text("Spawn"))