Advertisement
Guest User

Untitled

a guest
Jun 5th, 2021
371
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.79 KB | None | 0 0
  1. options:
  2. mainpane: purple
  3. secondpane: pink
  4. maincolour: &x&a&0&2&4&b&f
  5. secondcolour: &d
  6.  
  7. command /chatcolour:
  8. aliases: chatcolor
  9. trigger:
  10. open virtual chest with size 6 named "{@maincolour}&lChatcolours &8|" to player
  11. wait 3 ticks
  12. format gui slot 0 of player with {@mainpane} stained glass pane named " "
  13. wait 1 tick
  14. format gui slot 8 of player with {@mainpane} stained glass pane named " "
  15. wait 1 tick
  16. format gui slot 7 of player with {@mainpane} stained glass pane named " "
  17. format gui slot 1 of player with {@mainpane} stained glass pane named " "
  18. wait 1 tick
  19. format gui slot 9 of player with {@mainpane} stained glass pane named " "
  20. format gui slot 17 of player with {@mainpane} stained glass pane named " "
  21. wait 1 tick
  22. format gui slot 2 of player with {@secondpane} stained glass pane named " "
  23. format gui slot 3 of player with {@secondpane} stained glass pane named " "
  24. format gui slot 6 of player with {@secondpane} stained glass pane named " "
  25. wait 1 tick
  26. format gui slot 4 of player with {@secondpane} stained glass pane named " "
  27. format gui slot 5 of player with {@secondpane} stained glass pane named " "
  28. wait 1 tick
  29. format gui slot 2 of player with {@secondpane} stained glass pane named " "
  30. format gui slot 18 of player with {@secondpane} stained glass pane named " "
  31. wait 1 tick
  32. format gui slot 26 of player with {@secondpane} stained glass pane named " "
  33. format gui slot 35 of player with {@secondpane} stained glass pane named " "
  34. format gui slot 27 of player with {@secondpane} stained glass pane named " "
  35. wait 1 tick
  36. format gui slot 36 of player with {@mainpane} stained glass pane named " "
  37. format gui slot 44 of player with {@mainpane} stained glass pane named " "
  38. wait 1 tick
  39. format gui slot 53 of player with {@mainpane} stained glass pane named " "
  40. format gui slot 45 of player with {@mainpane} stained glass pane named " "
  41. wait 1 tick
  42. format gui slot 46 of player with {@mainpane} stained glass pane named " "
  43. format gui slot 52 of player with {@mainpane} stained glass pane named " "
  44. wait 1 tick
  45. format gui slot 47 of player with {@secondpane} stained glass pane named " "
  46. format gui slot 51 of player with {@secondpane} stained glass pane named " "
  47. wait 1 tick
  48. format gui slot 48 of player with {@secondpane} stained glass pane named " "
  49. format gui slot 50 of player with {@secondpane} stained glass pane named " "
  50. wait 1 tick
  51. format gui slot 49 of player with {@secondpane} stained glass pane named " "
  52. wait 1 tick
  53. format gui slot 10 of player with shiny red concrete powder named "&cRed chatcolour" with lore "{@maincolour}Click to set your chatcolour to red!" and "{@secondcolour}Permission &7» {@secondcolour}chatcolour.red" to run:
  54. if player does not have permission "chatcolour.red":
  55. send "{@maincolour}&lChatcolour &7» {@secondcolour}Missing permission! &7(chatcolour.red)"
  56. else:
  57. set {chatcolour::%player's uuid%} to "&c"
  58. send "{@maincolour}&lChatcolour &7» {@secondcolour}You set your chatcolour to &cRED!"
  59. wait 1 tick
  60. format gui slot 11 of player with shiny orange concrete powder named "&6Orange chatcolour" with lore "{@maincolour}Click to set your chatcolour to orange!" and "{@secondcolour}Permission &7» {@secondcolour}chatcolour.orange" to run:
  61. if player does not have permission "chatcolour.orange":
  62. send "{@maincolour}&lChatcolour &7» {@secondcolour}Missing permission! &7(chatcolour.orange)"
  63. else:
  64. set {chatcolour::%player's uuid%} to "&6"
  65. send "{@maincolour}&lChatcolour &7» {@secondcolour}You set your chatcolour to &6ORANGE!"
  66. wait 1 tick
  67. format gui slot 12 of player with shiny yellow concrete powder named "&eYellow chatcolour" with lore "{@maincolour}Click to set your chatcolour to yellow!" and "{@secondcolour}Permission &7» {@secondcolour}chatcolour.yellow" to run:
  68. if player does not have permission "chatcolour.yellow":
  69. send "{@maincolour}&lChatcolour &7» {@secondcolour}Missing permission! &7(chatcolour.yellow)"
  70. else:
  71. set {chatcolour::%player's uuid%} to "&e"
  72. send "{@maincolour}&lChatcolour &7» {@secondcolour}You set your chatcolour to &eYELLOW!"
  73. wait 1 tick
  74. format gui slot 13 of player with shiny lime concrete powder named "&aLime chatcolour" with lore "{@maincolour}Click to set your chatcolour to lime!" and "{@secondcolour}Permission &7» {@secondcolour}chatcolour.lime" to run:
  75. if player does not have permission "chatcolour.lime":
  76. send "{@maincolour}&lChatcolour &7» {@secondcolour}Missing permission! &7(chatcolour.lime)"
  77. else:
  78. set {chatcolour::%player's uuid%} to "&a"
  79. send "{@maincolour}&lChatcolour &7» {@secondcolour}You set your chatcolour to &aLIME!"
  80. wait 1 tick
  81. format gui slot 14 of player with shiny green concrete powder named "&2Green chatcolour" with lore "{@maincolour}Click to set your chatcolour to green!" and "{@secondcolour}Permission &7» {@secondcolour}chatcolour.green" to run:
  82. if player does not have permission "chatcolour.green":
  83. send "{@maincolour}&lChatcolour &7» {@secondcolour}Missing permission! &7(chatcolour.green)"
  84. else:
  85. set {chatcolour::%player's uuid%} to "&2"
  86. send "{@maincolour}&lChatcolour &7» {@secondcolour}You set your chatcolour to &2GREEN!"
  87. wait 1 tick
  88. format gui slot 15 of player with shiny light blue concrete powder named "&bAqua chatcolour" with lore "{@maincolour}Click to set your chatcolour to aqua!" and "{@secondcolour}Permission &7» {@secondcolour}chatcolour.aqua" to run:
  89. if player does not have permission "chatcolour.aqua":
  90. send "{@maincolour}&lChatcolour &7» {@secondcolour}Missing permission! &7(chatcolour.aqua)"
  91. else:
  92. set {chatcolour::%player's uuid%} to "&b"
  93. send "{@maincolour}&lChatcolour &7» {@secondcolour}You set your chatcolour to &bAQUA!"
  94. wait 1 tick
  95. format gui slot 16 of player with shiny cyan concrete powder named "&3Cyan chatcolour" with lore "{@maincolour}Click to set your chatcolour to cyan!" and "{@secondcolour}Permission &7» {@secondcolour}chatcolour.cyan" to run:
  96. if player does not have permission "chatcolour.cyan":
  97. send "{@maincolour}&lChatcolour &7» {@secondcolour}Missing permission! &7(chatcolour.cyan)"
  98. else:
  99. set {chatcolour::%player's uuid%} to "&3"
  100. send "{@maincolour}&lChatcolour &7» {@secondcolour}You set your chatcolour to &3CYAN!"
  101. wait 1 tick
  102. format gui slot 19 of player with shiny blue concrete powder named "&9Blue chatcolour" with lore "{@maincolour}Click to set your chatcolour to blue!" and "{@secondcolour}Permission &7» {@secondcolour}chatcolour.blue" to run:
  103. if player does not have permission "chatcolour.blue":
  104. send "{@maincolour}&lChatcolour &7» {@secondcolour}Missing permission! &7(chatcolour.blue)"
  105. else:
  106. set {chatcolour::%player's uuid%} to "&9"
  107. send "{@maincolour}&lChatcolour &7» {@secondcolour}You set your chatcolour to &6BLUE!"
  108. wait 1 tick
  109. format gui slot 20 of player with shiny blue concrete powder named "&1Dark blue chatcolour" with lore "{@maincolour}Click to set your chatcolour to dark blue!" and "{@secondcolour}Permission &7» {@secondcolour}chatcolour.darkblue" to run:
  110. if player does not have permission "chatcolour.darkblue":
  111. send "{@maincolour}&lChatcolour &7» {@secondcolour}Missing permission! &7(chatcolour.darkblue)"
  112. else:
  113. set {chatcolour::%player's uuid%} to "&1"
  114. send "{@maincolour}&lChatcolour &7» {@secondcolour}You set your chatcolour to &1DARK BLUE!"
  115. wait 1 tick
  116. format gui slot 21 of player with shiny pink concrete powder named "&dPink chatcolour" with lore "{@maincolour}Click to set your chatcolour to pink!" and "{@secondcolour}Permission &7» {@secondcolour}chatcolour.pink" to run:
  117. if player does not have permission "chatcolour.pink":
  118. send "{@maincolour}&lChatcolour &7» {@secondcolour}Missing permission! &7(chatcolour.pink)"
  119. else:
  120. set {chatcolour::%player's uuid%} to "&d"
  121. send "{@maincolour}&lChatcolour &7» {@secondcolour}You set your chatcolour to &dPINK!"
  122. wait 1 tick
  123. format gui slot 22 of player with shiny purple concrete powder named "&5Purple chatcolour" with lore "{@maincolour}Click to set your chatcolour to purple!" and "{@secondcolour}Permission &7» {@secondcolour}chatcolour.purple" to run:
  124. if player does not have permission "chatcolour.purple":
  125. send "{@maincolour}&lChatcolour &7» {@secondcolour}Missing permission! &7(chatcolour.purple)"
  126. else:
  127. set {chatcolour::%player's uuid%} to "&5"
  128. send "{@maincolour}&lChatcolour &7» {@secondcolour}You set your chatcolour to &5PURPLE!"
  129. wait 1 tick
  130. format gui slot 23 of player with shiny white concrete powder named "&fWhite chatcolour" with lore "{@maincolour}Click to set your chatcolour to white!" and "{@secondcolour}Permission &7» {@secondcolour}chatcolour.white" to run:
  131. if player does not have permission "chatcolour.white":
  132. send "{@maincolour}&lChatcolour &7» {@secondcolour}Missing permission! &7(chatcolour.white)"
  133. else:
  134. set {chatcolour::%player's uuid%} to "&f"
  135. send "{@maincolour}&lChatcolour &7» {@secondcolour}You set your chatcolour to &fWHITE!"
  136. wait 1 tick
  137. format gui slot 24 of player with shiny black concrete powder named "&0Black chatcolour" with lore "{@maincolour}Click to set your chatcolour to black!" and "{@secondcolour}Permission &7» {@secondcolour}chatcolour.black" to run:
  138. if player does not have permission "chatcolour.black":
  139. send "{@maincolour}&lChatcolour &7» {@secondcolour}Missing permission! &7(chatcolour.black)"
  140. else:
  141. set {chatcolour::%player's uuid%} to "&0"
  142. send "{@maincolour}&lChatcolour &7» {@secondcolour}You set your chatcolour to &0BLACK!"
  143. format gui slot 43 of player with barrier named "&cReset chatcolour" to run:
  144. send "&x&4&b&c&c&3&f&lChatcolour &7» &x&4&b&c&c&3&fYou reset your chatcolour!"
  145. set {chatcolour::%player's uuid%} to "&7"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement