Advertisement
Guest User

Untitled

a guest
Jan 11th, 2017
880
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.02 KB | None | 0 0
  1. #Skript By Jakekub
  2. #Please test all of these features before you use this!
  3. #This Skript Contains: Flint Rates, Apple Rates, Squids dropping clownfish, magma cube rates, horse spawn rates, absorption
  4. #toggle, brewing stand broadcast, ender pearl damage, slots, night vision, deathkick, clearxp, boot a player (kick + unwhitelist),
  5. #forcefield test, fence glitch protection, admin chat, killboard, head drop toggle, permaday, temple bomb warner, and link command
  6.  
  7. options:
  8.  
  9. P: <cyan>[<gray>UHC<cyan>]
  10. CC: &b
  11. MC: &7
  12. ac: <cyan>[<dark grey>AdminChat<cyan>]
  13.  
  14.  
  15.  
  16.  
  17. #SquidsDropClownfish
  18.  
  19. command /squid [<text>]:
  20. usage: /squid <on/off>
  21. permission: skript.op
  22. trigger:
  23. if arg 1 is "on":
  24. set {squid} to true
  25. broadcast "<cyan>[<gray>UHC<cyan>] <r>Squid will drop clownfish"
  26.  
  27. if arg 1 is "off":
  28. delete {squid}
  29. broadcast "<cyan>[<gray>UHC<cyan>] <r>Squid will not drop clownfish"
  30.  
  31. on death of squid:
  32. {squid} is true
  33. drop 1 fish item:2 at location of squid
  34.  
  35. #BrewingStandBroadcast
  36.  
  37. command /brewcraft [<text>]:
  38. usage: /brewcraft <on/off>
  39. permission: skript.op
  40. trigger:
  41. if arg 1 is "on":
  42. set {brewcraft} to true
  43. broadcast "{@P} <r>Brewing Stand Broadcast Enabled"
  44.  
  45. if arg 1 is "off":
  46. delete {brewcraft}
  47. broadcast "{@P} <r>Brewing Stand Broadcast Disabled"
  48.  
  49.  
  50. on craft of brewing stand:
  51. {brewcraft} is true
  52. broadcast "<cyan>[<gray>UHC<cyan>] <light red><b>Someone has crafted a <red><b>brewing stand!"
  53.  
  54.  
  55. on consume of Golden Apple:
  56. {absorption} is false
  57. wait 1 tick
  58. remove absorption from the player
  59.  
  60. #MagmaCubeSpawnRates
  61.  
  62. command /magmacubes [<text>]:
  63. usage: /magmacubes <rate>
  64. permission: skript.op
  65. trigger:
  66. set {MAGMARATE} to arg-1
  67. set {MagmaCubes} to true
  68. broadcast "{@P} <light red>%{MAGMARATE}% Percent of Zombie Pigman are now with Magma Cubes"
  69.  
  70. if arg-1 is "reset":
  71. delete {MagmaCubes}
  72. set {MAGMARATE} to false
  73. broadcast "{@P} <light red>Magma Cube Rates Reset"
  74.  
  75. on spawn of zombie pigman:
  76. {MagmaCube} is true
  77. chance of {MAGMARATE}%
  78. cancel the event
  79. spawn 1 magma cube at zombie pigman
  80.  
  81. #HorseSpawnRates
  82.  
  83. command /horserates [<text>]:
  84. usage: /horserates <rate>
  85. permission: skript.op
  86. trigger:
  87. set {HORSESPAWNRATE} to arg-1
  88. set {HorseR8} to true
  89. broadcast "{@P} <white>Horse Spawn Rates are now decreased by %{HORSESPAWNRATE}% Percent"
  90.  
  91. if arg-1 is "reset":
  92. delete {HorseR8}
  93. set {HORSESPAWNRATE} to false
  94. broadcast "{@P} <white>Horse Spawn Rates Reset"
  95.  
  96. on spawn:
  97. {HorseR8} is true
  98. entity is a horse
  99. chance of {HORSESPAWNRATE}%
  100. cancel the event
  101.  
  102. #EnderPearlDamage
  103.  
  104. command /epdmg [<text>]:
  105. usage: /epdmg <hearts>
  106. permission: skript.op
  107. aliases: /enderdamage, /enderdmg, /epdamage, /enderpearldamage
  108. trigger:
  109. set {EPDMG} to arg-1
  110. set {EnderDMG} to true
  111. broadcast "{@P} <purple>Ender Pearl Damage is now %{EPDMG}% Hearts"
  112.  
  113. if arg-1 is "1":
  114. set {EPDMG} to 1
  115. set {EnderDMG} to true
  116. broadcast "{@P} <purple>Ender Pearl Damage is now 1 Heart"
  117.  
  118. if arg-1 is "reset":
  119. delete {EnderDMG}
  120. set {EPDMG} to false
  121. broadcast "{@P} <purple> Ender Pearl Damage Reset"
  122.  
  123. on shoot:
  124. {EnderDMG} is true
  125. projectile is a ender pearl
  126. damage the shooter by {EPDMG} hearts
  127.  
  128. #ApplyNightVision
  129.  
  130. command /nightvision:
  131. permission: skript.op
  132. aliases: /nv, /nvision
  133. trigger:
  134. apply night vision to the player for 999 days
  135. message "<cyan>[<gray>UHC<Cyan>] <blue>You have been given <green>Night Vision"
  136.  
  137.  
  138. #BootPlayer - Thanks to ChazGamer for the skript!
  139.  
  140. command /boot <player>:
  141. description: Kick and remove a player from the whitelist
  142. usage: /boot <player>
  143. permission: skript.op
  144. trigger:
  145. execute console command "/whitelist remove %arg 1%"
  146. execute console command "/kick %arg 1% You have been booted"
  147.  
  148. #ClearXP - Thanks to Qeau for the skript!
  149.  
  150. command /clearxp [<player>]:
  151. description: Clear the XP of all players, or 1 specific player.
  152. permission: skript.op
  153. permission message: &4You don't have permission to do this!
  154. trigger:
  155. if arg 1 is set:
  156. execute console command "/xp -2471L %arg 1%"
  157. execute console command "/playsound random.orb %arg 1%"
  158. send "{@P} Your experience has been cleared!" to arg 1
  159. send "{@P} {@CC}%arg 1%'s {@MC}XP was cleared!" to the command sender
  160. else:
  161. loop all players:
  162. execute console command "/xp -24791L %loop-player%"
  163. execute console command "/playsound random.orb %loop-player%"
  164. broadcast "{@P}{@MC} Everyone's XP has been cleared!"
  165.  
  166. #DeathKick
  167.  
  168. command /deathkick [<text>]:
  169. usage: /deathkick <on/off>
  170. trigger:
  171. if arg 1 is "on":
  172. set {deathkick} to true
  173. broadcast "{@P} <gray>Death Kick Enabled"
  174. if arg 1 is "off":
  175. delete {deathkick}
  176. broadcast "{@P} <gray>Death Kick Disabled"
  177.  
  178. on death of player:
  179. {deathkick} is true
  180. execute player command "/xp set 0"
  181. command "/whitelist remove %victim%"
  182. execute console command "/leaveteam"
  183. wait 3 ticks
  184. command "/warp spawn %victim%"
  185. wait 1 minute
  186. execute console command "/kick %player%"
  187.  
  188. #FenceGlitchProtection - Thanks to Camaro for the skript!
  189.  
  190. on rightclick on fence holding steak or raw beef or raw porkchop or apple or mushroom stew or bread or golden apple or raw fish or raw salmon or pufferfish or cooked fish or cooked salmon or cookie or melon or raw chicken or cooked chicken or rotten flesh or spider eye or carrot or potato or baked potato or golden carrot or pumpkin pie or iron sword or diamond sword or golden sword or wood sword or stone sword or bow:
  191. cancel event
  192.  
  193. on rightclick on nether brick fence holding steak or raw beef or raw porkchop or apple or mushroom stew or bread or golden apple or raw fish or raw salmon or pufferfish or cooked fish or cooked salmon or cookie or melon or raw chicken or cooked chicken or rotten flesh or spider eye or carrot or potato or baked potato or golden carrot or pumpkin pie or iron sword or diamond sword or golden sword or wood sword or stone sword or bow:
  194. cancel event
  195.  
  196. #ForcefieldTest
  197.  
  198. command /fftest:
  199. permission: skript.op
  200. trigger:
  201. command "/reappear %player%"
  202. wait 11 ticks
  203. command "/vanish %player%"
  204.  
  205. #HealthCommands - Sets Hearts in 1.8
  206.  
  207. command /fixhealth:
  208. permission: skript.op
  209. trigger:
  210. command "/scoreboard objectives add HEALTH health Health"
  211. command "/scoreboard objectives add healthname health Health"
  212. command "/scoreboard objectives setdisplay list HEALTH"
  213. command "/scoreboard objectives setdisplay belowName healthname"
  214. broadcast "{@P} <Light Purple>Health is now out of 20"
  215.  
  216. command /h <player>:
  217. usage: /h <player> - See health of a player
  218. aliases: /health
  219. trigger:
  220. message "{@P} &9%arg 1% &ris on &e%health of arg 1% hearts&r!"
  221.  
  222. #Killboard
  223.  
  224. command /killboard <text> <text>:
  225. permission: skript.op
  226. trigger:
  227. if arg 1 is "on":
  228. execute console command "/scoreboard objectives add Kills playerKillCount <light red>Kills <light gray>- <light red>%arg-2%"
  229. execute console command "/scoreboard objectives setdisplay sidebar Kills"
  230. broadcast "{@P} <White>Killboard On"
  231.  
  232. command /delkillboard:
  233. permission: skript.op
  234. trigger:
  235. command "/scoreboard objectives remove Kills"
  236. broadcast "{@P} <White>Killboard Off"
  237.  
  238. #HeadDrops
  239.  
  240. on death:
  241. {PlayerHeads} is true
  242. victim is player
  243. drop the victim's skull at victim
  244.  
  245. command /givehead [<text>]:
  246. permission: skript.op
  247. trigger:
  248. make player execute command "/i head:3 1 player:%arg-1%"
  249.  
  250. command /heads <text>:
  251. usage: /heads <on/off>
  252. permission: skript.op
  253. trigger:
  254. if arg 1 is "on":
  255. set {PlayerHeads} to true
  256. broadcast "{@P} <r>Heads On"
  257. if arg 1 is "off":
  258. delete {PlayerHeads}
  259. broadcast "{@P} <r>Heads Off"
  260.  
  261. #LinkNetherToOverworld
  262.  
  263. command /link <text> <text>:
  264. usage: /link <world> <world>
  265. trigger:
  266. command "/mvnp link nether %arg-1% %arg-2%"
  267. command "/mvnp link nether %arg-2% %arg-1%"
  268. broadcast "{@P} &8Worlds &c%arg-1% &8and &c%arg-2% &8Linked!"
  269.  
  270. #Permaday
  271.  
  272. command /perma:
  273. permission: skript.perma
  274. trigger:
  275. execute console command "/time set 6000"
  276. wait 1 second
  277. make player execute command "/gamerule doDaylightCycle false"
  278. broadcast "{@P} <Yellow>Permaday Activated"
  279.  
  280. #TempleBombAlert - Thanks to Fleft for the skript!
  281.  
  282. on pressure plate:
  283. block at location 1 below event-block is sandstone
  284. block at location 2 below event-block is tnt
  285. add "&c%event-player%&a" to {_People::*}
  286. loop players in radius 10 around event-block:
  287. loop-player is not event-player
  288. add "&a%loop-player%" to {_People::*}
  289. if (size of ({_People::*})) is 1:
  290. set {_People::*} to "&c%event-player%&r and &ano one else."
  291. loop all players:
  292. loop-player is an op
  293. message "{@P} &e&lTemple Bomb: %{_People::*}%" to loop-player
  294.  
  295. #Slots
  296.  
  297. command /slots <text>:
  298. usage: /slots <amount of slots>
  299. permission: skript.op
  300. trigger:
  301. make player execute command "/maxplayers %arg-1%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement