- Плагин
- Zmenu
- Ядро сервера
- Paper
- Версия сервера
- Другое
Добрый день. Ткните носом пожалуйста, почему не чего не происходит. Стандартный пример из документации.
YAML:
# Inventory name displayed in the title bar
name: "&6SHOP"
type: CHEST
# Inventory size (9, 18, 27, 36, 45, or 54)
size: 54
# Enable or disable this inventory
enable: true
items:
shop-sword:
slot: 13
type: NONE
item:
material: DIAMOND_SWORD
name: "&6&lDiamond Sword"
lore:
- "&8&m─────────────────"
- ""
- "&7Price: &a$500"
- "&7Your balance: &e$%vault_eco_balance%"
- ""
- "&8&m─────────────────"
- ""
- "&e▸ Click to purchase"
glow: true
click-requirement:
purchase:
clicks:
- ALL
requirements:
- type: placeholder
placeholder: "%vault_eco_balance%"
action: SUPERIOR_OR_EQUAL
value: 500
deny:
- type: message
messages:
- "&cYou need $500 to buy this!"
- type: sound
sound: ENTITY_VILLAGER_NO
success:
- type: currency-withdraw
amount: 500
- type: console-command
commands:
- "give %player% diamond_sword 1"
- type: message
messages:
- "&aPurchase successful!"
- type: sound
sound: ENTITY_PLAYER_LEVELUP
- type: close