Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /shopbeta:
- description: Buy/sell things at shop
- permission: powercraft.shopbeta
- permission message: &4Insignificant permissions to use "/shopbeta" or "/shopb"
- aliases: /shopb
- trigger:
- open virtual chest with 1 rows named "&bShop" to player
- format gui slot 0 of player with stone named "&aBlocks" to run:
- open virtual chest with 5 rows named "&bShop - Blocks" to player
- format gui slot 0 of player with stone with lore "&4$2.00 Each" to run:
- open virtual chest with 3 rows named "&bShop - Blocks Buy" to player
- format gui slot 0 of player with Black Stained Glass Pane named "&r"
- format gui slot 1 of player with Black Stained Glass Pane named "&r"
- format gui slot 2 of player with Black Stained Glass Pane named "&r"
- format gui slot 3 of player with Black Stained Glass Pane named "&r"
- format gui slot 4 of player with Black Stained Glass Pane named "&r"
- format gui slot 5 of player with Black Stained Glass Pane named "&r"
- format gui slot 6 of player with Black Stained Glass Pane named "&r"
- format gui slot 7 of player with Black Stained Glass Pane named "&r"
- format gui slot 8 of player with Black Stained Glass Pane named "&r"
- format gui slot 9 of player with Black Stained Glass Pane named "&r"
- format gui slot 10 of player with Black Stained Glass Pane named "&r"
- format gui slot 11 of player with Red Stained Glass Pane named "1 - &4Buy: $2.00" to run:
- if player's balance is more than or equal to 2:
- remove 2 from player's balance
- make console execute "give %player% stone 1"
- if player's balance is less than 2:
- send "&4Not Enough Money!"
- cancel the event
- format gui slot 12 of player with Red Stained Glass Pane named "5 - &4Buy: $10.00" to run:
- if player's balance is more than or equal to 10:
- remove 10 from player's balance
- make console execute "give %player% stone 5"
- if player's balance is less than 10:
- send "&4Not Enough Money!"
- cancel the event
- format gui slot 13 of player with Red Stained Glass Pane named "16 - &4Buy: $32.00" to run:
- if player's balance is more than or equal to 32:
- remove 32 from player's balance
- make console execute "give %player% stone 16"
- if player's balance is less than 32:
- send "&4Not Enough Money!"
- cancel the event
- format gui slot 14 of player with Red Stained Glass Pane named "32 - &4Buy: $64.00" to run:
- if player's balance is more than or equal to 64:
- remove 2 from player's balance
- make console execute "give %player% stone 32"
- if player's balance is less than 64:
- send "&4Not Enough Money!"
- cancel the event
- format gui slot 15 of player with Red Stained Glass Pane named "64 - &4Buy: $128.00" to run:
- if player's balance is more than or equal to 128:
- remove 2 from player's balance
- make console execute "give %player% stone 64"
- if player's balance is less than 128:
- send "&4Not Enough Money!"
- cancel the event
- format gui slot 16 of player with Black Stained Glass Pane named "&r"
- format gui slot 17 of player with Black Stained Glass Pane named "&r"
- format gui slot 18 of player with Black Stained Glass Pane named "&r"
- format gui slot 19 of player with Black Stained Glass Pane named "&r"
- format gui slot 20 of player with Black Stained Glass Pane named "&r"
- format gui slot 21 of player with Black Stained Glass Pane named "&r"
- format gui slot 22 of player with Black Stained Glass Pane named "&r"
- format gui slot 23 of player with Black Stained Glass Pane named "&r"
- format gui slot 24 of player with Black Stained Glass Pane named "&r"
- format gui slot 25 of player with Black Stained Glass Pane named "&r"
- format gui slot 26 of player with Black Stained Glass Pane named "&r"
- format gui slot 1 of player with oak log with lore "&4$1.00 Each" to run:
- open virtual chest with 3 rows named "&bShop - Blocks Buy" to player
- format gui slot 0 of player with Black Stained Glass Pane named "&r"
- format gui slot 1 of player with Black Stained Glass Pane named "&r"
- format gui slot 2 of player with Black Stained Glass Pane named "&r"
- format gui slot 3 of player with Black Stained Glass Pane named "&r"
- format gui slot 4 of player with Black Stained Glass Pane named "&r"
- format gui slot 5 of player with Black Stained Glass Pane named "&r"
- format gui slot 6 of player with Black Stained Glass Pane named "&r"
- format gui slot 7 of player with Black Stained Glass Pane named "&r"
- format gui slot 8 of player with Black Stained Glass Pane named "&r"
- format gui slot 9 of player with Black Stained Glass Pane named "&r"
- format gui slot 10 of player with Black Stained Glass Pane named "&r"
- format gui slot 11 of player with Red Stained Glass Pane named "1 - &4Buy: $1.00" to run:
- if player's balance is more than or equal to 2:
- remove 2 from player's balance
- make console execute "give %player% log 1"
- if player's balance is less than 2:
- send "&4Not Enough Money!"
- cancel the event
- format gui slot 12 of player with Red Stained Glass Pane named "5 - &4Buy: $5.00" to run:
- if player's balance is more than or equal to 10:
- remove 10 from player's balance
- make console execute "give %player% log 5"
- if player's balance is less than 10:
- send "&4Not Enough Money!"
- cancel the event
- format gui slot 13 of player with Red Stained Glass Pane named "16 - &4Buy: $16.00" to run:
- if player's balance is more than or equal to 32:
- remove 32 from player's balance
- make console execute "give %player% log 16"
- if player's balance is less than 32:
- send "&4Not Enough Money!"
- cancel the event
- format gui slot 14 of player with Red Stained Glass Pane named "32 - &4Buy: $32.00" to run:
- if player's balance is more than or equal to 64:
- remove 2 from player's balance
- make console execute "give %player% log 32"
- if player's balance is less than 64:
- send "&4Not Enough Money!"
- cancel the event
- format gui slot 15 of player with Red Stained Glass Pane named "64 - &4Buy: $128.00" to run:
- if player's balance is more than or equal to 128:
- remove 2 from player's balance
- make console execute "give %player% log 64"
- if player's balance is less than 128:
- send "&4Not Enough Money!"
- cancel the event
- format gui slot 16 of player with Black Stained Glass Pane named "&r"
- format gui slot 17 of player with Black Stained Glass Pane named "&r"
- format gui slot 18 of player with Black Stained Glass Pane named "&r"
- format gui slot 19 of player with Black Stained Glass Pane named "&r"
- format gui slot 20 of player with Black Stained Glass Pane named "&r"
- format gui slot 21 of player with Black Stained Glass Pane named "&r"
- format gui slot 22 of player with Black Stained Glass Pane named "&r"
- format gui slot 23 of player with Black Stained Glass Pane named "&r"
- format gui slot 24 of player with Black Stained Glass Pane named "&r"
- format gui slot 25 of player with Black Stained Glass Pane named "&r"
- format gui slot 26 of player with Black Stained Glass Pane named "&r"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement