Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- include required(file("./plugins/AbstractMenus/menus/templates.conf"))
- title: "&8Shop"
- size: 6
- activators {
- command: "aunt-pitunya-shop"
- }
- items: [
- ${OAK_SAPLING_NO_MONEY},
- ${OAK_SAPLING},
- ${balanceIcon1},
- ${backButton1},
- ${closeButton},
- ${backButton2},
- ]
- "OAK_SAPLING" = {
- cost: 3
- rules {
- money: ${OAK_SAPLING.cost}
- }
- slot: "1, 2"
- material: OAK_SAPLING
- name: "&foak sapling"
- lore: [
- "&aCost: &e"${OAK_SAPLING.cost}
- ""
- ${clickToBuy}
- ]
- click {
- rules {
- money: ${OAK_SAPLING.cost}
- }
- denyActions: ${balanceNotEnough}
- actions: {
- itemAdd: {
- material: OAK_SAPLING
- }
- takeMoney: ${OAK_SAPLING.cost}
- refreshMenu: true
- sound: ${successSound}
- }
- }
- }
- "OAK_SAPLING_NO_MONEY" = {
- slot: ${OAK_SAPLING.slot}
- material: GRAY_DYE
- name: ${OAK_SAPLING.name}
- lore: [
- "&cNot enough money!"
- ""
- "&aCost: &e"${OAK_SAPLING.cost}
- ]
- click: ${balanceNotEnough}
- }
- balanceIcon1 = ${balanceIcon} {
- slot: "5,5"
- }
- backButton1 = ${backButton} {
- slot: "4,"${size}
- click {openMenu: "shop"}
- }
- backButton2 = ${backButton} {
- slot: "6,"${size}
- click {openMenu: "shop"}
- }
- closeButton = ${closeButton} {slot: "5,"${size}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement