ItemsAdder

ItemsAdder is optional. When its API is available, CustomMenu can resolve Font Images inside menu text.

Supported syntax

text
<ia:namespace:glyph_id>
<itemsadder:namespace:glyph_id>

# Regular ItemsAdder placeholders are also processed:
:glyph_id:

Example button

yaml
buttons:
  shop:
    label: "<ia:server:shop_icon> <green>Shop</green>"
    tooltip: "<gray>Open the shop</gray>"
    actions:
      - "player: shop"
Bootstrap timing
Pause-menu and quick-action dialogs are registered during Paper bootstrap. If an external glyph provider has not finished generating/loading its glyph data that early, use native sprite/font components for boot-registered labels or restart after the provider data is ready. Runtime/inline menus can be refreshed with /custommenu reload.