Config:
Messages.yml:
Code:
shops:
Test Shop:
title: "&8Test Shop"
size: 27
permission: "blackmarket.shops.testshop"
cost: 1000
commands:
- "pex user %player% add %permission%"
displayItem:
slot: 13
material: STICK
data: 0
name: "&b&lTest Shop"
lore:
- ""
- "&7Test Shop!"
- "&eStatus: &f%status%"
- ""
items:
'1':
displayItem:
slot: 13
material: STICK
data: 0
name: "&b&l1x Stick"
lore:
- ""
- "&71x Stick"
- ""
cost: 1000
purchaseCommands:
- "give %player% Stick 1"
menuUtils:
confirmationMenu:
enabled: true
mainMenu:
name: "&8Main Menu"
size: 27
placeholders:
unlockedPlaceholder: "Unlocked"
lockedPlaceholder: "Locked"
unusedPanel:
material: STAINED_GLASS_PANE
data: 15
name: ""
lore:
- ""
sounds:
openMenu:
name: CHEST_OPEN
volume: 1.0
pitch: 1.0
closeMenu:
name: CHEST_CLOSE
volume: 1.0
pitch: 1.0
backMenu:
name: CHICKEN_EGG_POP
volume: 1.0
pitch: 1.0
openCategory:
name: LEVEL_UP
volume: 1.0
pitch: 1.0
openConfirmation:
name: LEVEL_UP
volume: 1.0
pitch: 1.0
successfulPurchase:
name: CHICKEN_EGG_POP
volume: 1.0
pitch: 1.0
failedPurchase:
name: CHICKEN_EGG_POP
volume: 1.0
pitch: 1.0
Code:
PREFIX: "&e&l[!] &e"
SUCCESSFUL-PURCHASE-ITEM: "You have successfully purchased this item."
RELOADED-CONFIG: "You have just reloaded the config. &7(%ping%ms)"
NO-PERMISSION: "You do not have permission to use this."
FAILED-PURCHASE: "You have failed to purchase this item."
FAILED-FURCHASE-CATEGORY: "You have failed to purchase this category."
CATEGORY-NOT-UNLOCKED: "You have not unlocked this category."
SUCCESSFUL-PURCHASE-CATEGORY: "You have successfully purchased this category."