Advertisement
Guest User

GUI Shop.sk

a guest
Jul 16th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.23 KB | None | 0 0
  1. command /shopbeta:
  2. description: Buy/sell things at shop
  3. permission: powercraft.shopbeta
  4. permission message: &4Insignificant permissions to use "/shopbeta" or "/shopb"
  5. aliases: /shopb
  6. trigger:
  7. open virtual chest with 1 rows named "&bShop" to player
  8. format gui slot 0 of player with stone named "&aBlocks" to run:
  9. open virtual chest with 5 rows named "&bShop - Blocks" to player
  10. format gui slot 0 of player with stone with lore "&4$2.00 Each" to run:
  11. open virtual chest with 3 rows named "&bShop - Blocks Buy" to player
  12. format gui slot 0 of player with Black Stained Glass Pane named "&r"
  13. format gui slot 1 of player with Black Stained Glass Pane named "&r"
  14. format gui slot 2 of player with Black Stained Glass Pane named "&r"
  15. format gui slot 3 of player with Black Stained Glass Pane named "&r"
  16. format gui slot 4 of player with Black Stained Glass Pane named "&r"
  17. format gui slot 5 of player with Black Stained Glass Pane named "&r"
  18. format gui slot 6 of player with Black Stained Glass Pane named "&r"
  19. format gui slot 7 of player with Black Stained Glass Pane named "&r"
  20. format gui slot 8 of player with Black Stained Glass Pane named "&r"
  21. format gui slot 9 of player with Black Stained Glass Pane named "&r"
  22. format gui slot 10 of player with Black Stained Glass Pane named "&r"
  23. format gui slot 11 of player with Red Stained Glass Pane named "1 - &4Buy: $2.00" to run:
  24. if player's balance is more than or equal to 2:
  25. remove 2 from player's balance
  26. make console execute "give %player% stone 1"
  27. if player's balance is less than 2:
  28. send "&4Not Enough Money!"
  29. cancel the event
  30. format gui slot 12 of player with Red Stained Glass Pane named "5 - &4Buy: $10.00" to run:
  31. if player's balance is more than or equal to 10:
  32. remove 10 from player's balance
  33. make console execute "give %player% stone 5"
  34. if player's balance is less than 10:
  35. send "&4Not Enough Money!"
  36. cancel the event
  37. format gui slot 13 of player with Red Stained Glass Pane named "16 - &4Buy: $32.00" to run:
  38. if player's balance is more than or equal to 32:
  39. remove 32 from player's balance
  40. make console execute "give %player% stone 16"
  41. if player's balance is less than 32:
  42. send "&4Not Enough Money!"
  43. cancel the event
  44. format gui slot 14 of player with Red Stained Glass Pane named "32 - &4Buy: $64.00" to run:
  45. if player's balance is more than or equal to 64:
  46. remove 2 from player's balance
  47. make console execute "give %player% stone 32"
  48. if player's balance is less than 64:
  49. send "&4Not Enough Money!"
  50. cancel the event
  51. format gui slot 15 of player with Red Stained Glass Pane named "64 - &4Buy: $128.00" to run:
  52. if player's balance is more than or equal to 128:
  53. remove 2 from player's balance
  54. make console execute "give %player% stone 64"
  55. if player's balance is less than 128:
  56. send "&4Not Enough Money!"
  57. cancel the event
  58. format gui slot 16 of player with Black Stained Glass Pane named "&r"
  59. format gui slot 17 of player with Black Stained Glass Pane named "&r"
  60. format gui slot 18 of player with Black Stained Glass Pane named "&r"
  61. format gui slot 19 of player with Black Stained Glass Pane named "&r"
  62. format gui slot 20 of player with Black Stained Glass Pane named "&r"
  63. format gui slot 21 of player with Black Stained Glass Pane named "&r"
  64. format gui slot 22 of player with Black Stained Glass Pane named "&r"
  65. format gui slot 23 of player with Black Stained Glass Pane named "&r"
  66. format gui slot 24 of player with Black Stained Glass Pane named "&r"
  67. format gui slot 25 of player with Black Stained Glass Pane named "&r"
  68. format gui slot 26 of player with Black Stained Glass Pane named "&r"
  69.  
  70. format gui slot 1 of player with oak log with lore "&4$1.00 Each" to run:
  71. open virtual chest with 3 rows named "&bShop - Blocks Buy" to player
  72. format gui slot 0 of player with Black Stained Glass Pane named "&r"
  73. format gui slot 1 of player with Black Stained Glass Pane named "&r"
  74. format gui slot 2 of player with Black Stained Glass Pane named "&r"
  75. format gui slot 3 of player with Black Stained Glass Pane named "&r"
  76. format gui slot 4 of player with Black Stained Glass Pane named "&r"
  77. format gui slot 5 of player with Black Stained Glass Pane named "&r"
  78. format gui slot 6 of player with Black Stained Glass Pane named "&r"
  79. format gui slot 7 of player with Black Stained Glass Pane named "&r"
  80. format gui slot 8 of player with Black Stained Glass Pane named "&r"
  81. format gui slot 9 of player with Black Stained Glass Pane named "&r"
  82. format gui slot 10 of player with Black Stained Glass Pane named "&r"
  83. format gui slot 11 of player with Red Stained Glass Pane named "1 - &4Buy: $1.00" to run:
  84. if player's balance is more than or equal to 2:
  85. remove 2 from player's balance
  86. make console execute "give %player% log 1"
  87. if player's balance is less than 2:
  88. send "&4Not Enough Money!"
  89. cancel the event
  90. format gui slot 12 of player with Red Stained Glass Pane named "5 - &4Buy: $5.00" to run:
  91. if player's balance is more than or equal to 10:
  92. remove 10 from player's balance
  93. make console execute "give %player% log 5"
  94. if player's balance is less than 10:
  95. send "&4Not Enough Money!"
  96. cancel the event
  97. format gui slot 13 of player with Red Stained Glass Pane named "16 - &4Buy: $16.00" to run:
  98. if player's balance is more than or equal to 32:
  99. remove 32 from player's balance
  100. make console execute "give %player% log 16"
  101. if player's balance is less than 32:
  102. send "&4Not Enough Money!"
  103. cancel the event
  104. format gui slot 14 of player with Red Stained Glass Pane named "32 - &4Buy: $32.00" to run:
  105. if player's balance is more than or equal to 64:
  106. remove 2 from player's balance
  107. make console execute "give %player% log 32"
  108. if player's balance is less than 64:
  109. send "&4Not Enough Money!"
  110. cancel the event
  111. format gui slot 15 of player with Red Stained Glass Pane named "64 - &4Buy: $128.00" to run:
  112. if player's balance is more than or equal to 128:
  113. remove 2 from player's balance
  114. make console execute "give %player% log 64"
  115. if player's balance is less than 128:
  116. send "&4Not Enough Money!"
  117. cancel the event
  118. format gui slot 16 of player with Black Stained Glass Pane named "&r"
  119. format gui slot 17 of player with Black Stained Glass Pane named "&r"
  120. format gui slot 18 of player with Black Stained Glass Pane named "&r"
  121. format gui slot 19 of player with Black Stained Glass Pane named "&r"
  122. format gui slot 20 of player with Black Stained Glass Pane named "&r"
  123. format gui slot 21 of player with Black Stained Glass Pane named "&r"
  124. format gui slot 22 of player with Black Stained Glass Pane named "&r"
  125. format gui slot 23 of player with Black Stained Glass Pane named "&r"
  126. format gui slot 24 of player with Black Stained Glass Pane named "&r"
  127. format gui slot 25 of player with Black Stained Glass Pane named "&r"
  128. format gui slot 26 of player with Black Stained Glass Pane named "&r"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement