ArtzifyHD

custom rtp

Aug 14th, 2017
533
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.37 KB | None | 0 0
  1. #=== Prevention ===
  2. options:
  3. version: 1.0
  4. prefix: &a&lVOTE &8&l» &c
  5. link: &a&lLINK &8&l» &c
  6.  
  7. linktwo: &7Coming Soon
  8. linkthree: &7Coming Soon
  9.  
  10. On craft of golden apple:
  11. cancel the event
  12. send "&e&l(!) &eYou are not allowed to craft a &eGolden Apple" to the player
  13. On craft of ender chest:
  14. cancel event
  15. send "&e&l(!) &eYou are not allowed to craft an &dEnder Chest" to the player
  16. On craft of TNT:
  17. cancel event
  18. send "&e&l(!) &eYou are not allowed to craft &fT&4N&fT" to the player
  19.  
  20. #=== Enderpearl cooldown ===
  21. on rightclick with ender pearl:
  22. {time.%player%.lastused} was less than 15 seconds ago:
  23. set {time} to difference between {time.%player%.lastused} and now
  24. if {time} is less than 15 seconds:
  25. set {time} to difference between {time} and 15 seconds
  26. message "&e&l(!) &eYou cannot throw another enderpearl for &6%{time}%&f"
  27. cancel event
  28. stop
  29. set {time.%player%.lastused} to now
  30. if loop-player is wearing all iron armor:
  31. apply haste 2 to loop-player for 5 seconds
  32.  
  33. #=======================================================
  34. # IconicF | Factions GUI System =
  35. # by Ghastblasters / Paid by MCMart =
  36. #=======================================================
  37.  
  38.  
  39. #on load:
  40. #loop all players:
  41. #if player is op:
  42. #send message "&8[&bFactions&3X&8]&7 loaded skript"
  43.  
  44.  
  45. Command /ff:
  46. permission: ic.claim
  47. trigger:
  48. open chest with 3 rows named "&8[&bFactions&3X&8]&7 Faction GUI" to player
  49. wait 2 tick
  50. format slot 0 of player with gray stained glass pane named "&8Click to close" to close
  51. format slot 1 of player with gray stained glass pane named "&8Click to close" to close
  52. format slot 2 of player with gray stained glass pane named "&8Click to close" to close
  53. format slot 3 of player with gray stained glass pane named "&8Click to close" to close
  54. format slot 4 of player with gray stained glass pane named "&8Click to close" to close
  55. format slot 5 of player with gray stained glass pane named "&8Click to close" to close
  56. format slot 6 of player with gray stained glass pane named "&8Click to close" to close
  57. format slot 7 of player with gray stained glass pane named "&8Click to close" to close
  58. format slot 8 of player with gray stained glass pane named "&8Click to close" to close
  59. format slot 9 of player with gray stained glass pane named "&8Click to close" to close
  60. format slot 10 of player with grass named "&2Teleport to factions home" to run [make player execute command "/f home"]
  61. format slot 11 of player with dirt named "&2Set factions home" to run [make player execute command "/f sethome"]
  62. format slot 12 of player with fence named "&6Claim faction land" to run [make player execute command "/ffclaim"]
  63. format slot 13 of player with paper named "&6Faction map" to run [make player execute command "/f map"]
  64. format slot 14 of player with diamond sword named "&5Faction Stats" to run [make player execute command "/f who"]
  65. format slot 15 of player with torch named "&7Faction Help" to run [make player execute command "/f help"]
  66. format slot 16 of player with 166 named "&cLeave Faction" to run [make player execute command "/f leave"]
  67. format slot 17 of player with gray stained glass pane named "&8Click to close" to close
  68. format slot 18 of player with gray stained glass pane named "&8Click to close" to close
  69. format slot 19 of player with gray stained glass pane named "&8Click to close" to close
  70. format slot 20 of player with gray stained glass pane named "&8Click to close" to close
  71. format slot 21 of player with gray stained glass pane named "&8Click to close" to close
  72. format slot 22 of player with gray stained glass pane named "&8Click to close" to close
  73. format slot 23 of player with gray stained glass pane named "&8Click to close" to close
  74. format slot 24 of player with gray stained glass pane named "&8Click to close" to close
  75. format slot 25 of player with gray stained glass pane named "&8Click to close" to close
  76. format slot 26 of player with gray stained glass pane named "&8Click to close" to close
  77.  
  78.  
  79.  
  80. Command /ffclaim:
  81. permission: ic.claim
  82. trigger:
  83. open chest with 3 rows named "&8[&bFactions&3X&8]&7 Faction GUI" to player
  84. wait 2 tick
  85. format slot 0 of player with gray stained glass pane named "&8Click to close" to close
  86. format slot 1 of player with gray stained glass pane named "&8Click to close" to close
  87. format slot 2 of player with gray stained glass pane named "&8Click to close" to close
  88. format slot 3 of player with gray stained glass pane named "&8Click to close" to close
  89. format slot 4 of player with gray stained glass pane named "&8Click to close" to close
  90. format slot 5 of player with gray stained glass pane named "&8Click to close" to close
  91. format slot 6 of player with gray stained glass pane named "&8Click to close" to close
  92. format slot 7 of player with gray stained glass pane named "&8Click to close" to close
  93. format slot 8 of player with gray stained glass pane named "&8Click to close" to close
  94. format slot 9 of player with gray stained glass pane named "&8Click to close" to close
  95. format slot 10 of player with gray stained glass pane named "&8Click to close" to close
  96. format slot 11 of player with grass named "&aClaim &21&a chunk" to run [make player execute command "/f claim 1"]
  97. format slot 12 of player with grass named "&aClaim &29&a chunk" to run [make player execute command "/f claim 2"]
  98. format slot 13 of player with grass named "&aClaim &225&a chunk" to run [make player execute command "/f claim 3"]
  99. format slot 14 of player with grass named "&aClaim &249&a chunk" to run [make player execute command "/f claim 4"]
  100. format slot 15 of player with grass named "&aClaim &281&a chunk" to run [make player execute command "/f claim 5"]
  101. format slot 16 of player with gray stained glass pane named "&8Click to close" to close
  102. format slot 17 of player with gray stained glass pane named "&8Click to close" to close
  103. format slot 18 of player with gray stained glass pane named "&8Click to close" to close
  104. format slot 19 of player with gray stained glass pane named "&8Click to close" to close
  105. format slot 20 of player with gray stained glass pane named "&8Click to close" to close
  106. format slot 21 of player with gray stained glass pane named "&8Click to close" to close
  107. format slot 22 of player with gray stained glass pane named "&8Click to close" to close
  108. format slot 23 of player with gray stained glass pane named "&8Click to close" to close
  109. format slot 24 of player with gray stained glass pane named "&8Click to close" to close
  110. format slot 25 of player with gray stained glass pane named "&8Click to close" to close
  111. format slot 26 of player with gray stained glass pane named "&8Click to close" to close
  112. command /vote1:
  113. trigger:
  114. message "&8&l&m---&f&l*&8&l&m----------------------&f&l*&8&l&m---"
  115. execute console command "/tellraw %player% {""text"":""&bhttp://minecraftservers.org/server/453227"",""clickEvent"":{""action"":""open_url"",""value"":""http://minecraftservers.org/server/453227""},""hoverEvent"":{""action"":""show_text"",""value"":""&bClick to vote!""}}"
  116. message "&8&l&m---&f&l*&8&l&m----------------------&f&l*&8&l&m---"
  117. command /rtp:
  118. aliases: /wild
  119. trigger:
  120. wait 1 tick
  121. open chest with 1 rows named "&BRandomTP&7 | &cWarps Menu" to player
  122. format slot 4 of player with diamond named "&aSpawnTP" to close then run [execute player command "/spawn"]
  123. format slot 5 of player with yellow glass named "" to be unstealable
  124. format slot 1 of player with lead named "&BRandomTP" to close then run [execute player command "/randomtp"]
  125. format slot 0 of player with yellow glass named "" to be unstealable
  126. format slot 3 of player with yellow glass named "" to be unstealable
  127. format slot 2 of player with yellow glass named "" to be unstealable
  128. format slot 6 of player with yellow glass named "" to be unstealable
  129. format slot 8 of player with yellow glass named "" to be unstealable
  130. format slot 7 of player with redstone named "&4CLOSE" to close
  131.  
  132. options:
  133. min.x: -3500
  134. max.x: 3500
  135. min.z: -3500
  136. max.z: 3500
  137. avoid: air or water block or lava block or stone block or sandstone block or mossy cobblestone block or dirt block
  138. perm: random.tp
  139. cooldown: 10 minute
  140.  
  141. command /randomtp:
  142. permission: {@perm}
  143. trigger:
  144. set {_waited} to difference between {wild.%player%.lastused} and now
  145. if {_waited} is less than {@cooldown}:
  146. message "&8(&4!&8) &4You must wait %difference between {@cooldown} and {_waited}% &4before using this command again."
  147. stop
  148.  
  149. send "&8(&4!&8) &aTeleporting to the &5RandomTP" to player
  150. wait 1 tick
  151. send "&8(&4!&8) &aTeleporting in &c3 &aseconds."
  152. wait 1 second
  153. send "&8(&4!&8) &aTeleporting in &c2 &aseconds."
  154. wait 1 second
  155. send "&8(&4!&8) &aTeleporting in &c1 &asecond."
  156. wait 2 second
  157. apply resistance 100 to player for 6 seconds
  158. wait 1 tick
  159. set {_loc::old} to player's location
  160. while player's location is {_loc::old}:
  161. set {_loc::new} to location at random number between {@min.x} and {@max.x}, 0, random number between {@min.z} and {@max.z}
  162. loop blocks above {_loc::new}:
  163. if loop-block and block above loop-block are air:
  164. if block under loop-block is not {@avoid}:
  165. set {_loc::new} to location of loop-block
  166. teleport player to {_loc::new}
  167. stop loop
  168. wait 5 ticks
  169. set {wild.%player%.lastused} to now
  170.  
  171. command /vote:
  172. trigger:
  173. wait 1 tick
  174. open chest with 3 row named "&bFactions&3X &aVote" to player
  175. format slot 0 of player with black stained Glass Pane named "&0." to be unstealable
  176. format slot 1 of player with black stained Glass Pane named "&0." to be unstealable
  177. format slot 2 of player with black stained Glass Pane named "&0." to be unstealable
  178. format slot 3 of player with black stained Glass Pane named "&0." to be unstealable
  179. format slot 4 of player with black stained Glass Pane named "&0." to be unstealable
  180. format slot 5 of player with black stained Glass Pane named "&0." to be unstealable
  181. format slot 6 of player with black stained Glass Pane named "&0." to be unstealable
  182. format slot 7 of player with black stained Glass Pane named "&0." to be unstealable
  183. format slot 8 of player with black stained Glass Pane named "&0." to be unstealable
  184. format slot 9 of player with black stained Glass Pane named "&0." to be unstealable
  185. format slot 10 of player with black stained Glass Pane named "&0." to be unstealable
  186. format slot 11 of player with black stained Glass Pane named "&0." to be unstealable
  187. format slot 12 of player with emerald named "&a&lVote 1" to close then run [make player execute command "/vote1"]
  188. format slot 13 of player with black stained Glass Pane named "&0." to be unstealable
  189. format slot 14 of player with emerald named "&a&lVote 2" to close then run [make player execute command "/vote2"]
  190. format slot 15 of player with black stained Glass Pane named "&0." to be unstealable
  191. format slot 16 of player with black stained Glass Pane named "&0." to be unstealable
  192. format slot 17 of player with black stained Glass Pane named "&0." to be unstealable
  193. format slot 18 of player with black stained Glass Pane named "&0." to be unstealable
  194. format slot 19 of player with black stained Glass Pane named "&0." to be unstealable
  195. format slot 20 of player with black stained Glass Pane named "&0." to be unstealable
  196. format slot 21 of player with black stained Glass Pane named "&0." to be unstealable
  197. format slot 22 of player with black stained Glass Pane named "&0." to be unstealable
  198. format slot 23 of player with black stained Glass Pane named "&0." to be unstealable
  199. format slot 24 of player with black stained Glass Pane named "&0." to be unstealable
  200. format slot 25 of player with black stained Glass Pane named "&0." to be unstealable
  201. format slot 26 of player with black stained Glass Pane named "&0." to be unstealable
  202.  
  203. command /vote2:
  204. trigger:
  205. message "&8&l&m---&f&l*&8&l&m----------------------&f&l*&8&l&m---"
  206. message "{@linktwo}"
  207. message "&8&l&m---&f&l*&8&l&m----------------------&f&l*&8&l&m---"
Advertisement
Add Comment
Please, Sign In to add comment