Skip to main content

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.

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
KeyDescription
gui-slots.<button>Slot number (short form)
gui-slots.<button>.slotSlot number, 36-53 or -1
gui-slots.<button>.materialBukkit material name; invalid names fall back to the default
Button idDefault slotDefault iconMenu
prev-page36ARROWboth
next-page44ARROWboth
sort45HOPPERboth
statistics46GOLD_INGOTboth (icon only configurable in orders)
refresh48EMERALDboth
close53BARRIERboth
my-orders47PLAYER_HEADorders
create-order49GREEN_CONCRETEorders
my-items47BOOKauction (My Listings)
list-item49GREEN_CONCRETEauction

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.

KeyDefault (orders / auction)Description
background.materialBLACK_STAINED_GLASS_PANEFiller for empty slots
info-slot4 / -Info book (orders only)
item-slot13 / -Click to choose the item to order (orders only)
item-slot-materialITEM_FRAME / -Shown in item-slot until an item is picked
enchantment-slot22 / -Enchantment requirements button (orders only)
preview-slot- / 4Item being listed (auction only)
currency-slot- / 22Currency selection (auction only)
price.display-slot31 / 13Current price
price.display-materialGOLD_INGOTPrice icon
buttons.confirm.slot40 / 31Confirm button
buttons.confirm.materialLIME_CONCRETEConfirm icon
buttons.confirm.material-disabledGRAY_CONCRETEIcon when the order or listing is not ready
buttons.cancel.slot36 / 27Cancel button
buttons.cancel.materialRED_CONCRETE / BARRIERCancel icon

Every step button has the same four keys:

KeyDescription
<group>.<button>.slotSlot number
<group>.<button>.stepAmount added or removed per click
<group>.<button>.materialIcon while clickable (red panes to decrease, lime panes to increase)
<group>.<button>.material-disabledIcon at the limit (GRAY_STAINED_GLASS_PANE)
GroupButton idsDefault stepsDefault slots (orders / auction)
quantity (orders only)decrease-big, decrease-mid, decrease-small, increase-small, increase-mid, increase-big500, 100, 1, 1, 100, 50010-12, 14-16
pricesame six ids100, 10, 1, 1, 10, 10028-30, 32-34 / 9-11, 15-17