Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.72 KB | None | 0 0
  1. options:
  2. Logo: &e[&6TeamTC&e] &a
  3.  
  4. command /tools:
  5. aliases: /hubtools
  6. trigger:
  7. clear the player's inventory
  8. wait 1 tick
  9. set slot 0 of player to 1 compass named "{@Logo}Server Selector"
  10. set slot 1 of player to 1 quartz item named "{@Logo}Speed"
  11. set slot 2 of player to 1 clock named "{@Logo}Hide Players"
  12. set slot 3 of player to 1 diamond named "{@Logo}Donator Tools"
  13.  
  14. on join:
  15. clear the player's inventory
  16. wait 1 tick
  17. set slot 0 of player to 1 compass named "{@Logo}Server Selector"
  18. set slot 1 of player to 1 quartz item named "{@Logo}Speed"
  19. set slot 2 of player to 1 clock named "{@Logo}Hide Players"
  20. set slot 3 of player to 1 diamond named "{@Logo}Donator Tools"
  21. if {speed.%player%} is not set:
  22. set {speed.%player%} to false
  23. if {hiddenplayers.%player%} is not set:
  24. set {hiddenplayers.%player%} to false
  25. if {disco.%player%} is not set:
  26. set {disco.%player%} to false
  27. loop all players:
  28. if {hiddenplayers.%loop-player%} is true:
  29. hide player from loop-player
  30.  
  31. on build:
  32. if player does not have permission "TC.Admin":
  33. cancel event
  34.  
  35. on break:
  36. if player does not have permission "TC.Admin":
  37. cancel event
  38.  
  39. on drop:
  40. if player does not have permission "TC.Admin":
  41. cancel event
  42.  
  43. on pickup:
  44. if player has permission "TC.Admin":
  45. stop
  46. else:
  47. cancel event
  48.  
  49. on inventory click:
  50. if player does not have permission "TC.Admin":
  51. cancel event
  52.  
  53. on left click:
  54. if player's tool is diamond horse armor:
  55. if name of player's tool is "{@Logo}Paintball Gun":
  56. if {paintballdelay.%player%} is true:
  57. stop
  58. else:
  59. set {paintballdelay.%player%} to true
  60. if player's tool is a diamond horse armor:
  61. if name of held item is "{@Logo}Paintball Gun":
  62. loop 3 times:
  63. make the player shoot a snowball at speed 3
  64. play raw sound "fireworks.blast" at player with pitch 2 volume 0.6
  65. wait 3 ticks
  66. wait 5 ticks
  67. set {paintballdelay.%player%} to false
  68.  
  69. on right click:
  70. #if player's tool is a compass:
  71. # if name of player's tool is "{@Logo}Server Selector":
  72. # send "&aJhopp, do shit."
  73. if player's tool is a quartz item:
  74. if name of player's tool is "{@Logo}Speed":
  75. cancel event
  76. if {speed.%player%} is true:
  77. set {speed.%player%} to false
  78. send "{@Logo}Speed toggled off!"
  79. remove speed from player
  80. remove jump boost from player
  81. else:
  82. set {speed.%player%} to true
  83. send "{@Logo}Speed toggled on!"
  84. apply speed 4 to player for 999 days
  85. apply jump boost 1 to player for 999 days
  86.  
  87. if player's tool is a clock:
  88. if name of player's tool is "{@Logo}Hide Players":
  89. cancel event
  90. if {hiddenplayers.%player%} is true:
  91. set {hiddenplayers.%player%} to false
  92. send "{@Logo}All players are now visible!"
  93. reveal all players to player
  94. else:
  95. set {hiddenplayers.%player%} to true
  96. send "{@Logo}All players are hidden!"
  97. hide all players from player
  98.  
  99. if player's tool is a diamond:
  100. if name of player's tool is "{@Logo}Donator Tools":
  101. cancel event
  102. if player does not have permission "TC.VIP":
  103. send "{@Logo} &cThis is a donator only feature."
  104. send "&aDonator tools currently include &bpainball gun&f, &bhats &6(disco armor and particle trails soon)"
  105. stop
  106. else:
  107. clear the player's inventory
  108. wait 1 tick
  109. set player's current hotbar slot to 5
  110. set slot 0 of player to 1 redstone dust named "{@Logo}Trails"
  111. set slot 1 of player to player's skull named "{@Logo}Hats"
  112. set slot 2 of player to 1 diamond horse armor named "{@Logo}Paintball Gun"
  113. #set slot 3 of player to 1 leather helmet named "{@Logo}Disco Armor"
  114. set player's slot 8 to 1 arrow named "{@Logo}Back to Hub Tools"
  115.  
  116. if player's tool is an arrow:
  117. if name of player's tool is "{@Logo}Back to Hub Tools":
  118. cancel event
  119. clear the player's inventory
  120. wait 1 tick
  121. set slot 0 of player to 1 compass named "{@Logo}Server Selector"
  122. set slot 1 of player to 1 quartz item named "{@Logo}Speed"
  123. set slot 2 of player to 1 clock named "{@Logo}Hide Players"
  124. set slot 3 of player to 1 diamond named "{@Logo}Donator Tools"
  125.  
  126. if player's tool is diamond horse armor:
  127. if name of player's tool is "{@Logo}Paintball Gun":
  128. cancel event
  129. make the player shoot a snowball at speed 2.5
  130. play raw sound "fireworks.blast" at player with pitch 2 volume 0.5
  131.  
  132. if player's tool is player head:
  133. if name of player's tool is "{@Logo}Hats":
  134. cancel event
  135. open chest with 3 rows named "{@Logo}Hat Selector" to player
  136. wait 1 tick
  137. format slot 0 of player with 1 dirt named "&aDirt Hat" to close then run "hat 1 %player%"
  138. format slot 1 of player with 1 stone named "&aStone Hat" to close then run "hat 2 %player%"
  139. format slot 2 of player with 1 cobblestone named "&aCobble Hat" to close then run "hat 3 %player%"
  140. format slot 3 of player with 1 mossy cobblestone named "&aMossy Hat" to close then run "hat 4 %player%"
  141. format slot 4 of player with 1 fancy stone brick named "&aChiseled Brick Hat" to close then run "hat 5 %player%"
  142. format slot 5 of player with 1 brick block named "&aBrick Hat" to close then run "hat 6 %player%"
  143. format slot 6 of player with 1 note block named "&aNote Block" to close then run "hat 7 %player%"
  144. format slot 7 of player with 1 ice named "&aIce" to close then run "hat 8 %player%"
  145. format slot 8 of player with 1 bedrock named "&aBedrock" to close then run "hat 9 %player%"
  146. format slot 9 of player with 1 melon named "&aMelon Hat" to close then run "hat 10 %player%"
  147. format slot 10 of player with 1 jack-o-lantern named "&aJack o'Lantern" to close then run "hat 11 %player%"
  148. format slot 11 of player with 1 tnt named "&aTNT" to close then run "hat 12 %player%"
  149. format slot 12 of player with 1 snow block named "&aSnow" to close then run "hat 13 %player%"
  150. format slot 13 of player with 1 block of coal named "&aCoal Hat" to close then run "hat 14 %player%"
  151. format slot 14 of player with 1 nether brick block named "&aNether Brick" to close then run "hat 15 %player%"
  152. format slot 15 of player with 1 glowstone named "&aGlowstone" to close then run "hat 16 %player%"
  153. format slot 16 of player with 1 obsidian named "&aObsidian" to close then run "hat 17 %player%"
  154. format slot 17 of player with 1 end stone named "&aEnd Stone" to close then run "hat 18 %player%"
  155. format slot 18 of player with 1 diamond block named "&aDiamond Block" to close then run "hat 19 %player%"
  156. format slot 19 of player with 1 emerald block named "&aEmerald Block" to close then run "hat 20 %player%"
  157. format slot 20 of player with 1 gold block named "&aGold Block" to close then run "hat 21 %player%"
  158. format slot 21 of player with 1 iron block named "&aIron Block" to close then run "hat 22 %player%"
  159. format slot 22 of player with 1 lapis block named "&aLapis Block" to close then run "hat 23 %player%"
  160. format slot 23 of player with 1 redstone block named "&aRedstone" to close then run "hat 24 %player%"
  161. format slot 24 of player with 1 quartz block named "&aQuartz Block" to close then run "hat 25 %player%"
  162. format slot 25 of player with 1 packed ice named "&aPacked Ice" to close then run "hat 26 %player%"
  163. format slot 26 of player with 1 ender pearl of unbreaking 10 named "&bRemove Hat" to close then run "hat none %player%"
  164.  
  165. if player's tool is a compass:
  166. if name of player's tool is "{@Logo}Server Selector":
  167. cancel event
  168. open chest with 4 rows named "{@Logo}Servers" to player
  169. wait 1 tick
  170. format slot 11 of player with 1 grass block named "{@Logo}Survival" with lore "||&aClick to connect!||&bCome play some classic||&bsurvival with your fellow ThnxCyian's!||&0" to close then run "sudo %player% server survival"
  171. format slot 13 of player with 1 nether star named "{@Logo}Coming eventually" with lore "||&aWhat's this?||&bWhat will this be?||&0" to close then run "sudo %player% whatisthis"
  172. format slot 15 of player with 1 diamond block named "{@Logo}Creative" with lore "||&aClick to connect!||&bBuild to your hearts desire!||&0" to close then run "sudo %player% server creative"
  173. format slot 21 of player with 1 cobblestone named "{@Logo}SkyBlock" with lore "||&aClick to connect!||&bBuild the ultimate sky island||&0" to close then run "sudo %player% server skyblock"
  174. format slot 23 of player with 1 bow named "{@Logo}KitPvP" with lore "||&aClick to connect!||&bFight for dominance on our KitPvP server!||&0" to close then run "sudo %player% server kitpvp"
  175. format slot 31 of player with 1 diamond sword named "{@Logo}Factions" with lore "||&aClick to connect!||&bRaid and conquer the factions of TeamTC!||&0" to close then run "sudo %player% server factions"
  176.  
  177. if player's tool is redstone dust:
  178. if name of player's tool is "{@Logo}Trails":
  179. cancel event
  180. send "{@Logo}&cThis hasn't been added yet."
  181.  
  182. on projectile hit:
  183. if projectile is snowball:
  184. set {_block} to location of projectile
  185. play raw sound "random.pop" at {_block} with pitch 2 volume 0.3
  186. loop blocks in radius 3 around {_block}:
  187. loop-block isn't air or portal or fence or any slab or water or flower or any stairs or any head or any tall grass or trapdoor or ladder
  188. set {_blocktype.%location of loop-block%} to "%id of the loop-block%:%data value of the loop-block%" parsed as a item type
  189. make all players see the loop-block as any wool
  190. wait 3 seconds
  191. loop blocks in radius 3 around {_block}:
  192. loop-block isn't air or a sign or portal or fence or any slab or water or any stairs or any head
  193. make all players see the loop-block as {_blocktype.%location of loop-block%}
  194.  
  195. on shoot:
  196. if projectile is a snowball:
  197. if shooter is "_Motors_":
  198. wait 3 ticks
  199. trail projectile with particle drip lava
  200.  
  201. command /hat <text> <player>:
  202. permission: TC.Admin
  203. permission message:{@Logo} &cPlease use the hat tool to access hats.
  204. trigger:
  205. if argument 1 is "1":
  206. set helmet of argument 2 to dirt named "&bDirt"
  207. send "{@Logo}Hat set to &f'&eDirt&f'" to argument 2
  208. if argument 1 is "2":
  209. set helmet of argument 2 to stone named "&bStone"
  210. send "{@Logo}Hat set to &f'&eStone&f'" to argument 2
  211. if argument 1 is "3":
  212. set helmet of argument 2 to cobblestone named "&bCobblestone"
  213. send "{@Logo}Hat set to &f'&eCobblestone&f'" to argument 2
  214. if argument 1 is "4":
  215. set helmet of argument 2 to mossy cobblestone named "&bMossy Cobblestone"
  216. send "{@Logo}Hat set to &f'&eMossy Cobblestone&f'" to argument 2
  217. if argument 1 is "5":
  218. set helmet of argument 2 to fancy stone brick named "&bChiseled Brick"
  219. send "{@Logo}Hat set to &f'&eChiseled Brick&f'" to argument 2
  220. if argument 1 is "6":
  221. set helmet of argument 2 to brick block named "&bBrick"
  222. send "{@Logo}Hat set to &f'&eBrick&f'" to argument 2
  223. if argument 1 is "7":
  224. set helmet of argument 2 to note block named "&bNote Block"
  225. send "{@Logo}Hat set to &f'&eNote Block&f'" to argument 2
  226. if argument 1 is "8":
  227. set helmet of argument 2 to ice named "&bIce"
  228. send "{@Logo}Hat set to &f'&eIce&f'" to argument 2
  229. if argument 1 is "9":
  230. set helmet of argument 2 to bedrock named "&bBedrock"
  231. send "{@Logo}Hat set to &f'&eBedrock&f'" to argument 2
  232. if argument 1 is "10":
  233. set helmet of argument 2 to melon named "&bMelon"
  234. send "{@Logo}Hat set to &f'&eMelon&f'" to argument 2
  235. if argument 1 is "11":
  236. set helmet of argument 2 to jack-o-lantern named "&bJack o'Lantern"
  237. send "{@Logo}Hat set to &f'&eJack o'Lantern&f'" to argument 2
  238. if argument 1 is "12":
  239. set helmet of argument 2 to tnt named "&bTNT"
  240. send "{@Logo}Hat set to &f'&eTNT&f'" to argument 2
  241. if argument 1 is "13":
  242. set helmet of argument 2 to snow block named "&bSnow"
  243. send "{@Logo}Hat set to &f'&eSnow&f'" to argument 2
  244. if argument 1 is "14":
  245. set helmet of argument 2 to block of coal named "&bCoal Block"
  246. send "{@Logo}Hat set to &f'&eCoal Block&f'" to argument 2
  247. if argument 1 is "15":
  248. set helmet of argument 2 to nether brick block named "&bNether Brick"
  249. send "{@Logo}Hat set to &f'&eNether Brick&f'" to argument 2
  250. if argument 1 is "16":
  251. set helmet of argument 2 to glowstone named "&bGlowstone"
  252. send "{@Logo}Hat set to &f'&eGlowstone&f'" to argument 2
  253. if argument 1 is "17":
  254. set helmet of argument 2 to obsidian named "&bObsidian"
  255. send "{@Logo}Hat set to &f'&eObsidian&f'" to argument 2
  256. if argument 1 is "18":
  257. set helmet of argument 2 to end stone named "&bEnd Stone"
  258. send "{@Logo}Hat set to &f'&eEnd Stone&f'" to argument 2
  259. if argument 1 is "19":
  260. set helmet of argument 2 to diamond block named "&bDiamond"
  261. send "{@Logo}Hat set to &f'&eDiamond&f'" to argument 2
  262. if argument 1 is "20":
  263. set helmet of argument 2 to emerald block named "&bEmerald"
  264. send "{@Logo}Hat set to &f'&eEmerald&f'" to argument 2
  265. if argument 1 is "21":
  266. set helmet of argument 2 to gold block named "&bGold"
  267. send "{@Logo}Hat set to &f'&eGold&f'" to argument 2
  268. if argument 1 is "22":
  269. set helmet of argument 2 to iron block named "&bIron"
  270. send "{@Logo}Hat set to &f'&eIron&f'" to argument 2
  271. if argument 1 is "23":
  272. set helmet of argument 2 to lapis block named "&bLapis"
  273. send "{@Logo}Hat set to &f'&eLapis&f'" to argument 2
  274. if argument 1 is "24":
  275. set helmet of argument 2 to redstone block named "&bRedstone"
  276. send "{@Logo}Hat set to &f'&eRedstone&f'" to argument 2
  277. if argument 1 is "25":
  278. set helmet of argument 2 to quartz block named "&bQuartz"
  279. send "{@Logo}Hat set to &f'&eQuartz&f'" to argument 2
  280. if argument 1 is "26":
  281. set helmet of argument 2 to packed ice named "&bPacked Ice"
  282. send "{@Logo}Hat set to &f'&ePacked Ice&f'" to argument 2
  283. if argument 1 is "none":
  284. if helmet of argument 2 is air:
  285. send "{@Logo}You don't have a hat to remove!" to argument 2
  286. else:
  287. set helmet of argument 2 to air
  288. send "{@Logo}Hat removed." to argument 2
  289.  
  290. command /whatisthis:
  291. trigger:
  292. send "{@Logo} &aMaybe this should be the arcade? o:"
  293.  
  294. command /makeitrain:
  295. permission: TC.VIP
  296. permission message:&e[&6TeamTC&e] &cYou do not have permission to execute this command.
  297. trigger:
  298. loop blocks in radius 9 around {rain}:
  299. if loop-block is block moved by piston:
  300. spawn 1 snowball below loop-block
  301. broadcast "{@Logo}%player% made it rain!"
  302. set {rain.delay} to now
  303.  
  304. on command "/makeitrain":
  305. if {rain.delay} is set:
  306. set {_rain.delay} to difference between {rain.delay} and now
  307. if {_rain.delay} is less than 30 seconds:
  308. set {_rain.delay} to difference between {_rain.delay} and 30 seconds
  309. send "{@Logo}&cPlease wait &e%{_rain.delay}% &cto use this again."
  310. cancel event
  311. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement