The New Order screen is configured in plugins/StrawOrder/gui/NewOrderGUI.yml.
Opening this screen
Start with /order (Browse, create and fulfill buy orders.). The package does not specify a separate direct command for this individual screen. Its configured controls are listed below.
Controls
| Control | Slot | Player hint | Configured action |
|---|---|---|---|
| ᴄᴀɴᴄᴇʟ | 10 | Click to return | cancel |
| ɪᴛᴇᴍ | 12 | Click to choose the item · (%item%) | item |
| ᴀᴍᴏᴜɴᴛ | 13 | Click to type amount of items · (%amount%) | amount |
| ᴘʀɪᴄᴇ | 14 | Click to type the price per item · (%price%) | price |
| ᴄᴏɴꜰɪʀᴍ | 16 | Click to confirm order · (Total: %total%) | confirm |
Customize the screen
Edit the fields present in this file, such as title, rows, material, name, lore and slot. Keep placeholder tokens and action values intact unless you intend to change their behavior.
Save your changes, then run /straworder reload. Check Permissions for feature access.
plugins/StrawOrder/gui
NewOrderGUI.yml← Open this file
Full configuration reference
gui/NewOrderGUI.yml
title: '&8ᴏʀᴅᴇʀꜱ -> ɴᴇᴡ ᴏʀᴅᴇʀ'
rows: 3
items:
back:
material: RED_STAINED_GLASS_PANE
slot: 10
name: '&#fc0404ᴄᴀɴᴄᴇʟ'
lore:
- '&fClick to return'
action: cancel
item:
material: STONE
slot: 12
name: '�fc88ɪᴛᴇᴍ'
lore:
- '&fClick to choose the item'
- '&7(%item%)'
action: item
amount:
material: CHEST
slot: 13
name: '�fc88ᴀᴍᴏᴜɴᴛ'
lore:
- '&fClick to type amount of items'
- '&7(%amount%)'
action: amount
price:
material: EMERALD
slot: 14
name: '�fc88ᴘʀɪᴄᴇ'
lore:
- '&fClick to type the price per item'
- '&7(%price%)'
action: price
confirm:
material: LIME_STAINED_GLASS_PANE
slot: 16
name: 'fc04ᴄᴏɴꜰɪʀᴍ'
lore:
- '&fClick to confirm order'
- '&7(Total: %total%)'
action: confirm