Advertisement
Guest User

Untitled

a guest
Jul 19th, 2015
1,649
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.24 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. #FlintRates
  15.  
  16. command /flintrates [<text>]:
  17. usage: /flintrates <rate>
  18. permission: skript.op
  19. trigger:
  20. set {FLINTRATE} to arg-1
  21. set {flint} to true
  22. broadcast "{@P} <r>Flint Rates are now %{FLINTRATE}% Percent"
  23.  
  24. if arg-1 is "reset":
  25. delete {flint}
  26. set {FLINTRATE} to false
  27. broadcast "{@P} <r>Flint Rates Reset"
  28.  
  29. on mine of gravel:
  30. {flint} is true
  31. chance of {FLINTRATE}%
  32. set block to air
  33. cancel the event
  34. drop 1 flint
  35.  
  36. #AppleRates
  37.  
  38. command /applerates [<text>]:
  39. usage: /applerates <rate>
  40. permission: skript.op
  41. trigger:
  42. if arg-1 is "reset":
  43. delete {apples}
  44. set {APPLERATE} to false
  45. broadcast "{@P} <r>Apple Rates Reset"
  46.  
  47. if arg-1 is not "reset":
  48. set {APPLERATE} to arg-1
  49. set {apples} to true
  50. broadcast "{@P} <r>Apple Rates are now %{APPLERATE}% Percent"
  51.  
  52. on mine of oak leaves:
  53. {apples} is true
  54. chance of {APPLERATE}%
  55. drop 1 apple
  56.  
  57. on mine of oak leaves:
  58. {apples} is true
  59. chance of 5%
  60. drop 1 oak sapling
  61.  
  62. on leaves decay:
  63. {apples} is true
  64. chance of {APPLERATE}%
  65. drop 1 apple
  66.  
  67. on mine of oak leaves:
  68. {apples} is true
  69. player is holding shears
  70. set block to air
  71.  
  72. #SquidsDropClownfish
  73.  
  74. command /squid [<text>]:
  75. usage: /squid <on/off>
  76. permission: skript.op
  77. trigger:
  78. if arg 1 is "on":
  79. set {squid} to true
  80. broadcast "<cyan>[<gray>UHC<cyan>] <r>Squid will drop clownfish"
  81.  
  82. if arg 1 is "off":
  83. delete {squid}
  84. broadcast "<cyan>[<gray>UHC<cyan>] <r>Squid will not drop clownfish"
  85.  
  86. on death of squid:
  87. {squid} is true
  88. drop 1 fish item:2 at location of squid
  89.  
  90. #BrewingStandBroadcast
  91.  
  92. command /brewcraft [<text>]:
  93. usage: /brewcraft <on/off>
  94. permission: skript.op
  95. trigger:
  96. if arg 1 is "on":
  97. set {brewcraft} to true
  98. broadcast "{@P} <r>Brewing Stand Broadcast Enabled"
  99.  
  100. if arg 1 is "off":
  101. delete {brewcraft}
  102. broadcast "{@P} <r>Brewing Stand Broadcast Disabled"
  103.  
  104.  
  105. on craft of brewing stand:
  106. {brewcraft} is true
  107. broadcast "<cyan>[<gray>UHC<cyan>] <light red><b>Someone has crafted a <red><b>brewing stand!"
  108.  
  109. #Absorption
  110.  
  111. command /absorption [<text>]:
  112. usage: /absorption <on/off>
  113. permission: skript.op
  114. trigger:
  115. if arg 1 is "on":
  116. set {absorption} to true
  117. broadcast "<cyan>[<gray>UHC<cyan>] <r>Absorption is Enabled"
  118.  
  119. if arg 1 is "off":
  120. delete {absorption}
  121. broadcast "<cyan>[<gray>UHC<cyan>] <r>Absorption is Disabled"
  122.  
  123. on consume of Golden Apple:
  124. {absorption} is false
  125. wait 1 tick
  126. remove absorption from the player
  127.  
  128. #MagmaCubeSpawnRates
  129.  
  130. command /magmacubes [<text>]:
  131. usage: /magmacubes <rate>
  132. permission: skript.op
  133. trigger:
  134. set {MAGMARATE} to arg-1
  135. set {MagmaCubes} to true
  136. broadcast "{@P} <light red>%{MAGMARATE}% Percent of Zombie Pigman are now with Magma Cubes"
  137.  
  138. if arg-1 is "reset":
  139. delete {MagmaCubes}
  140. set {MAGMARATE} to false
  141. broadcast "{@P} <light red>Magma Cube Rates Reset"
  142.  
  143. on spawn of zombie pigman:
  144. {MagmaCube} is true
  145. chance of {MAGMARATE}%
  146. cancel the event
  147. spawn 1 magma cube at zombie pigman
  148.  
  149. #HorseSpawnRates
  150.  
  151. command /horserates [<text>]:
  152. usage: /horserates <rate>
  153. permission: skript.op
  154. trigger:
  155. set {HORSESPAWNRATE} to arg-1
  156. set {HorseR8} to true
  157. broadcast "{@P} <white>Horse Spawn Rates are now decreased by %{HORSESPAWNRATE}% Percent"
  158.  
  159. if arg-1 is "reset":
  160. delete {HorseR8}
  161. set {HORSESPAWNRATE} to false
  162. broadcast "{@P} <white>Horse Spawn Rates Reset"
  163.  
  164. on spawn:
  165. {HorseR8} is true
  166. entity is a horse
  167. chance of {HORSESPAWNRATE}%
  168. cancel the event
  169.  
  170. #EnderPearlDamage
  171.  
  172. command /epdmg [<text>]:
  173. usage: /epdmg <hearts>
  174. permission: skript.op
  175. aliases: /enderdamage, /enderdmg, /epdamage, /enderpearldamage
  176. trigger:
  177. set {EPDMG} to arg-1
  178. set {EnderDMG} to true
  179. broadcast "{@P} <purple>Ender Pearl Damage is now %{EPDMG}% Hearts"
  180.  
  181. if arg-1 is "1":
  182. set {EPDMG} to 1
  183. set {EnderDMG} to true
  184. broadcast "{@P} <purple>Ender Pearl Damage is now 1 Heart"
  185.  
  186. if arg-1 is "reset":
  187. delete {EnderDMG}
  188. set {EPDMG} to false
  189. broadcast "{@P} <purple> Ender Pearl Damage Reset"
  190.  
  191. on shoot:
  192. {EnderDMG} is true
  193. projectile is a ender pearl
  194. damage the shooter by {EPDMG} hearts
  195.  
  196. #ApplyNightVision
  197.  
  198. command /nightvision:
  199. permission: skript.op
  200. aliases: /nv, /nvision
  201. trigger:
  202. apply night vision to the player for 999 days
  203. message "<cyan>[<gray>UHC<Cyan>] <blue>You have been given <green>Night Vision"
  204.  
  205. #AdminChat
  206.  
  207. command /adminchat <text>:
  208. permission: skript.op
  209. aliases: /ac
  210. trigger:
  211. loop all ops:
  212. send "{@ac} <dark blue><b>%player%: <light blue>%arg-1%" to loop-player
  213.  
  214. #BootPlayer - Thanks to ChazGamer for the skript!
  215.  
  216. command /boot <player>:
  217. description: Kick and remove a player from the whitelist
  218. usage: /boot <player>
  219. permission: skript.op
  220. trigger:
  221. execute console command "/whitelist remove %arg 1%"
  222. execute console command "/kick %arg 1% You have been booted"
  223.  
  224. #ClearXP - Thanks to Qeau for the skript!
  225.  
  226. command /clearxp [<player>]:
  227. description: Clear the XP of all players, or 1 specific player.
  228. permission: skript.op
  229. permission message: &4You don't have permission to do this!
  230. trigger:
  231. if arg 1 is set:
  232. execute console command "/xp -2471L %arg 1%"
  233. execute console command "/playsound random.orb %arg 1%"
  234. send "{@P} Your experience has been cleared!" to arg 1
  235. send "{@P} {@CC}%arg 1%'s {@MC}XP was cleared!" to the command sender
  236. else:
  237. loop all players:
  238. execute console command "/xp -24791L %loop-player%"
  239. execute console command "/playsound random.orb %loop-player%"
  240. broadcast "{@P}{@MC} Everyone's XP has been cleared!"
  241.  
  242. #DeathKick
  243.  
  244. command /deathkick [<text>]:
  245. usage: /deathkick <on/off>
  246. trigger:
  247. if arg 1 is "on":
  248. set {deathkick} to true
  249. broadcast "{@P} <gray>Death Kick Enabled"
  250. if arg 1 is "off":
  251. delete {deathkick}
  252. broadcast "{@P} <gray>Death Kick Disabled"
  253.  
  254. on death of player:
  255. {deathkick} is true
  256. execute player command "/xp set 0"
  257. command "/whitelist remove %victim%"
  258. execute console command "/leaveteam"
  259. wait 3 ticks
  260. command "/warp spawn %victim%"
  261. wait 1 minute
  262. execute console command "/kick %player%"
  263.  
  264. #FenceGlitchProtection - Thanks to Camaro for the skript!
  265.  
  266. 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:
  267. cancel event
  268.  
  269. 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:
  270. cancel event
  271.  
  272. #ForcefieldTest
  273.  
  274. command /fftest:
  275. permission: skript.op
  276. trigger:
  277. command "/reappear %player%"
  278. wait 11 ticks
  279. command "/vanish %player%"
  280.  
  281. #HealthCommands - Sets Hearts in 1.8
  282.  
  283. command /fixhealth:
  284. permission: skript.op
  285. trigger:
  286. command "/scoreboard objectives add HEALTH health Health"
  287. command "/scoreboard objectives add healthname health Health"
  288. command "/scoreboard objectives setdisplay list HEALTH"
  289. command "/scoreboard objectives setdisplay belowName healthname"
  290. broadcast "{@P} <Light Purple>Health is now out of 20"
  291.  
  292. command /h <player>:
  293. usage: /h <player> - See health of a player
  294. aliases: /health
  295. trigger:
  296. message "{@P} &9%arg 1% &ris on &e%health of arg 1% hearts&r!"
  297.  
  298. #Killboard
  299.  
  300. command /killboard <text> <text>:
  301. permission: skript.op
  302. trigger:
  303. if arg 1 is "on":
  304. execute console command "/scoreboard objectives add Kills playerKillCount <light red>Kills <light gray>- <light red>%arg-2%"
  305. execute console command "/scoreboard objectives setdisplay sidebar Kills"
  306. broadcast "{@P} <White>Killboard On"
  307.  
  308. command /delkillboard:
  309. permission: skript.op
  310. trigger:
  311. command "/scoreboard objectives remove Kills"
  312. broadcast "{@P} <White>Killboard Off"
  313.  
  314. #HeadDrops
  315.  
  316. on death:
  317. {PlayerHeads} is true
  318. victim is player
  319. drop the victim's skull at victim
  320.  
  321. command /givehead [<text>]:
  322. permission: skript.op
  323. trigger:
  324. make player execute command "/i head:3 1 player:%arg-1%"
  325.  
  326. command /heads <text>:
  327. usage: /heads <on/off>
  328. permission: skript.op
  329. trigger:
  330. if arg 1 is "on":
  331. set {PlayerHeads} to true
  332. broadcast "{@P} <r>Heads On"
  333. if arg 1 is "off":
  334. delete {PlayerHeads}
  335. broadcast "{@P} <r>Heads Off"
  336.  
  337. #LinkNetherToOverworld
  338.  
  339. command /link <text> <text>:
  340. usage: /link <world> <world>
  341. trigger:
  342. command "/mw link %arg-1% %arg-2%"
  343. command "/mw link %arg-2% %arg-1%"
  344. broadcast "{@P} &8Worlds &c%arg-1% &8and &c%arg-2% &8Linked!"
  345.  
  346. #Permaday
  347.  
  348. command /perma:
  349. permission: skript.perma
  350. trigger:
  351. execute console command "/time set 6000"
  352. wait 1 second
  353. make player execute command "/gamerule doDaylightCycle false"
  354. broadcast "{@P} <Yellow>Permaday Activated"
  355.  
  356. #TempleBombAlert - Thanks to Fleft for the skript!
  357.  
  358. on pressure plate:
  359. block at location 1 below event-block is sandstone
  360. block at location 2 below event-block is tnt
  361. add "&c%event-player%&a" to {_People::*}
  362. loop players in radius 10 around event-block:
  363. loop-player is not event-player
  364. add "&a%loop-player%" to {_People::*}
  365. if (size of ({_People::*})) is 1:
  366. set {_People::*} to "&c%event-player%&r and &ano one else."
  367. loop all players:
  368. loop-player is an op
  369. message "{@P} &e&lTemple Bomb: %{_People::*}%" to loop-player
  370.  
  371. #Slots
  372.  
  373. command /slots <text>:
  374. usage: /slots <amount of slots>
  375. permission: skript.op
  376. trigger:
  377. make player execute command "/maxplayers %arg-1%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement