Shop Menu
# How to Sell/Buy Vanilla Items in Menu
- Main Nodes
shopType node Shop type sell is selling buy is purchasing
shopMaterial node Shop selling/buying item material
shopMoney Money
shopPoint Points
shopCurrency Multi-currency price (1.4.2+)
# shopMoney Example (1.2.0+)
Requires money plugin Vault (opens new window)
'sell':
index: 38
name: ' &8[&cSell Items for Money&8]'
material: APPLE
lore:
- "&f- &7Click to sell items"
- "&f- &7Sell 64 apples for 100 money"
isEnchant: false
custom-model-data: 0
# Shop type sell is selling buy is purchasing
shopType: 'sell'
# Items to sell Format: material:quantity
shopMaterial: "APPLE:64"
# Shop money price
shopMoney: 100
commands:
- '[message] Successfully sold 64 apples for 100 money'
'buy':
index: 39
name: ' &8[&cBuy Items with Money&8]'
material: APPLE
lore:
- "&f- &7Click to buy items"
- "&f- &7100 money buys 64 apples"
isEnchant: false
custom-model-data: 0
# Shop type sell is selling buy is purchasing
shopType: 'buy'
# Items to sell Format: material:quantity
shopMaterial: "APPLE:64"
# Shop money price
shopMoney: 100
# shopPoint Example (1.2.0+)
Requires points plugin PlayerPoints (opens new window)3.0.0+
'sell1':
index: 40
name: ' &8[&cSell Items for Points&8]'
material: POTATO
lore:
- "&f- &7Click to sell items"
- "&f- &7Sell 64 potatoes for 100 points"
isEnchant: false
custom-model-data: 0
# Shop type sell is selling buy is purchasing
shopType: 'sell'
# Items to sell Format: material:quantity
shopMaterial: "POTATO:64"
# Shop points price
shopPoint: 100
'buy1':
index: 41
name: ' &8[&cBuy Items with Points&8]'
material: POTATO
lore:
- "&f- &7Click to purchase items"
- "&f- &7100 points buys 64 potatoes"
isEnchant: false
custom-model-data: 0
# Shop type sell is selling buy is purchasing
shopType: 'buy'
# Items to sell Format: material:quantity
shopMaterial: "POTATO:64"
# Shop points price
shopPoint: 100
# shopCurrency Example (1.4.2+)
Requires multi-currency plugin PlayerCurrency (opens new window)1.0.3+
'42':
index: 42
name: ' &8[&cBuy Items with Custom Currency&8]'
material: POTATO
lore:
- "&f- &7100 buys 1 potato"
isEnchant: false
custom-model-data: 0
# Shop type sell is selling buy is purchasing
shopType: 'buy'
# Items to sell Format: material:quantity
shopMaterial: "POTATO:1"
# Multi-currency price Type: price
shopCurrency: "money:100"
'43':
index: 43
name: ' &8[&cBuy Items with Custom Currency&8]'
material: POTATO
lore:
- "&f- &7Click to buy potatoes"
isEnchant: false
custom-model-data: 0
# Shop type sell is selling buy is purchasing
shopType: 'buy'
input: '[number] Please enter purchase quantity'
# Items to sell Format: material:quantity
shopMaterial: "POTATO:${input}"
# Multi-currency price Type: price
shopCurrency: "money:${input * 100}"