Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # Multiples Shop | Vinixs and BreakfastDeliqht
- #
- options:
- Price1: &7&m----------||&aPrice
- Price2: ||&7&m----------
- Nef: &cError: %nl%&7Not enough funds.
- command /shop:
- permission: rank.default
- trigger:
- wait 5 ticks
- open chest with 3 rows named "&c&lSkyblocks Shop" to player
- format slot 10 of player with plain_glass_block named "&f&lGlass" to close then run [make player execute command "/glass"]
- format slot 12 of player with 296 named "&a&lFarming" to close then run [make player execute command "/farming"]
- format slot 14 of player with redstone named "&c&lRedstone" to close then run [make player execute command "/redstone"]
- format slot 16 of player with stone named "&7&lBlocks" to close then run [make player execute command "/blocks"]
- #
- # Blocks
- #
- command /blocks:
- permission: rank.default
- trigger:
- wait 5 ticks
- open chest with 4 rows named "&7&lBlocks" to player
- format slot 0 of player with grass named "&aGrass" with lore "&7&m----------||&aPrice: $50||&7&m----------" to close then run [make player execute command "/buygrass"]
- format slot 1 of player with cobble_stone named "&aCobblestone" with lore "&7&m----------||&aPrice: $50||&7&m----------" to close then run [make player execute command "/buycobblestone"]
- format slot 2 of player with SMOOTH_STONE_BRICK named "&aStonebrick" with lore "&7&m----------||&aPrice: $50||&7&m----------" to close then run [make player execute command "/buystonebrick"]
- format slot 3 of player with sand named "&aSand" with lore "&7&m----------||&aPrice: $50||&7&m----------" to close then run [make player execute command "/buysand"]
- format slot 4 of player with diamond block named "&aDiamond Block" with lore "{@Price1}: $300 {@Price2}" to close then run [make player execute command "/buydb"]
- format slot 5 of player with iron block named "&aIron Block" with lore "{@Price1}: $220 {@Price2}" to close then run [make player execute command "/buyib"]
- format slot 6 of player with gold block named "&aGolden Block" with lore "{@Price1}: $110 {@Price2}" to close then run [make player execute command "/buygb"]
- format slot 7 of player with log named "&aWood" with lore "{@Price1}: $220 {@Price2}" to close then run [make player execute command "/buylog"]
- format slot 27 of player with barrier named "&c&lBack" to close then run [make player execute command "/shop"]
- #
- # ---------------------------
- #
- command /buygrass:
- permission: rank.default
- trigger:
- if player's balance >= 50:
- subtract 50 from player's balance
- give player 1 grass
- send "&aSuccess:"
- send "&7Bought x1 Grass."
- if player's balance < 50:
- send "&cError:"
- send "&7Not enough funds."
- command /buydb:
- permission: rank.default
- trigger:
- if player's balance >= 300:
- subtract 300 from player's balance
- give player 1 diamond block
- send "&aSuccess:"
- send "&7Bought x1 Diamond Block."
- if player's balance < 300:
- send "&cError:"
- send "&7Not enough funds."
- command /buyib:
- permission: rank.default
- trigger:
- if player's balance >= 220:
- subtract 220 from player's balance
- give player 1 iron block
- send "&aSuccess:"
- send "&7Bought x1 Iron Block."
- if player's balance < 220:
- send "&cError:"
- send "&7Not enough funds."
- command /buygb:
- permission: rank.default
- trigger:
- if player's balance >= 110:
- subtract 110 from player's balance
- give player 1 gold block
- send "&aSuccess:"
- send "&7Bought x1 Gold Block."
- if player's balance < 110:
- send "&cError:"
- send "&7Not enough funds."
- command /buylog:
- permission: rank.default
- trigger:
- if player's balance >= 220:
- subtract 220 from player's balance
- give player 1 log
- send "&aSuccess:"
- send "&7Bought x1 Grass."
- if player's balance < 220:
- send "&cError:"
- send "&7Not enough funds."
- command /buycobblestone:
- permission: rank.default
- trigger:
- if player's balance >= 50:
- subtract 50 from player's balance
- give player 1 4
- send "&aSuccess:"
- send "&7Bought x1 Cobblestone."
- if player's balance < 50:
- send "&cError:"
- send "&7Not enough funds."
- command /buystonebrick:
- permission: rank.default
- trigger:
- if player's balance >= 50:
- subtract 50 from player's balance
- give player 1 98
- send "&aSuccess:"
- send "&7Bought x1 Stone Brick."
- if player's balance < 50:
- send "{@Nef}"
- command /buysand:
- permission: rank.default
- trigger:
- if player's balance >= 50:
- subtract 50 from player's balance
- give player 1 sand
- send "&aSuccess:"
- send "&7Bought x1 Sand."
- if player's balance < 50:
- send "{@Nef}"
- #
- # ---------------------------
- #
- #
- # Redstone
- #
- command /redstone:
- permission: rank.default
- trigger:
- wait 5 ticks
- open chest with 4 rows named "&7&lRedstone" to player
- format slot 0 of player with redstone block named "&aRedstone Block" with lore "{@Price1}: $360 {@Price2}" to close then run [make player execute command "/buyredstoneblock"]
- format slot 1 of player with redstone named "&aRedstone" with lore "{@Price1}: $40 {@Price2}" to close then run [make player execute command "/buyredstone"
- format slot 2 of player with redstone_torch_on named "&aRedstone Torch" with lore "{@Price1}: $30 {@Price2}" to close then run [make player execute command "/buyredstonetorch"]
- format slot 3 of player with redstone_repeater_item named "&aRepeater" with lore "{@Price1}: $100 {@Price2}" to close then run [make player execute command "/buyrepeater"]
- format slot 4 of player with redstone_comparator_item named "&aComparator" with lore "{@Price1}: $100 {@Price2}" to close then run [make player execute command "/buycomparator"]
- format slot 5 of player with hopper named "&aHopper" with lore "{@Price1}: $2000 {@Price2}" to close then run [make player execute command "/buyhopper"]
- format slot 6 of player with dropper named "&aDropper" with lore "{@Price1}: $300 {@Price2}" to close then run [make player execute command "/buydropper"]
- format slot 7 of player with dispenser named "&aDispenser" with lore "{@Price1}: $500 {@Price2}" to close then run [make player execute command "/buydispenser"]
- format slot 8 of player with observer named "&aObserver" with lore "{@Price1}: $800 {@Price2}" to close then run [make player execute command "/buyobserver"
- format slot 9 of player with sticky_piston_base named "&aSticky Piston" with lore "{@Price1}: $1000 {@Price2}" to close then run [make player execute command "/buystickypiston"]
- format slot 10 of player with piston_base named "&aPiston" with lore "{@Price1}: $500 {@Price2}" to close then run [make player execute command "/buypiston"]
- format slot 11 of player with 123 named "&aRedstone Lamp" with lore "{@Price1}: $750 {@Price2}" to close then run [make player execute command "/buyredstonelamp"]
- format slot 12 of player with tripwire hook named "&aTripwire Hook" with lore "{@Price1}: $300 {@Price2}" to close then run [make player execute command "/buytripwirehook"]
- format slot 13 of player with stone button named "&aStone Button" with lore "{@Price1}: $25 {@Price2}" to close then run [make player execute command "/buystonebutton"]
- format slot 14 of player with wooden button named "&aWooden Button" with lore "{@Price1}: $10 {@Price2}" to close then run [make player execute command "/buywoodenbutton"]
- format slot 15 of player with lever named "&aLever" with lore "{@Price1}: $50 {@Price2}" to close then run [make player execute command "/buylever"]
- format slot 16 of player with stone pressure plate named "&aStone Pressure Plate" with lore "{@Price1}: $75 {@Price2}" to close then run [make player execute command "/buystonepressureplate"]
- format slot 17 of player with wooden pressure plate named "&aWooden Pressure Plate" with lore "{@Price1}: $50 {@Price2}" to close then run [make player execute command "/buywoodenpressureplate"]
- format slot 27 of player with barrier named "&c&lBack" to close then run [make player execute command "/shop"
- #
- # ---------------------------
- #
- command /buyredstoneblock:
- permission: rank.default
- trigger:
- if player's balance >= 360:
- subtract 360 from player's balance
- give player 1 152
- send "&aSuccess:"
- send "&7Bought x1 Redstone Block."
- if player's balance < 360:
- send "{@Nef}"
- command /buyredstone:
- permission: rank.default
- trigger:
- if player's balance >= 40:
- subtract 40 from player's balance
- give player 1 redstone
- send "&aSuccess:"
- send "&7Bought x1 Redstone."
- if player's balance < 40:
- send "{@Nef}"
- command /buyredstonetorch:
- permission: rank.default
- trigger:
- if player's balance >= 30:
- subtract 30 from player's balance
- give player 1 76
- send "&aSuccess"
- send "&7Bought x1 Redstone Torch."
- if player's balance < 30:
- send "{@Nef}"
- command /buyrepeater:
- permission: rank.default
- trigger:
- if player's balance >= 100:
- subtract 100 from player's balance
- give player 1 356
- send "&aSuccess:"
- send "&7Bought x1 Repeater."
- if player's balance < 100:
- send "{@Nef}"
- command /buycomparator:
- permission: rank.default
- trigger:
- if player's balance >= 100:
- subtract 100 from player's balance
- give player 1 404
- send "&aSuccess:"
- send "&7Bought x1 Comparator."
- if player's balance < 100:
- send "{@Nef}"
- command /buyhopper:
- permission: rank.default
- trigger:
- if player's balance >= 2000:
- subtract 2000 from player's balance
- give player 1 hopper
- send "&aSuccess"
- send "&7Bought x1 Hopper."
- if player's balance < 2000:
- send "{@Nef}"
- command /buydropper:
- permission: rank.default
- trigger:
- if player's balance >= 300:
- subtract 300 from player's balance
- give player 1 dropper
- send "&aSuccess:"
- send "&7Bought x1 Dropper."
- if player's balance < 300:
- send "{@Nef}"
- command /buydispenser:
- permission: rank.default
- trigger:
- if player's balance >= 500:
- subtract 500 from player's balance
- give player 1 dispenser
- send "&aSuccess:"
- send "&7Bought x1 Dispenser."
- if player's balance < 500:
- send "{@Nef}"
- command /buystickypiston:
- permission: rank.default
- trigger:
- if player's balance >= 1000:
- subtract 1000 from player's balance
- give player 1 29
- send "&aSuccess:"
- send "&7Bought x1 Sticky Piston"
- if player's balance < 1000:
- send "{@Nef}"
- #
- # ---------------------------
- #
- #
- # Glass
- #
- command /glass:
- permission: rank.default
- trigger:
- wait 5 ticks
- open chest with 4 rows named "&7&lGlass" to player
- format slot 0 of player with 95 named "&aWhite Glass" with lore "{@Price1}: $65 {@Price2}" to close then run [make player execute command "/buywhiteglass"]
- format slot 1 of player with 95:11 named "&aBlue Glass" with lore "{@Price1}: $65 {@Price2}" to close then run [make player execute command "/buyblueglass"]
- format slot 2 of player with 20 named "&aClear Glass" with lore "{@Price1}: $65 {@Price2}" to close then run [make player execute command "/buyglass"]
- format slot 3 of player with 95:5 named "&aLime Glass" with lore "{@Price1}: $65 {@Price2}" to close then run [make player execute command "/buylimeglass"]
- format slot 4 of player with 95:13 named "&aGreen Glass" with lore "{@Price1}: $65 {@Price2}" to close then run [make player execute command "/buygreenglass"]
- format slot 5 of player with 95:2 named "&aMagenta Glass" with lore "{@Price1}: $65 {@Price2}" to close then run [make player execute command "/buymagentaglass"]
- format slot 6 of player with 95:10 named "&aPurple Glass" with lore "{@Price1}: $65 {@Price2}" to close then run [make player execute command "/buypurpleglass"]
- format slot 7 of player with 95:15 named "&aBlack Glass" with lore "{@Price1}: $65 {@Price2}" to close then run [make player execute command "/buyblackglass"]
- format slot 8 of player with 95:4 named "&aYellow Glass" with lore "{@Price1}: $65 {@Price2}" to close then run [make player execute command "/buyyellowglass"]
- format slot 9 of player with 95:3 named "&aAqua Glass" with lore "{@Price1}: $65 {@Price2}" to close then run [make player execute command "/buyaquaglass"]
- format slot 27 of player with barrier named "&c&lBack" to close then run [make player execute command "/shop"]
- #
- # ---------------------------
- #
- command /buywhiteglass:
- permission: rank.default
- trigger:
- if player's balance >= 65:
- subtract 65 from player's balance
- give player 1 95
- send "&aSuccess:"
- send "&7Bought x1 White Stained Glass"
- else:
- send "{@Nef}"
- command /buyblueglass:
- permission: rank.default
- trigger:
- if player's balance >= 65:
- subtract 65 from player's balance
- give player 1 95:11
- send "&aSuccess:"
- send "&7Bought x1 Blue Stained Glass"
- else:
- send "{@Nef}"
- command /buyglass:
- permission: rank.default
- trigger:
- if player's balance >= 65:
- subtract 65 from player's balance
- give player 1 20
- send "&aSuccess:"
- send "&7Bought x1 Glass"
- else:
- send "{@Nef}"
- command /buylimeglass:
- permission: rank.default
- trigger:
- if player's balance >= 65:
- subtract 65 from player's balance
- give player 1 95:5
- send "&aSuccess:"
- send "&7Bought x1 Lime Stained Glass"
- else:
- send "{@Nef}"
- command /buygreenglass:
- permission: rank.default
- trigger:
- if player's balance >= 65:
- subtract 65 from player's balance
- give player 1 95:13
- send "&aSuccess:"
- send "&7Bought x1 Green Stained Glass"
- else:
- send "{@Nef}"
- command /buymagentaglass:
- permission: rank.default
- trigger:
- if player's balance >= 65:
- subtract 65 from player's balance
- give player 1 95:2
- send "&aSuccess:"
- send "&7Bought x1 Magenta Stained Glass"
- else:
- send "{@Nef}"
- command /buypurpleglass:
- permission: rank.default
- trigger:
- if player's balance >= 65:
- subtract 65 from player's balance
- give player 1 95:10
- send "&aSuccess:"
- send "&7Bought x1 Purple Stained Glass"
- else:
- send "{@Nef}"
- command /buyblackglass:
- permission: rank.default
- trigger:
- if player's balance >= 65:
- subtract 65 from player's balance
- give player 1 95:15
- send "&aSuccess:"
- send "&7Bought x1 Black Stained Glass"
- else:
- send "{@Nef}"
- command /buyyellowglass:
- permission: rank.default
- trigger:
- if player's balance >= 65:
- subtract 65 from player's balance
- give player 1 95:4
- send "&aSuccess:"
- send "&7Bought x1 Yellow Stained Glass"
- else:
- send "{@Nef}"
- command /buyaquaglass:
- permission: rank.default
- trigger:
- if player's balance >= 65:
- subtract 65 from player's balance
- give player 1 95:3
- send "&aSuccess:"
- send "&7Bought x1 Aqua Stained Glass"
- else:
- send "{@Nef}"
- #
- # Farming
- #
- command /farming:
- permission: rank.default
- trigger:
- wait 5 ticks
- open chest with 4 rows named "&7&lFarming" to player
- format slot 0 of player with 338 named "&aSugar Canes" with lore "{@Price1}: $15 {@Price2}" to close then run [make player execute command "/buysugarcane"]
- format slot 1 of player with cactus named "&aCactus" with lore "{@Price1}: $20 {@Price2}" to close then run [make player execute command "/buycactus"]
- format slot 2 of player with ink sack named "&aInk Sack" with lore "{@Price1}: $7 {@Price2}" to close then run [make player execute command "/buyinksack"]
- format slot 3 of player with seeds named "&aWheat Seeds" with lore "{@Price1}: $20 {@Price2}" to close then run [make player execute command "/buywheatseeds"]
- format slot 27 of player with barrier named "&c&lBack" to close then run [make player execute command "/shop"]
- #
- # ---------------------------
- #
- command /buysugarcane:
- permission: rank.default
- trigger:
- if player's balance >= 15:
- subtract 15 from player's balance
- give player 1 338
- send "&aSuccess:"
- send "&7Bought x1 Sugarcane."
- if player's balance < 15:
- send "&cError:"
- send "&7Not enough funds."
- command /buycactus:
- permission: rank.default
- trigger:
- if player's balance >= 20:
- subtract 20 from player's balance
- give player 1 cactus
- send "&aSuccess:"
- send "&7Bought x1 Cactus."
- if player's balance < 20:
- send "&cError:"
- send "&7Not enough funds."
- command /buyinksack:
- permission: rank.default
- trigger:
- if player's balance >= 7:
- subtract 7 from player's balance
- give player 1 ink sack
- send "&aSuccess:"
- send "&7Bought x1 Ink Sack."
- if player's balance < 7:
- send "&cError:"
- send "&7Not enough funds."
- command /buywheatseeds:
- permission: rank.default
- trigger:
- if player's balance >= 20:
- subtract 20 from player's balance
- give player 1 seeds
- send "&aSuccess:"
- send "&7Bought x1 WheatSeed(s)."
- if player's balance < 20:
- send "&cError:"
- send "&7Not enough funds."
- #
- #
- #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement