Chearful

Untitled

Jun 2nd, 2016
6,313
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.77 KB | None | 0 0
  1. DATA HOSTED WITH ♥ BY PASTEBIN.COM - DOWNLOAD RAW - SEE ORIGINAL
  2. options:
  3. servername: &8[&4&lAstro&6&lUHC&8]&b&l
  4. perms: skript.startuhc
  5.  
  6. command /scatterplayers <world> <int> <text>:
  7. permission: {@perms}
  8. usage: /scatterplayers <world> <radius> <teams/solos>
  9. trigger:
  10. if arg-3 is "teams" or "team" or "t":
  11. loop 5 times:
  12. command "/team color"
  13. wait 3 ticks
  14. loop all players:
  15. set the loop-player's food level to 10
  16. loop all players:
  17. {spec::%loop-player%} is not set
  18. set the loop-player's gamemode to survival
  19. clear inventory of loop-player
  20. command "/freeze"
  21. command sender command "/sca %arg-1% %arg-2% teams"
  22. wait 3 seconds
  23. command "/time set day %arg-1%"
  24. else if arg-3 is "solos" or "solo" or "s":
  25. loop all players:
  26. set the loop-player's food level to 10
  27. loop all players:
  28. {spec::%loop-player%} is not set
  29. set the loop-player's gamemode to survival
  30. clear inventory of loop-player
  31. command "/freeze"
  32. command sender command "/sca %arg-1% %arg-2% *"
  33. wait 2 ticks
  34. command "/time set day %arg-1%"
  35.  
  36. command /latescatter <world> <int> <player>:
  37. usage: /latescatter <world> <radius> <player>
  38. permission: {@perms}
  39. trigger:
  40. command "/feed %arg-3%"
  41. loop 5 times:
  42. wait 1 tick
  43. clear inventory of arg-3
  44. wait 2 seconds
  45. give 2 cooked beef to arg-3
  46. set the arg-3's gamemode to survival
  47. command sender command "/sca %arg-1% %arg-2% %arg-3%"
  48. wait 5 seconds
  49. send "&fFinal Heal: &c3" to arg-3
  50. command "/playsound note.bass %arg-3% ~ ~ ~ 1 0.5 1"
  51. wait 1 second
  52. send "&fFinal Heal: &c2" to arg-3
  53. command "/playsound note.bass %arg-3% ~ ~ ~ 1 0.5 1"
  54. wait 1 second
  55. send "&fFinal Heal: &c1" to arg-3
  56. command "/playsound note.bass %arg-3% ~ ~ ~ 1 0.5 1"
  57. wait 1 second
  58. send "&fFinal Heal Given!" to arg-3
  59. command "/playsound note.bass %arg-3% ~ ~ ~ 1 0.5 1"
  60. heal arg-3
  61.  
  62. command /uhcstart <int> <int>:
  63. aliases: /start
  64. permission: {@perms}
  65. usage: /uhcstart <pvp time in minutes> <meetup time in minutes &l**AFTER PvP went off**&r>
  66. trigger:
  67. set {_w} to world of command sender
  68. command "/tm bc &63"
  69. loop all players:
  70. command "/playsound note.bass %loop-player% ~ ~ ~ 1 0.5 1"
  71. wait 1 second
  72. command "/tm bc &52"
  73. loop all players:
  74. command "/playsound note.bass %loop-player% ~ ~ ~ 1 0.5 1"
  75. wait 1 second
  76. command "/tm bc &a&l1"
  77. loop all players:
  78. command "/playsound note.bass %loop-player% ~ ~ ~ 1 0.5 1"
  79. wait 1 second
  80. command "/freeze"
  81. loop all players:
  82. {spec::%loop-player%} is not set
  83. give 10 cooked beef to the loop-player
  84. command "/tm bc &c&lGLHF!! "
  85. loop all players:
  86. command "/playsound random.pop %loop-player% ~ ~ ~ 1 2 1"
  87. wait 1 second
  88. command "/pvp global off"
  89. command "/time set day %{_w}%"
  90. loop all players:
  91. command "/playsound random.pop %loop-player% ~ ~ ~ 1 0.5 1"
  92. loop 3 times:
  93. wait 1 second
  94. command sender command "/butcher"
  95. broadcast "&4Butcher &aFinished!"
  96. wait 5 seconds
  97. broadcast "&cFinal &4Heal: &c3"
  98. loop all players:
  99. command "/playsound note.bass %loop-player% ~ ~ ~ 1 0.5 1"
  100. wait 1 second
  101. broadcast "&cFinal &4Heal: &c2"
  102. loop all players:
  103. command "/playsound note.bass %loop-player% ~ ~ ~ 1 0.5 1"
  104. wait 1 second
  105. broadcast "&cFinal &4Heal: &c1"
  106. loop all players:
  107. command "/playsound note.bass %loop-player% ~ ~ ~ 1 0.5 1"
  108. wait 1 second
  109. broadcast "&fFinal Heal Given!"
  110. loop all players:
  111. command "/playsound note.bass %loop-player% ~ ~ ~ 1 0.5 1"
  112. heal the loop-player
  113. execute console command "/timer -time 15m &4&lPvP Enabled"
  114. wait 1 second
  115. execute console command "/timers %arg-1% %arg-2%"
  116.  
  117. on death of player:
  118. {timer::running} is true
  119. command "/scoreboard players reset %tablist name of victim%"
  120. if attacker is not a player:
  121. command "/scoreboard players add &c&lPvE uhc 1"
  122. else if attacker is not set:
  123. command "/scoreboard players add &c&lPvE uhc 1"
  124. else:
  125. attacker is not victim
  126. command "/scoreboard players add %tablist name of attacker% uhc 1"
  127. set {_TeamNumber} to {Teams.InTeam::%victim%}
  128. delete {Teams.InTeam::%victim%}
  129. remove victim from {Team.%{_TeamNumber}%::*}
  130. command "/scoreboard teams leave %victim%"
  131. command "/wl remove %victim%"
  132. command "/xp -9999999999999l %victim%"
  133. set {ratetime::%victim%} to true
  134. send "{@servername} &fYou have 90 seconds to say goodbye! /rate <1-10> [<reason>] to rate the game!" to victim
  135. wait 90 seconds
  136. kick victim due to "&4&lGood Game! Thanks for playing!"
  137. delete {rated::%victim%}
  138. delete {ratetime::%victim%}
  139.  
  140. command /rate [<int>] [<text>]:
  141. trigger:
  142. if arg-1 is not set:
  143. if {timer::running} is not set:
  144. send "This is a unknown command"
  145. stop
  146. else:
  147. send "&f/rate <1-10> [<reason>]"
  148. if {timer::running} is not set:
  149. send "This is a unknown command"
  150. stop
  151. if arg-1 is more than 10:
  152. send "&cYou cannot rate more than &410"
  153. stop
  154. else if arg-1 is less than 0:
  155. send "&cYou cannot rate less than &40"
  156. stop
  157. else if arg-1 is not set:
  158. send "&cYou must specify a rate!"
  159. stop
  160. if {rated::%command sender%} is true:
  161. send "&fYou &calready&f have &crated!"
  162. stop
  163. if {ratetime::%command sender%} is not set:
  164. send "&fYou haven't &cdied!"
  165. stop
  166. set {rated::%command sender%} to true
  167. loop all ops:
  168. send "&c%command sender%&f rated the game &c%arg-1%/10" to loop-player
  169. if arg-2 is set:
  170. send "&fReason:&c %arg-2%" to loop-player
  171. else:
  172. send "&fNo &cReason&f given!"
  173. send "&fThank you for your rating!"
  174.  
  175. command /timers <int> <int>:
  176. usage: /timers <time till pvp> <time till mu after pvp>
  177. permission: {@perms}
  178. trigger:
  179. set {_w} to world of command sender
  180. command "/scoreboard objectives add uhc dummy &4&lAstro&6&lUHC"
  181. send "&fStarting timer!"
  182. set {timer::running} to true
  183. set {_pvptime} to arg-1
  184. set {_mutime} to arg-1+arg-2
  185. loop arg-1 times:
  186. {timer::running} is true
  187. command "/setmotd Game in Progress: &c&l%{_pvptime}%&8 minutes until &c&lPvP!"
  188. command "/scoreboard players set &c&lPvP uhc -%{_pvptime}%"
  189. command "/scoreboard players set &a&lMeetup uhc -%{_mutime}%"
  190. remove 1 from {_pvptime}
  191. remove 1 from {_mutime}
  192. wait 1 real minute
  193. {timer::running} is true
  194. command "/scoreboard players reset &c&lPvP"
  195. loop 3 times:
  196. broadcast "{@servername} PvP is on!"
  197. loop all players:
  198. command "/playsound random.explode %loop-player% ~ ~ ~ 1 0.5 1"
  199. wait 2 ticks
  200. command "/pvp global on"
  201. loop ({_mutime}) times:
  202. {timer::running} is true
  203. command "/setmotd Game in Progress::&a&l %{_mutime}%&8 minutes until &a&lMeetup!"
  204. command "/scoreboard players set &a&lMeetup uhc -%{_mutime}%"
  205. remove 1 from {_mutime}
  206. wait 1 real minute
  207. if {_mutime} is 15:
  208. command "/vote Permaday"
  209. {timer::running} is true
  210. command "/scoreboard players reset &a&lMeetup"
  211. command "/setmotd Game in Progress: &a&lMeetup&r is now!"
  212. loop 3 times:
  213. broadcast "{@servername} Meetup is NOW!"
  214. loop all players:
  215. command "/playsound random.explode %loop-player% ~ ~ ~ 1 0.5 1"
  216. wait 2 ticks
  217.  
  218. command /timerclear:
  219. permission: {@perms}
  220. trigger:
  221. delete {timer::running}
  222. send "&fTimer should be stopped within the next minute!"
  223. command "/playsound random.break %command sender% ~ ~ ~ 1 0.5 1"
  224. command "/scoreboard objectives remove uhc"
Advertisement
Add Comment
Please, Sign In to add comment