Aller au contenu principal

Purchase Inventory Confirm

The bulk purchase confirmation inventory confirms purchase of multiple items (bulk sales). It shows all items in the sale with a preview before purchase.

File: plugins/zAuctionHouse/inventories/confirms/purchase-inventory-confirm.yml

Access: Automatically opens when clicking a bulk item to buy (indicated by a chest icon)

Description

Features

  • Preview all items in the bulk sale
  • View shulker contents (if applicable)
  • Single click to confirm purchase of all items

Default Configuration

name: "#0c1719Purchase these items ?"
size: 54

patterns:
- 'zauctionhouse-decoration'

items:

item-content:
type: ZAUCTIONHOUSE_ITEM_CONTENT
slots:
- 9-44

confirm:
type: ZAUCTIONHOUSE_CONFIRM_PURCHASE
slots:
- 46-48
item:
material: GREEN_STAINED_GLASS_PANE
name: "#2CCED2<bold>ᴘᴜʀᴄʜᴀsᴇ"
lore:
- "#92ffffPurchase this item."
- ""
- "#8c8c8c• #2CCED2Click #92ffffto purchase"

deny:
type: BACK
slots:
- 50-52
item:
material: RED_STAINED_GLASS_PANE
name: "#2CCED2<bold>ʙᴀᴄᴋ"
lore:
- "#92ffffGo back."
- ""
- "#8c8c8c• #2CCED2Click #92ffffto go back"

shulker:
type: ZAUCTIONHOUSE_SHULKER_OPEN
slot: 49
item:
material: SHULKER_BOX
name: "#2CCED2<bold>ᴠɪᴇᴡ sʜᴜʟᴋᴇʀ ᴄᴏɴᴛᴇɴᴛ"
lore:
- "#92ffffView the content of shulker boxes."
- ""
- "#8c8c8c• #2CCED2Click #92ffffto view content"

Buttons Used

ButtonTypeDescription
item-contentZAUCTIONHOUSE_ITEM_CONTENTDisplays all items in the bulk sale
confirmZAUCTIONHOUSE_CONFIRM_PURCHASEConfirms purchase of all items
denyBACKReturns to auction
shulkerZAUCTIONHOUSE_SHULKER_OPENOpens shulker preview

Difference from Single Item Confirm

FeatureSingle ItemBulk Items
Inventorypurchase-confirm.ymlpurchase-inventory-confirm.yml
Size27 slots (3 rows)54 slots (6 rows)
Item displaySingle item in centerAll items in 36-slot grid
Button typeZAUCTIONHOUSE_SHOWZAUCTIONHOUSE_ITEM_CONTENT
Copyright © 2026 GroupeZ|Build #loading...|-