Menus (gui/*.yml)
The gui/ folder sets button slots and icon materials. Button names and lore are in the lang files, sounds are in gui.open-sound / gui.click-sound of config-orders.yml and config-auction.yml. Apply changes with /orders reload or /auction reload.
Main menus (orders.yml, auction.yml)
Both are 54-slot menus. Buttons sit under gui-slots and must use the bottom two rows (slots 36-53). A slot outside that range is ignored (a warning is logged and the default slot is used). Set a slot to -1 to hide the button.
gui-slots:
prev-page: 36 # slot only, default icon
next-page:
slot: 44
material: SPECTRAL_ARROW # slot and icon
| Key | Description |
|---|---|
gui-slots.<button> | Slot number (short form) |
gui-slots.<button>.slot | Slot number, 36-53 or -1 |
gui-slots.<button>.material | Bukkit material name; invalid names fall back to the default |
| Button id | Default slot | Default icon | Menu |
|---|---|---|---|
prev-page | 36 | ARROW | both |
next-page | 44 | ARROW | both |
sort | 45 | HOPPER | both |
statistics | 46 | GOLD_INGOT | both (icon only configurable in orders) |
refresh | 48 | EMERALD | both |
close | 53 | BARRIER | both |
my-orders | 47 | PLAYER_HEAD | orders |
create-order | 49 | GREEN_CONCRETE | orders |
my-items | 47 | BOOK | auction (My Listings) |
list-item | 49 | GREEN_CONCRETE | auction |
Create menus (orders-create.yml, auction-create.yml)
The Create Order menu has 45 slots, the Create Listing menu 36 slots. Step buttons change the quantity or price by step; material-disabled is shown when the button is at its limit.
| Key | Default (orders / auction) | Description |
|---|---|---|
background.material | BLACK_STAINED_GLASS_PANE | Filler for empty slots |
info-slot | 4 / - | Info book (orders only) |
item-slot | 13 / - | Click to choose the item to order (orders only) |
item-slot-material | ITEM_FRAME / - | Shown in item-slot until an item is picked |
enchantment-slot | 22 / - | Enchantment requirements button (orders only) |
preview-slot | - / 4 | Item being listed (auction only) |
currency-slot | - / 22 | Currency selection (auction only) |
price.display-slot | 31 / 13 | Current price |
price.display-material | GOLD_INGOT | Price icon |
buttons.confirm.slot | 40 / 31 | Confirm button |
buttons.confirm.material | LIME_CONCRETE | Confirm icon |
buttons.confirm.material-disabled | GRAY_CONCRETE | Icon when the order or listing is not ready |
buttons.cancel.slot | 36 / 27 | Cancel button |
buttons.cancel.material | RED_CONCRETE / BARRIER | Cancel icon |
Every step button has the same four keys:
| Key | Description |
|---|---|
<group>.<button>.slot | Slot number |
<group>.<button>.step | Amount added or removed per click |
<group>.<button>.material | Icon while clickable (red panes to decrease, lime panes to increase) |
<group>.<button>.material-disabled | Icon at the limit (GRAY_STAINED_GLASS_PANE) |
| Group | Button ids | Default steps | Default slots (orders / auction) |
|---|---|---|---|
quantity (orders only) | decrease-big, decrease-mid, decrease-small, increase-small, increase-mid, increase-big | 500, 100, 1, 1, 100, 500 | 10-12, 14-16 |
price | same six ids | 100, 10, 1, 1, 10, 100 | 28-30, 32-34 / 9-11, 15-17 |