Advertisement
Guest User

a

a guest
Nov 12th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.52 KB | None | 0 0
  1. command /blackmarket:
  2. aliases: /bm
  3. trigger:
  4. open chest with 6 rows named "&3&lBLACKMARKET" to player
  5. loop integers from 0 to 64:
  6. make gui slot loop-integer of player with black stained glass pane named "&7" to run:
  7. close player's inventory
  8. make gui slot 4 of player with obsidian named "&b&lMINERALS"
  9. make gui slot 10 of player with 64 coal item named "&7&lCOAL" with lore "&3Cost: &b5,000" to run:
  10. if player's balance >= 5000:
  11. if player has enough space for coal:
  12. give player 64 coal item
  13. remove 5000 from player's balance
  14. else:
  15. close player's inventory
  16. send "&cYour inventory does not have enough space."
  17. else:
  18. send "&cYou do not have enough money to buy that."
  19. make gui slot 11 of player with 64 iron ingot named "&7&lIRON" with lore "&3Cost: &b10,000" to run:
  20. if player's balance >= 10000:
  21. if player has enough space for iron ingot:
  22. give player 64 iron ingot
  23. remove 10000 from player's balance
  24. else:
  25. close player's inventory
  26. send "&cYour inventory does not have enough space."
  27. else:
  28. send "&cYou do not have enough money to buy that."
  29. make gui slot 12 of player with 64 diamond named "&b&lDIAMOND" with lore "&3Cost: &b20,000" to run:
  30. if player's balance >= 20000:
  31. if player has enough space for diamond:
  32. give player 64 diamond
  33. remove 20000 from player's balance
  34. else:
  35. close player's inventory
  36. send "&cYour inventory does not have enough space."
  37. else:
  38. send "&cYou do not have enough money to buy that."
  39. make gui slot 13 of player with 64 emerald named "&a&lEMERALD" with lore "&3Cost: &b50,000" to run:
  40. if player's balance >= 50000:
  41. if player has enough space for emerald:
  42. give player 64 emerald
  43. remove 50000 from player's balance
  44. else:
  45. close player's inventory
  46. send "&cYour inventory does not have enough space."
  47. else:
  48. send "&cYou do not have enough money to buy that."
  49. make gui slot 14 of player with 64 lapis lazuli named "&9&lLAPIS" with lore "&3Cost: &b75,000" to run:
  50. if player's balance >= 75000:
  51. if player has enough space for lapis lazuli:
  52. give player 64 lapis lazuli
  53. remove 75000 from player's balance
  54. else:
  55. close player's inventory
  56. send "&cYour inventory does not have enough space."
  57. else:
  58. send "&cYou do not have enough money to buy that."
  59. make gui slot 15 of player with 64 redstone dust named "&c&lREDSTONE" with lore "&3Cost: &b80,000" to run:
  60. if player's balance >= 80000:
  61. if player has enough space for redstone dust:
  62. give player 64 redstone dust
  63. remove 80000 from player's balance
  64. else:
  65. close player's inventory
  66. send "&cYour inventory does not have enough space."
  67. else:
  68. send "&cYou do not have enough money to buy that."
  69. make gui slot 16 of player with 64 obsidian named "&8&lOBSIDIAN" with lore "&3Cost: &b100,000" to run:
  70. if player's balance >= 100000:
  71. if player has enough space for obsidian:
  72. give player 64 obsidian
  73. remove 100000 from player's balance
  74. else:
  75. close player's inventory
  76. send "&cYour inventory does not have enough space."
  77. else:
  78. send "&cYou do not have enough money to buy that."
  79. make gui slot 22 of player with gray stained glass pane named "&b&lCOMING SOON" to run:
  80. close player's inventory
  81. make gui slot 40 of player with gray stained glass pane named "&b&lCOMING SOON" to run:
  82. close player's inventory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement