The web editor
The editor is on by default (web.enabled: true; after changing it, /hud reload starts or stops it). Run /hud editor in game or in the console. You get a one-time link (valid web.link-minutes minutes). Opening it starts a session that ends after web.session-minutes without activity.
What you can do#
- Add widgets from the palette (health and hunger bars, armor, air, image, animated image, text, coordinates, ping/TPS, clock, money, HyperCredits+ balance, compass, quest tracker, status feed, toast).
- Drag to move, drag the corner handle of images and bars to resize, arrow keys to nudge (Shift = 8), Ctrl+D duplicate, Delete remove, Ctrl+Z / Ctrl+Y undo and redo (100 steps), Ctrl+S save.
- Snap to a grid of 1, 2, 4 or 8 units, snap to the center line, align buttons, layer order list.
- Screen preview for the ten screen presets, over a choice of backdrops (day, dusk, night, cave, snow, grey).
- Settings panel per widget: text, colors, sizes, animation frames, anchor, visibility conditions, a placeholder picker listing the built-in tokens and your PlaceholderAPI expansions.
- Images: upload PNGs (checked for type and size, optionally sliced into columns and rows for animation frames).
- Theme tools under More: theme settings and hidden vanilla parts, new layout, copy a theme, default theme, export and import .zip, delete, roll back.
A small ! on a widget means its vertical position depends on the screen height (see Limits).
Save, preview, publish#
- Save writes
layout.yml(orlayouts/NAME.yml). The file is rewritten by the editor; comments you added by hand are replaced by a standard header. - Preview on me builds a draft pack from the theme folder and sends it only to you. It needs the editor link to have been created by
/hud editortyped in game, and you online. Preview off removes it. - Publish saves, rebuilds every theme with a progress bar and pushes the packs. It is the same as
/hud publish.
Everything the editor can do can be done in the files, and the editor reads and writes the same files. If you edit a file while the editor is open, reload the editor page before saving.
Pages#
- Dashboard: themes, players online, pack and editor status, last build, hooks, and Publish / Roll back.
- Themes: cards for every theme with Published, Draft and Default badges. New (blank or a copy), Import, and per theme Edit, Duplicate, Default, Export and Delete, plus the theme settings (name, author, permission, hidden vanilla parts).
- Editor: pick a theme in the sidebar list (the + creates one, the x deletes one). Add widget and Layers panels on the left, the inspector on the right.
- Images: thumbnails, upload and delete.
- Publish: build progress and problems, the live packs with size and hash, roll back.
- Settings: the config.yml options (HUD, default theme, pack hosting, web editor, updates) and layout rules per world or permission.
The Backdrop menu changes the scene behind the preview (day, dusk, night, cave, snow, grey) to judge contrast.
Widget library#
The Library tab in the editor has 60+ ready-made widgets you drag onto the preview or click to add: text and placeholder text, player head, chip and card, stats list, drawn bars (no PNGs needed), compass, coordinates, clock, alerts, toast, feed, quest tracker and one chip for every built-in placeholder. They take the look of the current theme.