Pages
Every page is a file in plugins/NovaUI/pages/. Edit them in the editor or by hand, then run
/novaui reload. A mistake gives a clear message such as
pages/hud.yml > title > size: 1000 is outside 8..512 (clamped).
description: "Shown in the editor's file list"
command: stats # /stats opens/closes this page (optional)
auto-open: true # open for every player on join
refresh: 20 # ticks between placeholder updates
visible-if: ["{message|}"]
bedrock: "<gold>Level {level}" # the line Bedrock players see (optional)
elements:
pill:
type: box # text, box, image, head, progress, group
anchor: center # left | center | right edge of the screen
x: -100
y: 16
width: 200
height: 48
color: "#0E1018"
opacity: 62
radius: 16
fit: label # optional: the box follows the width of "label"
padding: 18
label:
type: text
anchor: center
x: 0
y: 30
size: 24 # 8, 16, 24, 32, 40, 48, 64, 80, 96, 128
align: center
text: "<img:icon_gem> {%vault_eco_balance%|{coins|0}}"
The screen is a 1920x1080 canvas that scales with the player’s window. anchor decides which edge x is
measured from.
Values
- Built in:
{player},{health},{level},{exp},{exp_max},{world},{online},{date},{clock},{played}and more. - Your own variables:
{name}is set with/novaui varor the API. %placeholder%needs PlaceholderAPI.- Fallbacks:
{gems|0}shows 0 until gems is set;{%vault_eco_balance%|0}shows 0 without PlaceholderAPI or Vault.
Icons
NovaUI ships its own pixel icons: icon_hourglass, icon_gem, icon_trophy, icon_coins, icon_chevron, icon_star,
icon_wrench, icon_clock, icon_player, icon_shield, icon_pickaxe, icon_sun, icon_heart, icon_globe and the
logo_nova logo. Use them in text with <img:icon_gem>. White icons take a colour: <img:icon_clock:#C77DFF>.
Images
- Drop a PNG into
plugins/NovaUI/images/and the pack rebuilds by itself, or use/novaui image add <name> <link>. - Big images are cut into pieces automatically.
- Next to
logo.png, alogo.ymlcan setscales: [1, 2],frames: 4(frames stacked top to bottom) andframe-time: 5for an animated image.