πShop System
Overview
Creating a Shop
Basic Shop Structure
# shops/blocks.yml
# Shop category settings
name: '&2&lBlocks Shop'
size: 54 # Inventory size in slots (9, 18, 27, 36, 45, or 54)
category_display_item: GRASS_BLOCK # Icon shown in main menu
lore:
- ''
- '&aβΌ &fOpen the Blocks shop'
- ''
# Shop items
items:
dirt1:
itemType: ITEM
display_item:
type: DIRT
amount: 1
slot: 10
show: true
item:
type: DIRT
amount: 1
shop:
ecoType: VAULT
buyPrice: 10.0
sellPrice: 5.0Item Configuration
Basic Sellable Item
Item with Custom Display Name and Lore
Item Types
itemType
Description
Economy Types
EcoType
Description
Example
Using EXP as Currency
Using Items as Currency
Navigation Buttons
Opening Other Shop Categories
Button Actions
Action
Description
Navigation with Player Heads
Filler Items (Decorations)
Click Actions
Available GUI Actions
Action
Description
Multi-Page Shops
Preview System
Search Function
Complete Shop Example
Tips & Best Practices
Related Features
Last updated