Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- logo: &c[&6HWK&eVerif&c]&a
- command /spec <player> <text>:
- permission: hwkspec.use
- permission message: &cVous n'êtes pas autorisé à utiliser cette commande !
- usage: &cUtilisez : &c&l/spec (joueur) (help/on/off)
- trigger:
- if arg 2 is "on":
- set {feather.teleport} to true
- hide player from all players
- give compass named "&cTeleporteur" to arg 1
- give stick of knockback 10 named "&bKBTesteur" to arg 1
- give bedrock named "&eBloqueur" to arg 1
- give feather named "&6TP Aléatoire" to arg 1
- send "&c[&6HWK&eVerif&c] &aMode invisible activé !" to arg 1
- send "&c[&6HWK&eVerif&c] &aMode invisible activé pour &a&l%arg 1% &a!" to player
- stop
- if arg 2 is "off":
- set {feather.teleport} to false
- set {vanish.%player%.enable} to false
- reveal player to all players
- remove all compass named "&cTeleporteur" from arg 1
- remove all stick named "&bKBTesteur" from arg 1
- remove all bedrock named "&eBloqueur" from arg 1
- remove all feather named "&6TP Aléatoire" from arg 1
- send "&c[&6HWK&eVerif&c] &cMode invisible désactivé !" to arg 1
- send "&c[&6HWK&eVerif&c] &cMode invisible désactivé pour &c&l%arg 1% &a!" to player
- wait 1 tick
- set {spec.%player%.off} to true
- stop
- if arg 2 is "help":
- send " &6HWKSPEC &e| &aHELP" to arg 1
- send " " to arg 1
- send "&aPour vous mettre en spec :" to arg 1
- send " &e- &a/spec &a&l[Joueur] [ON:OFF] " to arg 1
- on right click with a feather:
- if {feather.teleport} is true:
- if name of tool of player is "&6TP Aléatoire":
- execute player command "/rtp"
- wait 1 tick
- send "{@logo} Vous avez été téléporté à un joueur aléatoire"
- on join:
- loop all players:
- if {vanish.%player%.enable} is true:
- wait 1 tick
- send "{@logo}&a Tu es toujours en vanish !"
- command /givestuff <text>:
- permission: hwkspec.give.stuff
- permission message: &cVous n'êtes pas autorisé à utiliser cette commande !
- usage: &cUtilisez : &c&l/givestuff spec
- trigger:
- if arg 1 is "spec":
- if {vanish.%player%.enable} is true:
- set {menu.%player%.give} to true
- give compass named "&cTeleporteur" to player
- give stick of knockback 10 named "&bKBTesteur" to player
- give bedrock named "&eBloqueur" to player
- give feather named "&6TP Aléatoire" to player
- wait 1 tick
- send "{@logo} Menu donné !"
- else:
- send "{@logo}&c Tu n'es pas en vanish !"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement