UI themes
Each theme is a folder in plugins/mcStyles/themes/<id>/ with a theme.yml and images. An image named after a target in targets.yml (for example hotbar.png, chest.png, inventory.png) is put in that place of the pack. Other files go in the theme's pack/ folder, or are placed with placement in theme.yml.
name: "<#A78BFA>&lSapphire Night"
icon: LAPIS_LAZULI
order: 0
price: 0
permission: "brand.theme.sapphire"
description:
- "<#FFF8E7>Deep blue menus under a sky"
- "<#FFF8E7>of twinkling stars."targets.yml lists where every image goes (menus and every block screen, the inventory, hotbar, hearts, bars, buttons, tooltips, the pause menu and more). Add your own targets there.
How the pack reaches players#
| pack.mode | What happens |
|---|---|
| self | mcStyles serves the packs itself: a base pack with the glyphs to everyone, and a theme's pack only to players wearing it. |
| nexo | Themes become Nexo multipack templates and glyphs become Nexo glyphs; Nexo sends one pack. |
| none | No packs: colors and tags only. |
pack:
mode: self
self:
port: 8164
bind: "0.0.0.0"
# auto: each player downloads from the address they joined with (works on a home PC, a host or a domain).
# Or a fixed address, e.g. "http://play.myserver.net:{port}" (needed behind a proxy or a different web host).
url: "auto"