Shop Entries
"entries": { "dirt": { "type": "ITEM", "slot": 0, "page": [ 1 ], "item": "minecraft:dirt", "buy": { "price": 1, "economy": "IMPACTOR", "currency": "impactor:dollars" }, "sell": { "price": 1, "economy": "IMPACTOR", "currency": "impactor:dollars" }, "entry_lore": [], "click_options": {} }, "command_example": { "type": "COMMAND", "slot": 2, "page": [ 1 ], "item": "minecraft:dirt", "buy": { "price": 1, "economy": "IMPACTOR", "currency": "impactor:dollars" } }, "example_boots": { "type": "PRESET" }}Entry Options
Section titled “Entry Options”Type (required)
Section titled “Type (required)”The type of shop entry that this is. A list of types can be found in Entry Types.
"type": "ITEM"Display (required)
Section titled “Display (required)”The item used to represent the reward in the GUI. If ITEM type, this does not affect the item given to/taken from the player.
"display": { "item": "minecraft:diamond", "name": "<aqua>Diamond", "lore": [ "<gray>This is a special diamond!" ]}Aliases:
slot
A list of slots that this item will be inserted into. This value should be between 0 and the max slots in the GUI type used. If empty, an available open slot will automatically be found. If no slot is found, the item will not be included. Defaults to an empty list if not provided.
"slots": [0, 1, 7, 8]Aliases:
page
A list of pages that this item will be placed into at the slot specified. The first page is 1. Defaults to [1] if not provided.
"pages": [1, 2]Options for buying this item. If not defined, this entry cannot be bought.
"buy": { "price": 1, "economy": "IMPACTOR", "currency": "impactor:dollars", "name": "Dollars", "max_amount": 128, "requirements": {}}Options for selling this item. If not defined, this entry cannot be bought. Some types may not support this option.
"sell": { "price": 1, "economy": "IMPACTOR", "currency": "impactor:dollars", "name": "Dollars", "max_amount": 128, "requirements": {}}Entry Lore (optional)
Section titled “Entry Lore (optional)”Override the lore for this specific Shop Entry. See Entry Lore for more information on Shop Entry Lore configuration.
"entry_lore": [ "%display_item_lore%", "", "<green><b>Buy Price:</b> <white>%buy_price% %buy_price_currency%", "<red><b>Sell Price:</b> <white>%sell_price% %sell_price_currency%", "", "<red>Left-Click to buy this item", "<red>Right-Click to sell this item"]Click Options (optional)
Section titled “Click Options (optional)”Override the click behavior of this specific Shop Entry. See Click Options for more information on Shop Click Options configuration.
"click_options": { "ANY_CLICK": { "type": "OPEN_CONFIRM_MENU", "sound": { "id": "minecraft:ui.button.click", "source": "MASTER", "volume": 0.5, "pitch": 1.0 }, "transactions": [ "buy" ], "menu": "example_buy" }}