Advertisement
Guest User

Untitled

a guest
Jan 26th, 2020
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.90 KB | None | 0 0
  1. command /shop [<text>]:
  2. trigger:
  3. if arg-1 is not set:
  4. open chest with 3 rows named "&aShop" to player
  5. format slot 10 of player with grass block named "&aBlocks" to be unstealable
  6. format slot 12 of player with prismarine shards named "&9Minerals" to run "sudo %player% c:/minerals shop"
  7. format slot 14 of player with redstone dust named "&cRedstone" to be unstealable
  8. format slot 16 of player with spawner named "&dSpawners" to run "sudo %player% c:/shop spawners"
  9. else:
  10. if arg-1 is "spawners":
  11. open chest with 2 rows named "&dSpawners" to player
  12. format gui slot 1 of player with spawner named "&7Cow Spawner&8 |&a $60,000" to run:
  13. if player's balance is above or equal to 60000:
  14. console command "spawnergive %player% Cow 1"
  15. console command "eco take %player% 60000"
  16. else:
  17. send "&cInsufficient Funds" to player
  18. format gui slot 3 of player with spawner named "&7Pig Spawner&8 |&a $50,000" to run:
  19. if player's balance is above or equal to 50000:
  20. console command "spawnergive %player% Pig 1"
  21. console command "eco take %player% 50000"
  22. else:
  23. send "&cInsufficient Funds" to player
  24. format gui slot 5 of player with spawner named "&7Chicken Spawner&8 |&a $55,000" to run:
  25. if player's balance is above or equal to 55000:
  26. console command "spawnergive %player% Chicken 1"
  27. console command "eco take %player% 55000"
  28. else:
  29. send "&cInsufficient Funds" to player
  30. format gui slot 7 of player with spawner named "&7Sheep Spawner&8 |&a $75,000" to run:
  31. if player's balance is above or equal to 75000:
  32. console command "spawnergive %player% Sheep 1"
  33. console command "eco take %player% 75000"
  34. else:
  35. send "&cInsufficient Funds" to player
  36. format gui slot 10 of player with spawner named "&7Blaze Spawner&8 |&a $650,000" to run:
  37. if player's balance is above or equal to 650000:
  38. console command "spawnergive %player% Blaze 1"
  39. console command "eco take %player% 650000"
  40. else:
  41. send "&cInsufficient Funds" to player
  42. format gui slot 12 of player with spawner named "&7Iron Golem Spawner&8 |&a $1,000,000" to run:
  43. if player's balance is above or equal to 1000000:
  44. console command "spawnergive %player% Iron_Golem 1"
  45. console command "eco take %player% 1000000"
  46. else:
  47. send "&cInsufficient Funds" to player
  48. format gui slot 14 of player with spawner named "&7Zombie Spawner&8 |&a $80,000" to run:
  49. if player's balance is above or equal to 80000:
  50. console command "spawnergive %player% Zombie 1"
  51. console command "eco take %player% 80000"
  52. else:
  53. send "&cInsufficient Funds" to player
  54. send "&cInsufficient Funds" to player
  55. format gui slot 16 of player with spawner named "&7Skeleton Spawner&8 |&a $125,000" to run:
  56. if player's balance is above or equal to 125000:
  57. console command "spawnergive %player% Skeleton 1"
  58. console command "eco take %player% 125000"
  59. else:
  60. send "&cInsufficient Funds" to player
  61.  
  62.  
  63. command /minerals [<text>]:
  64. trigger:
  65. if arg-1 is "shop":
  66. open chest with 1 rows named "&9Minerals" to player
  67. format gui slot 0 of player with 8 coal named "&68x&7 Coal&8 |&a $250" to run:
  68. if player's balance is above or equal to 250:
  69. give player 8 coal
  70. console command "eco take %player% 250"
  71. else:
  72. send "&cInsufficient Funds" to player
  73. format gui slot 2 of player with 8 iron ingot named "&68x&7 Iron&8 |&a $550" to run:
  74. if player's balance is above or equal to 550:
  75. give player 8 iron ingot
  76. console command "eco take %player% 550"
  77. else:
  78. send "&cInsufficient Funds" to player
  79. format gui slot 4 of player with 8 gold ingot named "&68x&7 Gold Ingot&8 |&a $750" to run:
  80. if player's balance is above or equal to 750:
  81. give player 8 gold ingot
  82. console command "eco take %player% 750"
  83. else:
  84. send "&cInsufficient Funds" to player
  85. format gui slot 6 of player with 8 diamond named "&68x&7 Diamonds&8 |&a $1250" to run:
  86. if player's balance is above or equal to 1250:
  87. give player 8 diamonds
  88. console command "eco take %player% 1250"
  89. else:
  90. send "&cInsufficient Funds" to player
  91. format gui slot 8 of player with 8 emerald named "&68x&7 Emeralds&8 |&a $2250" to run:
  92. if player's balance is above or equal to 2250:
  93. give player 8 emerald
  94. console command "eco take %player% 2250"
  95. else:
  96. send "&cInsufficient Funds" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement