-
Notifications
You must be signed in to change notification settings - Fork 0
Themes
Scoreboard holograms can be styled with named themes that restyle the header, player rows, and the "no data" line. Themes let you match your server brand without editing code.
Create a board with a theme:
/eh createscoreboard <id> <objective> [topCount] [interval] [theme]
Restyle an existing board (both arguments tab-complete):
/eh settheme <id> <theme>
When you create a board without naming a theme, the configured defaultTheme is applied so styling works out of the box.
The mod ships with these starter themes, all editable:
-
default- gold header, yellow ranks, green scores. -
ocean- cool blues. -
blood- warm reds. -
mono- clean greyscale. -
gold- gold and medal tones. -
rainbow- MiniMessage rainbow header with a gold gradient on ranks.
Themes live in config/eliteholograms/scoreboard_themes.json.
- The file is created on first run with inline help.
- It is never overwritten once it exists, so your edits are preserved.
- Delete it to restore the starter themes.
- A
defaultThemekey controls which theme new boards use when none is specified.
Run /eh reload to apply edits without a server restart. The theme name is saved with each board, so editing the file and reloading restyles every board using that theme.
Each theme defines format strings for the header, player rows, the optional time-based row, and the "no data" line.
Colors: Format strings accept both legacy & codes (e.g. &a, &6, &l) and MiniMessage tags such as <gradient:#FF0000:#00FF00>text</gradient> and <rainbow>text</rainbow>.
Tokens:
- Header:
{objective},{count}. - Player and time rows:
{rank},{player},{score},{time}.
A theme can define a separate timePlayer row for time-based objectives (playtime, etc.). If it is omitted, the standard player row is reused.
{
"defaultTheme": "default",
"themes": {
"myteam": {
"header": "&b&l{objective} &8- &7Top {count}",
"player": "&e{rank}. &f{player} &7- &a{score}",
"timePlayer": "&e{rank}. &f{player} &7- &a{time}",
"noData": "&7No data available"
}
}
}Add your own entries under themes, then run /eh reload and apply them with /eh settheme or /eh createscoreboard.
See also: Scoreboards and Formatting.
Feature Guides