Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /shop [<text>]:
- trigger:
- if arg-1 is not set:
- open chest with 3 rows named "&aShop" to player
- format slot 10 of player with grass block named "&aBlocks" to be unstealable
- format slot 12 of player with prismarine shards named "&9Minerals" to run "sudo %player% c:/minerals shop"
- format slot 14 of player with redstone dust named "&cRedstone" to be unstealable
- format slot 16 of player with spawner named "&dSpawners" to run "sudo %player% c:/shop spawners"
- else:
- if arg-1 is "spawners":
- open chest with 2 rows named "&dSpawners" to player
- format gui slot 1 of player with spawner named "&7Cow Spawner&8 |&a $60,000" to run:
- if player's balance is above or equal to 60000:
- console command "spawnergive %player% Cow 1"
- console command "eco take %player% 60000"
- else:
- send "&cInsufficient Funds" to player
- format gui slot 3 of player with spawner named "&7Pig Spawner&8 |&a $50,000" to run:
- if player's balance is above or equal to 50000:
- console command "spawnergive %player% Pig 1"
- console command "eco take %player% 50000"
- else:
- send "&cInsufficient Funds" to player
- format gui slot 5 of player with spawner named "&7Chicken Spawner&8 |&a $55,000" to run:
- if player's balance is above or equal to 55000:
- console command "spawnergive %player% Chicken 1"
- console command "eco take %player% 55000"
- else:
- send "&cInsufficient Funds" to player
- format gui slot 7 of player with spawner named "&7Sheep Spawner&8 |&a $75,000" to run:
- if player's balance is above or equal to 75000:
- console command "spawnergive %player% Sheep 1"
- console command "eco take %player% 75000"
- else:
- send "&cInsufficient Funds" to player
- format gui slot 10 of player with spawner named "&7Blaze Spawner&8 |&a $650,000" to run:
- if player's balance is above or equal to 650000:
- console command "spawnergive %player% Blaze 1"
- console command "eco take %player% 650000"
- else:
- send "&cInsufficient Funds" to player
- format gui slot 12 of player with spawner named "&7Iron Golem Spawner&8 |&a $1,000,000" to run:
- if player's balance is above or equal to 1000000:
- console command "spawnergive %player% Iron_Golem 1"
- console command "eco take %player% 1000000"
- else:
- send "&cInsufficient Funds" to player
- format gui slot 14 of player with spawner named "&7Zombie Spawner&8 |&a $80,000" to run:
- if player's balance is above or equal to 80000:
- console command "spawnergive %player% Zombie 1"
- console command "eco take %player% 80000"
- else:
- send "&cInsufficient Funds" to player
- send "&cInsufficient Funds" to player
- format gui slot 16 of player with spawner named "&7Skeleton Spawner&8 |&a $125,000" to run:
- if player's balance is above or equal to 125000:
- console command "spawnergive %player% Skeleton 1"
- console command "eco take %player% 125000"
- else:
- send "&cInsufficient Funds" to player
- command /minerals [<text>]:
- trigger:
- if arg-1 is "shop":
- open chest with 1 rows named "&9Minerals" to player
- format gui slot 0 of player with 8 coal named "&68x&7 Coal&8 |&a $250" to run:
- if player's balance is above or equal to 250:
- give player 8 coal
- console command "eco take %player% 250"
- else:
- send "&cInsufficient Funds" to player
- format gui slot 2 of player with 8 iron ingot named "&68x&7 Iron&8 |&a $550" to run:
- if player's balance is above or equal to 550:
- give player 8 iron ingot
- console command "eco take %player% 550"
- else:
- send "&cInsufficient Funds" to player
- format gui slot 4 of player with 8 gold ingot named "&68x&7 Gold Ingot&8 |&a $750" to run:
- if player's balance is above or equal to 750:
- give player 8 gold ingot
- console command "eco take %player% 750"
- else:
- send "&cInsufficient Funds" to player
- format gui slot 6 of player with 8 diamond named "&68x&7 Diamonds&8 |&a $1250" to run:
- if player's balance is above or equal to 1250:
- give player 8 diamonds
- console command "eco take %player% 1250"
- else:
- send "&cInsufficient Funds" to player
- format gui slot 8 of player with 8 emerald named "&68x&7 Emeralds&8 |&a $2250" to run:
- if player's balance is above or equal to 2250:
- give player 8 emerald
- console command "eco take %player% 2250"
- else:
- send "&cInsufficient Funds" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement