Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on leftclick:
- add 1 to {clicks.%player%}
- on quit:
- delete {clicks.%player%}
- #Partie Configurable mais déconseillé !
- command /verif <player>:
- permission: verif.view
- trigger:
- wait 1 tick
- set {target.%player%} to arg 1
- open chest with 6 rows named "&aVérif > &l%arg 1%" to player
- set {_playerinv} to arg 1
- set {_slot} to 0
- loop 36 times:
- set {verif.%arg 1%.%{_slot}%} to slot {_slot} of arg 1's inventory
- add 1 to {_slot}
- set {_slot} to 0
- set {_slotmenu} to 18
- wait 1 tick
- loop 36 times:
- format slot {_slotmenu} of player with {verif.%arg 1%.%{_slot}%} to close
- add 1 to {_slot}
- add 1 to {_slotmenu}
- set {_health.%arg 1%} to arg 1's health
- set {hunger.%arg 1%} to arg 1's hunger
- set {armorview.helmet.%arg 1%} to arg 1's helmet
- set {armorview.chestplate.%arg 1%} to arg 1's chestplate
- set {armorview.leggings.%arg 1%} to arg 1's leggings
- set {armorview.boots.%arg 1%} to arg 1's boots
- set {effects.%arg 1%::*} to all of the active potion effects on arg 1
- # ---------- Vie ----------
- if arg 1's gamemode is survival:
- format slot 4 of player with arg 1's skull named "&e&n%arg 1%" with lore "&aVie:&4%{_health.%arg 1%}% ❤" to close
- else:
- format slot 4 of player with arg 1's skull named "&e&n%arg 1%" with lore "&4En Créative ❤" to close
- # ---------- Ping ----------
- format slot 5 of player with crafting table named "&aPing: %player's ping%" to close
- # ---------- Armure ----------
- if arg 1's gamemode is survival:
- 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
- else:
- format slot 3 of player with iron chestplate named "&aStuff" with lore "&cEn Créative" to close
- # ---------- Actualiser ----------
- format slot 8 of player with clock named "&6&lActualiser" to close then run [make player execute command "vreload"]
- # ---------- Ban/Banip ----------
- format slot 0 of player with clock named "&cBannir %arg 1%" to close then run [make player execute command "bannir %arg 1% %player%"]
- # ---------- Potions ----------
- if arg 1 doesn't have speed:
- format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
- if arg 1 has speed:
- format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
- stop
- if arg 1 doesn't have slowness:
- format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
- if arg 1 has slowness:
- format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
- stop
- if arg 1 doesn't have haste:
- format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
- if arg 1 has haste:
- format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
- stop
- if arg 1 doesn't have mining fatigue:
- format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
- if arg 1 has mining fatigue:
- format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
- stop
- if arg 1 doesn't have strength:
- format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
- if arg 1 has strength:
- format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
- stop
- if arg 1 doesn't have instant health:
- format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
- if arg 1 has instant health:
- format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
- stop
- if arg 1 doesn't have instant damage:
- format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
- if arg 1 has instant damage:
- format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
- stop
- if arg 1 doesn't have jump boost:
- format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
- if arg 1 has jump boost:
- format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
- stop
- if arg 1 doesn't have nausea:
- format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
- if arg 1 has nausea:
- format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
- stop
- if arg 1 doesn't have regeneration:
- format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
- if arg 1 has regeneration:
- format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
- stop
- if arg 1 doesn't have resistance:
- format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
- if arg 1 has resistance:
- format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
- stop
- if arg 1 doesn't have fire resistance:
- format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
- if arg 1 has fire resistance:
- format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
- stop
- if arg 1 doesn't have water breathing:
- format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
- if arg 1 has water breathing:
- format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
- stop
- if arg 1 doesn't have invisibility:
- format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
- if arg 1 has invisibility:
- format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
- stop
- if arg 1 doesn't have blindness:
- format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
- if arg 1 has blindness:
- format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
- stop
- if arg 1 doesn't have night vision:
- format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
- if arg 1 has night vision:
- format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
- stop
- if arg 1 doesn't have hunger:
- format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
- if arg 1 has hunger:
- format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
- stop
- if arg 1 doesn't have weakness:
- format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
- if arg 1 has weakness:
- format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
- stop
- if arg 1 doesn't have poison:
- format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
- if arg 1 has poison:
- format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
- stop
- if arg 1 doesn't have wither:
- format slot 7 of player with glass bottle named "&1&lPotions" with lore "&1&lPas d'effets!" to close
- if arg 1 has wither:
- format slot 7 of player with water bottle named "&1&lPotions" with lore "&1&lEffets: &6%{effects.%arg 1%::*}%" to close
- stop
- clear {effects.%arg 1%::*}
- # ---------- CPS ----------
- format slot 1 of player with iron sword named "&6&lClick par secondes" with lore "&aCPS: %{clicks.%player%}%" to close
- set {clicks.%player%} to 0
- wait 1 second
- format slot 1 of player with iron sword named "&6&lClick par secondes" with lore "&aCPS: %{clicks.%player%}%" to close
- set {clicks.%player%} to 0
- wait 1 second
- format slot 1 of player with iron sword named "&6&lClick par secondes" with lore "&aCPS: %{clicks.%player%}%" to close
- set {clicks.%player%} to 0
- wait 1 second
- format slot 1 of player with iron sword named "&6&lClick par secondes" with lore "&aCPS: %{clicks.%player%}%" to close
- set {clicks.%player%} to 0
- wait 1 second
- format slot 1 of player with iron sword named "&6&lClick par secondes" with lore "&aCPS: %{clicks.%player%}%" to close
- set {clicks.%player%} to 0
- wait 1 second
- format slot 1 of player with iron sword named "&6&lClick par secondes" with lore "&aCPS: %{clicks.%player%}%" to close
- set {clicks.%player%} to 0
- wait 1 second
- format slot 1 of player with iron sword named "&6&lClick par secondes" with lore "&aCPS: %{clicks.%player%}%" to close
- set {clicks.%player%} to 0
- wait 1 second
- format slot 1 of player with iron sword named "&6&lClick par secondes" with lore "&aCPS: %{clicks.%player%}%" to close
- set {clicks.%player%} to 0
- wait 1 second
- format slot 1 of player with iron sword named "&6&lClick par secondes" with lore "&aCPS: %{clicks.%player%}%" to close
- set {clicks.%player%} to 0
- wait 1 second
- format slot 1 of player with iron sword named "&6&lClick par secondes" with lore "&aCPS: %{clicks.%player%}%" to close
- set {clicks.%player%} to 0
- wait 1 second
- format slot 1 of player with iron sword named "&6&lClick par secondes" with lore "&aCPS: %{clicks.%player%}%" to close
- set {clicks.%player%} to 0
- wait 1 second
- format slot 1 of player with iron sword named "&6&lClick par secondes" with lore "&aCPS: %{clicks.%player%}%" to close
- set {clicks.%player%} to 0
- wait 1 second
- format slot 1 of player with iron sword named "&6&lClick par secondes" with lore "&aCPS: %{clicks.%player%}%" to close
- set {clicks.%player%} to 0
- # ---------- Suite pour Actualiser le GUI ----------
- command /vreload:
- permission: verif.reload
- trigger:
- wait 2 ticks
- make player execute command "verif %{target.%player%}%"
- clear {target.%player%}
- # ---------- Suite du Ban/Banip ----------
- command /bannir <player>:
- permission: bannir.admin
- trigger:
- make player execute command "ban %player%"
- send "&7&l> &c&l%player% &7vient d'être BAN."
- make player execute command "banip %player%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement