Using it

Widget settings

Settings every widget has, then the settings of each type.

KeyUsed byWhat it does
idallUnique name (a-z, 0-9, - and _).
typeallimage, bar, icons, text, lines, compass, feed or toast.
anchor, x, yallPosition, see above.
layerallDrawing order. Higher is drawn on top.
labelallName shown in the player's /hud settings menu.
toggleableallfalse keeps the widget out of the player menu. Default true.
temporaryalltrue hides the widget until the API shows it (showTemporaryWidget).
visibleallShow only when: permission (prefix ! to invert), world (list), gamemode (list), when (a condition).
src, frames, fpsimageOne image, or a list of frames cycled at fps frames per second.
scale, width, heightimage, bar, iconsScale factor, or an exact size in GUI units.
smoothimage, bar, iconsSmooth scaling. Off keeps hard pixels (default).
colorimage, bar, icons, textTint (#rrggbb or a name). White images keep their own colors.
background, fillbarImages of the frame and of the fill.
fill-x, fill-ybarWhere the fill sits inside the background.
value, maxbar, icons (value)Expressions with tokens, for example {health} and {max_health}.
stepsbarHow many fill positions (2 to 100). More steps = smoother, larger pack.
directionbarright, left, up or down: the side the fill grows from.
full, half, emptyiconsIcon images. Without half the full icon is used; without empty nothing is drawn.
count, per-icon, spacingiconsNumber of icons, points each one is worth, distance between icons.
reverse, show-emptyiconsFill from the right; draw empty icons (default true).
texttextMiniMessage text with tokens and placeholders.
lines, line-heightlinesA list of texts, one per line, and the distance between lines.
sizetext typesText size 1 to 4.
align, widthtext typesleft, center or right inside a fixed width.
shadowtext typesText shadow (default true).
spancompassDegrees shown across the width.
max-lines, growfeedLines shown, and up or down.
paneltext, lines, compass, feed, toastA background panel behind the widget, drawn by the plugin and sized to the widget width and its lines. It hides with the widget. Keys: style (solid, gradient, pixel, glow, ornate), color, opacity (0-255), border, border-width, radius, accent, pad-x, pad-y. pad-left adds extra room on the left (for a head or icon).
followallThe id of another widget. This widget is hidden when the player hides that one in /hud settings. A widget whose id ends in -bg follows the one before the suffix automatically.
head (type)headThe player's face (or player: Name), drawn from their skin as 64 colored squares so it can be any size. scale is the size of one skin pixel in GUI units (4 = a 32x32 head, 1-8), hat shows the second skin layer. Works on every supported version. Skins are downloaded once per player from textures.minecraft.net.
animallAn animation: type (blink on/off, sway left/right by amount units, rainbow tint, pulse tint towards color) and speed (cycles per second). Tints affect uncolored text, images and bars. Image frames animate separately.
lookbarA bar drawn by the plugin instead of PNGs: width, height, color, style (glass, neon, wood, ice, spooky, flat) and segments. Add vertical: true for an upright bar.