gui.yml
Running the bare command with no argument opens a paginated GUI listing every visible
code; clicking one redeems it. gui.yml controls its look.
title: "<dark_gray>Available codes (<page>/<pages>)"rows: 6filler: GRAY_STAINED_GLASS_PANEvoucher-material: PAPERvoucher-name: "<aqua><voucher>"voucher-lore: - "<gray>Click to redeem this code."previous-material: ARROWprevious-name: "<yellow>« Previous page"next-material: ARROWnext-name: "<yellow>Next page »"| Key | Meaning |
|---|---|
title |
Inventory title. Placeholders: <page>, <pages>. |
rows |
Inventory height, clamped to 2–6. The bottom row holds page navigation. |
filler |
Background material. Set NONE for no background. |
voucher-material |
The item each code is shown as. |
voucher-name |
Display name of a code item. Placeholders: <voucher>, <expires>. |
voucher-lore |
Lore lines of a code item. Same placeholders as voucher-name. |
previous-material / previous-name |
The “previous page” button. |
next-material / next-name |
The “next page” button. |
Placeholders
Section titled “Placeholders”| Placeholder | Where | Value |
|---|---|---|
<page> / <pages> |
title |
Current page / total pages. |
<voucher> |
voucher-name, voucher-lore |
The code name. |
<expires> |
voucher-name, voucher-lore |
Human-friendly remaining time, or never. |