NoHacksJustACow

#Kits

Jan 30th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.19 KB | None | 0 0
  1. #
  2. #Made by TastqQuery
  3. #Edited by NoHacksJustACow
  4. #
  5.  
  6. options:
  7. p: &8[&cCowFarms Timer&8]
  8.  
  9. command /keys:
  10. trigger:
  11. open virtual chest inventory with size 3 named "&8Keys" to player
  12. make gui slot 0 of player with black glass pane named " " to do nothing
  13. make gui slot 1 of player with black glass pane named " " to do nothing
  14. make gui slot 2 of player with black glass pane named " " to do nothing
  15. make gui slot 3 of player with black glass pane named " " to do nothing
  16. make gui slot 4 of player with black glass pane named " " to do nothing
  17. make gui slot 5 of player with black glass pane named " " to do nothing
  18. make gui slot 6 of player with black glass pane named " " to do nothing
  19. make gui slot 7 of player with black glass pane named " " to do nothing
  20. make gui slot 8 of player with black glass pane named " " to do nothing
  21. make gui slot 9 of player with black glass pane named " " to do nothing
  22. make gui slot 17 of player with black glass pane named " " to do nothing
  23. make gui slot 18 of player with black glass pane named " " to do nothing
  24. make gui slot 19 of player with black glass pane named " " to do nothing
  25. make gui slot 20 of player with black glass pane named " " to do nothing
  26. make gui slot 21 of player with black glass pane named " " to do nothing
  27. make gui slot 22 of player with black glass pane named " " to do nothing
  28. make gui slot 23 of player with black glass pane named " " to do nothing
  29. make gui slot 24 of player with black glass pane named " " to do nothing
  30. make gui slot 25 of player with black glass pane named " " to do nothing
  31. make gui slot 26 of player with black glass pane named " " to do nothing
  32. make gui slot 11 of player with light gray glass pane named " " to close
  33. make gui slot 12 of player with light gray glass pane named " " to close
  34. make gui slot 13 of player with light gray glass pane named " " to close
  35. make gui slot 14 of player with light gray glass pane named " " to close
  36. make gui slot 15 of player with light gray glass pane named " " to close
  37. make gui slot 16 of player with light gray glass pane named " " to close
  38. make gui slot 10 of player with tripwire_hook named "&cDaily Key" with lore "&eThis is a 24 Hour key" to run:
  39. set {_waited24} to difference between {24.%player%.lastused} and now
  40. if {_waited24} is less than 24 hours:
  41. message "{@p} &7You have to wait &e%difference between 24 hours and {_waited24}% &7before you can use this command again!"
  42. stop
  43. player doesn't have space for a tripwire_hook:
  44. message "&cYou do not have enough space in your inventory!"
  45. stop
  46.  
  47. execute console command "crate key %player% Daily 1"
  48. send "&eRecieved 24 Hour Key"
  49.  
  50. set {24.%player%.lastused} to now
  51.  
  52. command /admin [<text> [<text>]]:
  53. permission: op
  54. trigger:
  55. if arg-1 is not set:
  56. send "&c/admin <IGN> <kit/key>"
  57. if arg-2 is "*":
  58. set {starter.%arg-1%.lastused} to 50
  59. set {vip.%arg-1%.lastused} to 50
  60. set {vip+.%arg-1%.lastused} to 50
  61. set {mvp.%arg-1%.lastused} to 50
  62. set {mvp+.%arg-1%.lastused} to 50
  63. set {mvp++.%arg-1%.lastused} to 50
  64. set {24.%arg-1%.lastused} to 50
  65. send "&eResetting Timers"
  66. if arg-2 is "starter":
  67. set {starter.%arg-1%.lastused} to 50
  68. send "&eResetting Time"
  69. if arg-2 is "vip":
  70. set {vip.%arg-1%.lastused} to 50
  71. send "&eResetting Time"
  72. if arg-2 is "vip+":
  73. set {vip+.%arg-1%.lastused} to 50
  74. send "&eResetting Time"
  75. if arg-2 is "mvp":
  76. set {mvp.%arg-1%.lastused} to 50
  77. send "&eResetting Time"
  78. if arg-2 is "mvp+":
  79. set {mvp+.%arg-1%.lastused} to 50
  80. send "&eResetting Time"
  81. if arg-2 is "mvp++":
  82. set {mvp++.%arg-1%.lastused} to 50
  83. send "&eResetting Time"
  84. if arg-2 is "24":
  85. set {24.%arg-1%.lastused} to 50
  86. send "&eResetting Time"
  87. if arg-2 is not set:
  88. send "&cVip,Mvp,24"
  89.  
  90. command /kit [<text>]:
  91. aliases: /kits
  92. trigger:
  93. if arg-1 is "starter":
  94. if player has permission "starter":
  95. set {_starter} to difference between {starter.%player%.lastused} and now
  96. if {_starter} is less than 24 hours:
  97. message "{@p} &7You have to wait &e%difference between 24 hours and {_starter}% &7before you can use this kit again!"
  98. stop
  99. player doesn't have space for a diamond_sword:
  100. message "&cYou do not have enough space in your inventory!"
  101. stop
  102.  
  103. give player 1 diamond_sword
  104. give player 1 iron_hoe
  105. give player 2 ice_block
  106. give player 2 bucket
  107. give player 16 seeds
  108. give player 16 oak_log
  109.  
  110. send "&eRecieved Kit Starter"
  111.  
  112. set {starter.%player%.lastused} to now
  113.  
  114. if arg-1 is not set:
  115. send "&c/kit <rank>"
  116.  
  117. if arg-1 is "vip":
  118. if player has permission "vip":
  119. set {_vip} to difference between {vip.%player%.lastused} and now
  120. if {_vip} is less than 24 hours:
  121. message "{@p} &7You have to wait &e%difference between 24 hours and {_vip}% &7before you can use this kit again!"
  122. stop
  123. player doesn't have space for a diamond_sword:
  124. message "&cYou do not have enough space in your inventory!"
  125. stop
  126.  
  127. give player diamond_sword of sharpness 1 named "&a&lVIP KIT"
  128. give player diamond_helmet of protection 1 named "&a&lVIP KIT"
  129. give player diamond_chestplate of protection 1 named "&a&lVIP KIT"
  130. give player diamond_leggings of protection 1 named "&a&lVIP KIT"
  131. give player diamond_boots of protection 1 named "&a&lVIP KIT"
  132. execute console command "crate key %player% donor 1"
  133. give player 2 diamond_blocks
  134. send "&eRecieved Kit Vip"
  135.  
  136. set {vip.%player%.lastused} to now
  137.  
  138. if arg-1 is not set:
  139. send "&c/kit <rank>"
  140.  
  141. if arg-1 is "vip+":
  142. if player has permission "vip+":
  143. set {_vip+} to difference between {vip+.%player%.lastused} and now
  144. if {_vip+} is less than 24 hours:
  145. message "{@p} &7You have to wait &e%difference between 24 hours and {_vip+}% &7before you can use this kit again!"
  146. stop
  147. player doesn't have space for a diamond_sword:
  148. message "&cYou do not have enough space in your inventory!"
  149. stop
  150.  
  151. give player diamond_sword of sharpness 2 named "&a&lVIP&6&l+ &a&lKIT"
  152. give player diamond_helmet of protection 2 named "&a&lVIP&6&l+ &a&lKIT"
  153. give player diamond_chestplate of protection 2 named "&a&lVIP&6&l+ &a&lKIT"
  154. give player diamond_leggings of protection 2 named "&a&lVIP&6&l+ &a&lKIT"
  155. give player diamond_boots of protection 2 named "&a&lVIP&6&l+ &a&lKIT"
  156. execute console command "crate key %player% donor 2"
  157. give player 4 diamond_blocks
  158. send "&eRecieved Kit Vip+"
  159.  
  160. set {vip+.%player%.lastused} to now
  161.  
  162. if arg-1 is "mvp":
  163. if player has permission "mvp":
  164. set {_mvp} to difference between {mvp.%player%.lastused} and now
  165. if {_mvp} is less than 24 hours:
  166. message "{@p} &7You have to wait &e%difference between 24 hours and {_mvp}% &7before you can use this kit again!"
  167. stop
  168. player doesn't have space for a diamond_sword:
  169. message "&cYou do not have enough space in your inventory!"
  170. stop
  171.  
  172. give player diamond_sword of sharpness 3 named "&b&lMVP KIT"
  173. give player diamond_helmet of protection 3 named "&b&lMVP KIT"
  174. give player diamond_chestplate of protection 3 named "&b&lMVP KIT"
  175. give player diamond_leggings of protection 3 named "&b&lMVP KIT"
  176. give player diamond_boots of protection 3 named "&b&lMVP KIT"
  177. execute console command "crate key %player% donor 3"
  178. give player 6 diamond_blocks
  179. send "&eRecieved Kit MVP"
  180.  
  181. set {mvp.%player%.lastused} to now
  182.  
  183.  
  184. if arg-1 is "mvp+":
  185. if player has permission "mvp+":
  186. set {_mvp+} to difference between {mvp+.%player%.lastused} and now
  187. if {_mvp+} is less than 24 hours:
  188. message "{@p} &7You have to wait &e%difference between 24 hours and {_mvp+}% &7before you can use this kit again!"
  189. stop
  190. player doesn't have space for a diamond_sword:
  191. message "&cYou do not have enough space in your inventory!"
  192. stop
  193.  
  194. give player diamond_sword of sharpness 4 named "&b&lMVP&c&l+ &b&lKIT"
  195. give player diamond_helmet of protection 4 named "&b&lMVP&c&l+ &b&lKIT"
  196. give player diamond_chestplate of protection 4 named "&b&lMVP&c&l+ &b&lKIT"
  197. give player diamond_leggings of protection 4 named "&b&lMVP&c&l+ &b&lKIT"
  198. give player diamond_boots of protection 4 named "&b&lMVP&c&l+ &b&lKIT"
  199. execute console command "crate key %player% donor 4"
  200. give player 8 diamond_blocks
  201. send "&eRecieved Kit Mvp+"
  202.  
  203. set {mvp+.%player%.lastused} to now
  204.  
  205. if arg-1 is "mvp++":
  206. if player has permission "mvp++":
  207. set {_mvp++} to difference between {mvp++.%player%.lastused} and now
  208. if {_mvp++} is less than 24 hours:
  209. message "{@p} &7You have to wait &e%difference between 24 hours and {_mvp++}% &7before you can use this kit again!"
  210. stop
  211. player doesn't have space for a diamond_sword:
  212. message "&cYou do not have enough space in your inventory!"
  213. stop
  214.  
  215. give player diamond_sword of sharpness 5 named "&b&lMVP&6&l++ &b&lKIT"
  216. give player diamond_helmet of protection 5 named "&b&lMVP&6&l++ &b&lKIT"
  217. give player diamond_chestplate of protection 5 named "&b&lMVP&6&l++ &b&lKIT"
  218. give player diamond_leggings of protection 5 named "&b&lMVP&6&l++ &b&lKIT"
  219. give player diamond_boots of protection 5 named "&b&lMVP&6&l++ &b&lKIT"
  220. execute console command "crate key %player% donor 5"
  221. give player 10 diamond_blocks
  222. send "&eRecieved Kit Mvp++"
  223.  
  224. set {mvp++.%player%.lastused} to now
  225.  
  226. command /ranks:
  227. trigger:
  228. send "&8[&aRanks&8] &8[&a&lVIP&8] &f,&8[&a&lVIP&6&l+&8] &f,&8[&b&lMVP&8] &f,&8[&b&lMVP&c&l+&8] &f,&8[&b&lMVP&6&l++&8]"
  229.  
  230.  
  231. command /cooldown:
  232. trigger:
  233. send "&8&m---------*---------------*------------"
  234. send " "
  235. send "&7Starter Kit: &c%difference between 24 hours and {_starter}%"
  236. send "&a&lVIP Kit: &c%difference between 24 hours and {_vip}%"
  237. send "&a&lVIP&6&l+ &a&lKit: &c%difference between 24 hours and {_vip+}%"
  238. send "&b&lMVP &b&lKit: &c%difference between 24 hours and {_mvp}%"
  239. send "&b&lMVP&c&l+ &b&lKit: &c%difference between 24 hours and {_mvp+}%"
  240. send "&b&lMVP&6&l++ &b&lKit: &c%difference between 24 hours and {_mvp++}%"
  241. send " "
  242. send "&8&m---------*---------------*------------"
Advertisement
Add Comment
Please, Sign In to add comment