Bonjour je cherche quelqun qui pourrait m'addapter se code a wildskript se que j'entend par la c'est que vous laissier le tellraw mais vous rajoutier un truc pour que se sois ecris dans un fichier genre /plugin/Skript/warden/log merci d'avance a celui qui me fera sa !
Le code
command /warden <text=help>:
trigger:
if {grade.%player%} is "admin" or "admindev" or "adminbuilder" or "modo" or "builderpro":
if arg 1 is "on":
set {warden.%player%} to true
send "&c[Warden] &aActiver"
set {couldown.%player%} to false
if arg 1 is "off":
set {warden.%player%} to false
send "&c[Warden] &cDesactiver"
on any move:
loop all players:
if {warden.%loop-player%} is true:
if {couldown.%loop-player%} is false:
execute console command "/tellraw %loop-player% ["""",{""text"":""&c[Warden] &9%player% &3a bouger en &9%location of player%"",""clickEvent"":{""action"":""run_command"",""value"":""/tp %player%""},""hoverEvent"":{""action"":""show_text"",""value"":{""text"":"""",""extra"":[{""text"":""&aClick pour te teleporter a &2%player%""}]}}}]"
set {couldown.%loop-player%} to true
wait 1 second
set {couldown.%loop-player%} to false
on flight toggle:
loop all players:
if {warden.%loop-player%} is true:
execute console command "/tellraw %loop-player% ["""",{""text"":""&c[Warden] &9%player% &3a activer le fly en &9%location of player%"",""clickEvent"":{""action"":""run_command"",""value"":""/tp %player%""},""hoverEvent"":{""action"":""show_text"",""value"":{""text"":"""",""extra"":[{""text"":""&aClick pour te teleporter a &2%player%""}]}}}]"
on sneak toggle:
loop all players:
if {warden.%loop-player%} is true:
execute console command "/tellraw %loop-player% ["""",{""text"":""&c[Warden] &9%player% &3a sneak en &9%location of player%"",""clickEvent"":{""action"":""run_command"",""value"":""/tp %player%""},""hoverEvent"":{""action"":""show_text"",""value"":{""text"":"""",""extra"":[{""text"":""&aClick pour te teleporter a &2%player%""}]}}}]"
on click:
loop all players:
if {warden.%loop-player%} is true:
execute console command "/tellraw %loop-player% ["""",{""text"":""&c[Warden] &9%player% &3a cliquer en &9%location of player%"",""clickEvent"":{""action"":""run_command"",""value"":""/tp %player%""},""hoverEvent"":{""action"":""show_text"",""value"":{""text"":"""",""extra"":[{""text"":""&aClick pour te teleporter a &2%player%""}]}}}]"
on jump:
loop all players:
if {warden.%loop-player%} is true:
if {couldown.%loop-player%} is false:
execute console command "/tellraw %loop-player% ["""",{""text"":""&c[Warden] &9%player% &3a sauter en &9%location of player%"",""clickEvent"":{""action"":""run_command"",""value"":""/tp %player%""},""hoverEvent"":{""action"":""show_text"",""value"":{""text"":"""",""extra"":[{""text"":""&aClick pour te teleporter a &2%player%""}]}}}]"
set {couldown.%loop-player%} to true
wait 1 second
set {couldown.%loop-player%} to false
every 1 tick:
loop all players:
if inventory of loop-player contain tnt:
execute console command "clear %loop-player% tnt"
kick loop-player due to "&4Vous avez été kick raison : &cPossetion de TnT : Cordonnées : %location of loop-player% Pseudo : %loop-player% Dates et Heure : %now%"
every 1 tick:
execute console command "kill @e[type=PrimedTnt]"
Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.
Question
Crazy_tea
Bonjour je cherche quelqun qui pourrait m'addapter se code a wildskript se que j'entend par la c'est que vous laissier le tellraw mais vous rajoutier un truc pour que se sois ecris dans un fichier genre /plugin/Skript/warden/log merci d'avance a celui qui me fera sa !
Le code
command /warden <text=help>: trigger: if {grade.%player%} is "admin" or "admindev" or "adminbuilder" or "modo" or "builderpro": if arg 1 is "on": set {warden.%player%} to true send "&c[Warden] &aActiver" set {couldown.%player%} to false if arg 1 is "off": set {warden.%player%} to false send "&c[Warden] &cDesactiver" on any move: loop all players: if {warden.%loop-player%} is true: if {couldown.%loop-player%} is false: execute console command "/tellraw %loop-player% ["""",{""text"":""&c[Warden] &9%player% &3a bouger en &9%location of player%"",""clickEvent"":{""action"":""run_command"",""value"":""/tp %player%""},""hoverEvent"":{""action"":""show_text"",""value"":{""text"":"""",""extra"":[{""text"":""&aClick pour te teleporter a &2%player%""}]}}}]" set {couldown.%loop-player%} to true wait 1 second set {couldown.%loop-player%} to false on flight toggle: loop all players: if {warden.%loop-player%} is true: execute console command "/tellraw %loop-player% ["""",{""text"":""&c[Warden] &9%player% &3a activer le fly en &9%location of player%"",""clickEvent"":{""action"":""run_command"",""value"":""/tp %player%""},""hoverEvent"":{""action"":""show_text"",""value"":{""text"":"""",""extra"":[{""text"":""&aClick pour te teleporter a &2%player%""}]}}}]" on sneak toggle: loop all players: if {warden.%loop-player%} is true: execute console command "/tellraw %loop-player% ["""",{""text"":""&c[Warden] &9%player% &3a sneak en &9%location of player%"",""clickEvent"":{""action"":""run_command"",""value"":""/tp %player%""},""hoverEvent"":{""action"":""show_text"",""value"":{""text"":"""",""extra"":[{""text"":""&aClick pour te teleporter a &2%player%""}]}}}]" on click: loop all players: if {warden.%loop-player%} is true: execute console command "/tellraw %loop-player% ["""",{""text"":""&c[Warden] &9%player% &3a cliquer en &9%location of player%"",""clickEvent"":{""action"":""run_command"",""value"":""/tp %player%""},""hoverEvent"":{""action"":""show_text"",""value"":{""text"":"""",""extra"":[{""text"":""&aClick pour te teleporter a &2%player%""}]}}}]" on jump: loop all players: if {warden.%loop-player%} is true: if {couldown.%loop-player%} is false: execute console command "/tellraw %loop-player% ["""",{""text"":""&c[Warden] &9%player% &3a sauter en &9%location of player%"",""clickEvent"":{""action"":""run_command"",""value"":""/tp %player%""},""hoverEvent"":{""action"":""show_text"",""value"":{""text"":"""",""extra"":[{""text"":""&aClick pour te teleporter a &2%player%""}]}}}]" set {couldown.%loop-player%} to true wait 1 second set {couldown.%loop-player%} to false every 1 tick: loop all players: if inventory of loop-player contain tnt: execute console command "clear %loop-player% tnt" kick loop-player due to "&4Vous avez été kick raison : &cPossetion de TnT : Cordonnées : %location of loop-player% Pseudo : %loop-player% Dates et Heure : %now%" every 1 tick: execute console command "kill @e[type=PrimedTnt]"0 réponse à cette question
Messages recommandés