Themes
The theme is one setting: theme: neon in config.yml. Change it there, with /mchub theme (name), or in /mchub admin > Themes. Changes show at once, with no restart.
| Theme | Look |
|---|---|
neon | Cyan and magenta |
royal | Gold and violet |
frost | Ice blue and white |
forest | Leaf green and amber |
ember | Red and orange, with a different title font |
A theme sets the colors, the title font, the symbols, the join item and menu materials, the boss bar color and style, the particles and the sounds. Texts in lang.yml and config.yml use these tags, so one text is restyled by every theme:
| Tag | Is |
|---|---|
<primary>, <accent>, <muted>, <text> | The theme's four colors |
<tfont> | The theme's title font (nothing when the theme uses the normal font) |
<bullet>, <arrow>, <line>, <sline> | The theme's symbols: a bullet, an arrow, a long divider and a short divider |
Your own theme#
Copy a block in themes.yml, give it a new id and change the values, then set theme: to the id and run /mchub reload.
themes:
mine:
name: "Mine"
description: "My brand."
pack-style: neon # borrow a shipped theme's resource pack art
colors: {primary: "#00E5FF", accent: "#FF3DCB", muted: "#8A8FA8", text: "#F2F4FF"}
title-font: "" # e.g. minecraft:uniform
symbols: {bullet: "▪", arrow: "»", line: "━━━━━━━━━━━━━━"}
menu: {filler: BLACK_STAINED_GLASS_PANE, border: CYAN_STAINED_GLASS_PANE, icon: CYAN_CONCRETE}
icons: {selector: COMPASS, profile: PLAYER_HEAD, cosmetics: ENDER_CHEST, settings: COMPARATOR, players-shown: LIME_DYE, players-hidden: GRAY_DYE}
bossbar: {color: PINK, style: PROGRESS}
particles: {double-jump: CLOUD, launch: FIREWORK, boost: ELECTRIC_SPARK, portal: END_ROD}
sounds:
join: "entity.player.levelup 0.6 1.4"
A sound entry is sound.key volume pitch. The keys are join, menu-open, menu-click, item-use, connect, spawn, double-jump, launch, boost and portal. In config.yml under sounds, theme uses the theme's sound, blank is silent, and anything else replaces it.