Advertisement
Guest User

Untitled

a guest
Jun 27th, 2016
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.79 KB | None | 0 0
  1. on leftclick:
  2. add 1 to {clicks.%player%}
  3.  
  4. on quit:
  5. delete {clicks.%player%}
  6.  
  7. #Partie Configurable mais déconseillé !
  8. command /verif <player>:
  9. permission: verif.view
  10. trigger:
  11. wait 1 tick
  12. set {target.%player%} to arg 1
  13. open chest with 6 rows named "&aVérif > &l%arg 1%" to player
  14. set {_playerinv} to arg 1
  15. set {_slot} to 0
  16. loop 36 times:
  17. set {verif.%arg 1%.%{_slot}%} to slot {_slot} of arg 1's inventory
  18. add 1 to {_slot}
  19. set {_slot} to 0
  20. set {_slotmenu} to 18
  21. wait 1 tick
  22. loop 36 times:
  23. format slot {_slotmenu} of player with {verif.%arg 1%.%{_slot}%} to close
  24. add 1 to {_slot}
  25. add 1 to {_slotmenu}
  26. set {_health.%arg 1%} to arg 1's health
  27. set {hunger.%arg 1%} to arg 1's hunger
  28. set {armorview.helmet.%arg 1%} to arg 1's helmet
  29. set {armorview.chestplate.%arg 1%} to arg 1's chestplate
  30. set {armorview.leggings.%arg 1%} to arg 1's leggings
  31. set {armorview.boots.%arg 1%} to arg 1's boots
  32. set {effects.%arg 1%::*} to all of the active potion effects on arg 1
  33.  
  34. # ---------- Vie ----------
  35. if arg 1's gamemode is survival:
  36. format slot 4 of player with arg 1's skull named "&e&n%arg 1%" with lore "&aVie:&4%{_health.%arg 1%}% ❤" to close
  37. else:
  38. format slot 4 of player with arg 1's skull named "&e&n%arg 1%" with lore "&4En Créative ❤" to close
  39.  
  40. # ---------- Ping ----------
  41. format slot 5 of player with crafting table named "&aPing: %player's ping%" to close
  42.  
  43. # ---------- Armure ----------
  44. if arg 1's gamemode is survival:
  45. format slot 3 of player with iron chestplate named "&aStuff" with lore "&6%{armorview.helmet.%arg 1%}%||&6%{armorview.chestplate.%arg 1%}%||&6%{armorview.leggings.%arg 1%}%||&6%{armorview.boots.%arg 1%}%" to close
  46. else:
  47. format slot 3 of player with iron chestplate named "&aStuff" with lore "&cEn Créative" to close
  48.  
  49. # ---------- Actualiser ----------
  50. format slot 8 of player with clock named "&6&lActualiser" to close then run [make player execute command "vreload"]
  51.  
  52. # ---------- Ban/Banip ----------
  53. format slot 0 of player with clock named "&cBannir %arg 1%" to close then run [make player execute command "bannir %arg 1% %player%"]
  54.  
  55. # ---------- Potions ----------
  56. if arg 1 doesn't have speed:
  57. format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
  58. if arg 1 has speed:
  59. format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
  60. stop
  61. if arg 1 doesn't have slowness:
  62. format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
  63. if arg 1 has slowness:
  64. format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
  65. stop
  66. if arg 1 doesn't have haste:
  67. format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
  68. if arg 1 has haste:
  69. format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
  70. stop
  71. if arg 1 doesn't have mining fatigue:
  72. format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
  73. if arg 1 has mining fatigue:
  74. format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
  75. stop
  76. if arg 1 doesn't have strength:
  77. format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
  78. if arg 1 has strength:
  79. format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
  80. stop
  81. if arg 1 doesn't have instant health:
  82. format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
  83. if arg 1 has instant health:
  84. format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
  85. stop
  86. if arg 1 doesn't have instant damage:
  87. format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
  88. if arg 1 has instant damage:
  89. format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
  90. stop
  91. if arg 1 doesn't have jump boost:
  92. format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
  93. if arg 1 has jump boost:
  94. format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
  95. stop
  96. if arg 1 doesn't have nausea:
  97. format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
  98. if arg 1 has nausea:
  99. format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
  100. stop
  101. if arg 1 doesn't have regeneration:
  102. format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
  103. if arg 1 has regeneration:
  104. format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
  105. stop
  106. if arg 1 doesn't have resistance:
  107. format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
  108. if arg 1 has resistance:
  109. format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
  110. stop
  111. if arg 1 doesn't have fire resistance:
  112. format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
  113. if arg 1 has fire resistance:
  114. format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
  115. stop
  116. if arg 1 doesn't have water breathing:
  117. format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
  118. if arg 1 has water breathing:
  119. format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
  120. stop
  121. if arg 1 doesn't have invisibility:
  122. format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
  123. if arg 1 has invisibility:
  124. format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
  125. stop
  126. if arg 1 doesn't have blindness:
  127. format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
  128. if arg 1 has blindness:
  129. format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
  130. stop
  131. if arg 1 doesn't have night vision:
  132. format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
  133. if arg 1 has night vision:
  134. format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
  135. stop
  136. if arg 1 doesn't have hunger:
  137. format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
  138. if arg 1 has hunger:
  139. format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
  140. stop
  141. if arg 1 doesn't have weakness:
  142. format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
  143. if arg 1 has weakness:
  144. format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
  145. stop
  146. if arg 1 doesn't have poison:
  147. format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
  148. if arg 1 has poison:
  149. format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
  150. stop
  151. if arg 1 doesn't have wither:
  152. format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
  153. if arg 1 has wither:
  154. format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
  155. stop
  156. clear {effects.%arg 1%::*}
  157.  
  158. # ---------- CPS ----------
  159. format slot 1 of player with iron sword named "&6&lClick par secondes" with lore "&aCPS: %{clicks.%player%}%" to close
  160. set {clicks.%player%} to 0
  161. wait 1 second
  162. format slot 1 of player with iron sword named "&6&lClick par secondes" with lore "&aCPS: %{clicks.%player%}%" to close
  163. set {clicks.%player%} to 0
  164. wait 1 second
  165. format slot 1 of player with iron sword named "&6&lClick par secondes" with lore "&aCPS: %{clicks.%player%}%" to close
  166. set {clicks.%player%} to 0
  167. wait 1 second
  168. format slot 1 of player with iron sword named "&6&lClick par secondes" with lore "&aCPS: %{clicks.%player%}%" to close
  169. set {clicks.%player%} to 0
  170. wait 1 second
  171. format slot 1 of player with iron sword named "&6&lClick par secondes" with lore "&aCPS: %{clicks.%player%}%" to close
  172. set {clicks.%player%} to 0
  173. wait 1 second
  174. format slot 1 of player with iron sword named "&6&lClick par secondes" with lore "&aCPS: %{clicks.%player%}%" to close
  175. set {clicks.%player%} to 0
  176. wait 1 second
  177. format slot 1 of player with iron sword named "&6&lClick par secondes" with lore "&aCPS: %{clicks.%player%}%" to close
  178. set {clicks.%player%} to 0
  179. wait 1 second
  180. format slot 1 of player with iron sword named "&6&lClick par secondes" with lore "&aCPS: %{clicks.%player%}%" to close
  181. set {clicks.%player%} to 0
  182. wait 1 second
  183. format slot 1 of player with iron sword named "&6&lClick par secondes" with lore "&aCPS: %{clicks.%player%}%" to close
  184. set {clicks.%player%} to 0
  185. wait 1 second
  186. format slot 1 of player with iron sword named "&6&lClick par secondes" with lore "&aCPS: %{clicks.%player%}%" to close
  187. set {clicks.%player%} to 0
  188. wait 1 second
  189. format slot 1 of player with iron sword named "&6&lClick par secondes" with lore "&aCPS: %{clicks.%player%}%" to close
  190. set {clicks.%player%} to 0
  191. wait 1 second
  192. format slot 1 of player with iron sword named "&6&lClick par secondes" with lore "&aCPS: %{clicks.%player%}%" to close
  193. set {clicks.%player%} to 0
  194. wait 1 second
  195. format slot 1 of player with iron sword named "&6&lClick par secondes" with lore "&aCPS: %{clicks.%player%}%" to close
  196. set {clicks.%player%} to 0
  197.  
  198. # ---------- Suite pour Actualiser le GUI ----------
  199. command /vreload:
  200. permission: verif.reload
  201. trigger:
  202. wait 2 ticks
  203. make player execute command "verif %{target.%player%}%"
  204. clear {target.%player%}
  205.  
  206. # ---------- Suite du Ban/Banip ----------
  207. command /bannir <player>:
  208. permission: bannir.admin
  209. trigger:
  210. make player execute command "ban %player%"
  211. send "&7&l> &c&l%player% &7vient d'être BAN."
  212. make player execute command "banip %player%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement