Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Command /Shop:
- trigger:
- set {_Money} to the player's balance
- open a chest with 6 rows named "&bSliceDice":
- format slot 0 with seed named "&2Farming shop" to run:
- format slot 0 with dirt named "&cSugarcane" with lore "&c$1,000" to run:
- if {_Money} is => 1000:
- add 1 to {ItemsPurchased::%player%}
- add 1 to {GlobalItems}
- remove 1000 from The player's balance
- give player 1 of sugarcane
- send "&c$-1,000"
- add 1000 to {MoneySpent::%player%}
- else:
- send "&cYou don't have the funds for this."
- format slot 1 with seeds named "&cSeeds" with lore "&c$500" to run:
- if {_Money} is => 500:
- add 1 to {ItemsPurchased::%player%}
- add 1 to {GlobalItems}
- remove 500 from the player's balance
- send "&c$-500"
- add 500 to {MoneySpent::%player%}
- give player 1 of seeds
- else:
- send "&cYou don't have the funds for this."
- format slot 2 with cactus named "&cCactus" with lore "&c$5,000" to run:
- if {_Money} is => 5000
- add 1 to {ItemsPurchased::%player%}
- add 1 to {GlobalItems}
- remove 5000 from the player's balance
- send "&c$-5000"
- add 5000 to {MoneySpent::%player%}
- give player 1 of cactus
- else:
- send "&cYou don't have the funds for this."
- format slot 3 with beetroot seeds named "&cBeetroot seeds" with lore "&c$10,000" to run:
- if {_Money} is => 10000
- add 1 to {ItemsPurchased::%player%}
- add 1 to {GlobalItems}
- remove 10000 from the player's balance
- send "&c$-10000"
- add 10000 to {MoneySpent::%player%}
- give player 1 of beetroot seeds
- else:
- format slot 4 with sugarcane named "&cSugarcane" with lore "&c$25,000" to run:
- if {_Money} is => 25000
- add 1 to {ItemsPurchased::%player%}
- add 1 to {GlobalItems}
- remove 10000 from the player's balance
- send "&c$-10000"
- add 25000 to {MoneySpent::%player%}
- give player 1 of sugarcane
- else:
- send "&cYou don't have the funds for this." send "&cYou don't have the funds for this."
- format slot 5 with beetroot seeds named "&cSugarcane" with lore "&c$25,000" to run:
- if {_Money} is => 25000
- add 1 to {ItemsPurchased::%player%}
- add 1 to {GlobalItems}
- remove 25000 from the player's balance
- send "&c$-25000"
- add 25000 to {MoneySpent::%player%}
- give player 1 of sugarcane
- else:
- send "&cYou don't have the funds for this." send "&cYou don't have the funds for this."
- format slot 6 with melon seeds named "&cMelon seeds" with lore "&c$100,000" to run:
- if {_Money} is => 100000
- add 1 to {ItemsPurchased::%player%}
- add 1 to {GlobalItems}
- remove 100000 from the player's balance
- send "&c$-100,000"
- add 100000 to {MoneySpent::%player%}
- give player 1 of sugarcane
- else:
- send "&cYou don't have the funds for this." send "&cYou don't have the funds for this."
- format slot 7 with kelp named "&cKelp" with lore "&c$1,000,000" to run:
- if {_Money} is => 1000000
- add 1 to {ItemsPurchased::%player%}
- add 1 to {GlobalItems}
- remove 1000000 from the player's balance
- send "&c$-1000000"
- add 1000000 to {MoneySpent::%player%}
- give player 1 of sugarcane
- else:
- send "&cYou don't have the funds for this." send "&cYou don't have the funds for this."
- format slot 8 with pumpkin seeds named "&cPumpkin seeds" with lore "&c$2,000,000" to run:
- if {_Money} is => 2000000
- add 1 to {ItemsPurchased::%player%}
- add 1 to {GlobalItems}
- remove 2000000 from the player's balance
- send "&c$-2000000"
- add 2000000 to {MoneySpent::%player%}
- give player 1 of pumpkin seeds
- else:
- send "&cYou don't have the funds for this." send "&cYou don't have the funds for this."
- format slot 9 with packed ice seeds named "&cPacked ice &7x16" with lore "&c$1,000" to run:
- if {_Money} is => 1000
- add 16 to {ItemsPurchased::%player%}
- add 16 to {GlobalItems}
- remove 1000 from the player's balance
- send "&c$-1000"
- add 1000 to {MoneySpent::%player%}
- give player 16 of packed ice
- else:
- send "&cYou don't have the funds for this." send "&cYou don't have the funds for this."
- format slot 10 with packed ice seeds named "&cIce &7x16" with lore "&c$1,000" to run:
- if {_Money} is => 1000
- add 16 to {ItemsPurchased::%player%}
- add 16 to {GlobalItems}
- remove 1000 from the player's balance
- send "&c$-1000"
- add 1000 to {MoneySpent::%player%}
- give player 16 of ice
- else:
- send "&cYou don't have the funds for this." send "&cYou don't have the funds for this."
- format slot 0 with seed named "&4Redstone shop" to run:
- format slot 0 with redstone named "&cRedstone &7x16" with lore "&c$10,000" to run:
- if {_Money} is => 10000
- add 16 to {ItemsPurchased::%player%}
- add 16 to {GlobalItems}
- remove 10000 from the player's balance
- send "&c$-10000"
- add 10000 to {MoneySpent::%player%}
- give player 16 of redstone
- else:
- send "&cYou don't have the funds for this." send "&cYou don't have the funds for this."
- format slot 1 with observers named "&cObservers &7x16" with lore "&c$10,000" to run:
- if {_Money} is => 10000
- add 16 to {ItemsPurchased::%player%}
- add 16 to {GlobalItems}
- remove 10000 from the player's balance
- send "&c$-10000"
- add 10000 to {MoneySpent::%player%}
- give player 16 of Observers
- else:
- send "&cYou don't have the funds for this." send "&cYou don't have the funds for this."
- format slot 2 with piston named "&cPiston &7x16" with lore "&c$10,000" to run:
- if {_Money} is => 10000
- add 16 to {ItemsPurchased::%player%}
- add 16 to {GlobalItems}
- remove 10000 from the player's balance
- send "&c$-10000"
- add 10000 to {MoneySpent::%player%}
- give player 16 of Piston
- else:
- send "&cYou don't have the funds for this." send "&cYou don't have the funds for this."
- format slot 3 with string named "&cString &7x16" with lore "&c$10,000" to run:
- if {_Money} is => 10000
- add 16 to {ItemsPurchased::%player%}
- add 16 to {GlobalItems}
- remove 10000 from the player's balance
- send "&c$-10000"
- add 10000 to {MoneySpent::%player%}
- give player 16 of String
- else:
- send "&cYou don't have the funds for this." send "&cYou don't have the funds for this."
- On join:
- add 1 to {Joins::%player%}
- if {Joins::%player%} is 1:
- give player 1 of diamond hoe
- give player 1 of leather boots
- give player 1 of leather leggings
- give player 1 of leather chestplate
- give player 1 of leather helmet
- give player 1 of wooden sword
- give player 1 of seed
- give player 1 of cactus
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement