command /izle [<player>]:
premission: izel.mc
permisson message: "Yetkin yok"
trigger:
if arg-1 is set:
teleport player to %player%
make console execute command "v"
message "Başarılı"
on rightclick with 1:
make console execute command "ban %player%"
command /izeleçık:
premission: izel.mc
permisson message: "Yetkin yok"
make console execute command "v"
message "Başarılı"
command /izle [<offlineplayer>]:
permission: yetkili.izle
permission message: &8&l[&cSunucu&8&l] &7Bunu &cyapamazsın&8.
trigger:
if arg 1 is set:
if arg 1 is online:
if {izleme:%player%} is not set:
set {izleme:%player%} to true
execute console command "gmsp %player%"
send player title "&7Izleme modu &aaktif&8." with subtitle "&c%player% &7izleniyor&8." for 2 seconds
execute console command "tp %player% %arg-1%"
send json "&8&l[&cSunucu&8&l]&7 Oyuncu işlem menüsü için" then " &cburaya" tooltip "&7Oyuncuya yapacağınız &cişlem menüsünü &7açar&8." run "/im %player%" then " &7tıklayınız&8." to player
stop
else:
send "&8&l[&cSunucu&8&l] &7Oyuncu &caktif değil&8." to player
stop
else:
if {izleme:%player%} is set:
delete {izleme:%player%}
execute console command "spawn %player%"
execute console command "gms %player%"
send "&8&l[&cSunucu&8&l] &7Artık kimseyi &cizlemiyorsun&8." to player
stop
else:
send "&8&l[&cSunucu&8&l] &7Bir oyuncuyu izlemek için &3&l/&3izle isim&7 yazınız&8." to player
stop
command /im [<player>]:
permission: yetkili.izle
trigger:
if arg 1 is set:
wait 2 ticks
open chest with 3 rows named "&7Izleme &cMenüsü" to player
wait 2 ticks
format slot 9 of player with head named "&7Izleniyor&8:" with lore "&c%arg-1%" to run [execute console command ""]
format slot 11 of player with cobweb named "&7Dondur" with lore "&7Oyuncuyu dondurur&8, &7kaldırmak||&7için tekrar &ctıklamalısınız&8." to close then run [execute console command "dondur %arg-1%"]
format slot 13 of player with door named "&7At" with lore "&7Oyuncuyu uyarı ile birlikte &coyundan atar&8." to close then run [execute console command "kick %arg-1% &c%player% &7isimli yetkili seni oyundan &cattı&8."]
format slot 15 of player with bars named "&7Yasakla" with lore "&7Oyuncuyu &cyasaklar&8. &7(Sonsuza kadar)" to close then run [execute console command "ban %arg-1% &c%player% &7isimli kişi seni &cyasakladı&8."]
stop
command /dondur [<player>]:
permission: yetkili.izle
trigger:
if {dondur.%player-arg%} is not set:
set {dondur.%player-arg%} to true
send player-arg title "&7Dondun&8!" for 3 seconds
send "&8&l[&cSunucu&8&l] &c%player%&8, &7donduruldu&8." to player
stop
else:
delete {dondur.%player-arg%}
send player-arg title "&7Dondurman &ckalktı&8!" for 3 seconds
send "&8&l[&cSunucu&8&l] &c%player% &7artık &cdonmuyor&8." to player
stop
on any movement:
if {dondur.%player-arg%} is true:
cancel event
stop
on command:
if {dondur.%player-arg%} is true:
cancel event
stop
Buyrun, daha gelişmişini yazdım.
Kod:command /izle [<offlineplayer>]: permission: yetkili.izle permission message: &8&l[&cSunucu&8&l] &7Bunu &cyapamazsın&8. trigger: if arg 1 is set: if arg 1 is online: if {izleme:%player%} is not set: set {izleme:%player%} to true execute console command "gmsp %player%" send player title "&7Izleme modu &aaktif&8." with subtitle "&c%player% &7izleniyor&8." for 2 seconds execute console command "tp %player% %arg-1%" send json "&8&l[&cSunucu&8&l]&7 Oyuncu işlem menüsü için" then " &cburaya" tooltip "&7Oyuncuya yapacağınız &cişlem menüsünü &7açar&8." run "/im %player%" then " &7tıklayınız&8." to player stop else: send "&8&l[&cSunucu&8&l] &7Oyuncu &caktif değil&8." to player stop else: if {izleme:%player%} is set: delete {izleme:%player%} execute console command "spawn %player%" execute console command "gms %player%" send "&8&l[&cSunucu&8&l] &7Artık kimseyi &cizlemiyorsun&8." to player stop else: send "&8&l[&cSunucu&8&l] &7Bir oyuncuyu izlemek için &3&l/&3izle isim&7 yazınız&8." to player stop command /im [<player>]: permission: yetkili.izle trigger: if arg 1 is set: wait 2 ticks open chest with 3 rows named "&7Izleme &cMenüsü" to player wait 2 ticks format slot 9 of player with head named "&7Izleniyor&8:" with lore "&c%arg-1%" to run [execute console command ""] format slot 11 of player with cobweb named "&7Dondur" with lore "&7Oyuncuyu dondurur&8, &7kaldırmak||&7için tekrar &ctıklamalısınız&8." to close then run [execute console command "dondur %arg-1%"] format slot 13 of player with door named "&7At" with lore "&7Oyuncuyu uyarı ile birlikte &coyundan atar&8." to close then run [execute console command "kick %arg-1% &c%player% &7isimli yetkili seni oyundan &cattı&8."] format slot 15 of player with bars named "&7Yasakla" with lore "&7Oyuncuyu &cyasaklar&8. &7(Sonsuza kadar)" to close then run [execute console command "ban %arg-1% &c%player% &7isimli kişi seni &cyasakladı&8."] stop command /dondur [<player>]: permission: yetkili.izle trigger: if {dondur.%player-arg%} is not set: set {dondur.%player-arg%} to true send player-arg title "&7Dondun&8!" for 3 seconds send "&8&l[&cSunucu&8&l] &c%player%&8, &7donduruldu&8." to player stop else: delete {dondur.%player-arg%} send player-arg title "&7Dondurman &ckalktı&8!" for 3 seconds send "&8&l[&cSunucu&8&l] &c%player% &7artık &cdonmuyor&8." to player stop on any movement: if {dondur.%player-arg%} is true: cancel event stop on command: if {dondur.%player-arg%} is true: cancel event stop
Sunucumda denedim, çalışıyor. Hata verirse skRayFall, WildSkript ve skQuery indirdiğinizden emin olun. /izle isim komutu girildiğinde sizi görünmez yapar, gelen mesaja tıklayarak menüyü açabilirsiniz. Tekrar /izle yazarak normal moda geçebilirsiniz
command /izle [<offlineplayer>]:
permission: yetkili.izle
permission message: &8&l[&cSunucu&8&l] &7Bunu &cyapamazsın&8.
trigger:
if arg 1 is set:
if arg 1 is online:
if {izleme:%player%} is not set:
set {izleme:%player%} to true
execute console command "gmsp %player%"
send player title "&7Izleme modu &aaktif&8." with subtitle "&c%arg-1% &7izleniyor&8." for 2 seconds
execute console command "tp %player% %arg-1%"
send json "&8&l[&cSunucu&8&l]&7 Oyuncu işlem menüsü için" then " &cburaya" tooltip "&7Oyuncuya yapacağınız &cişlem menüsünü &7açar&8." run "/im %arg-1%" then " &7tıklayınız&8." to player
stop
else:
send "&8&l[&cSunucu&8&l] &7Oyuncu &caktif değil&8." to player
stop
else:
if {izleme:%player%} is set:
delete {izleme:%player%}
execute console command "spawn %player%"
execute console command "gms %player%"
send "&8&l[&cSunucu&8&l] &7Artık kimseyi &cizlemiyorsun&8." to player
stop
else:
send "&8&l[&cSunucu&8&l] &7Bir oyuncuyu izlemek için &3&l/&3izle isim&7 yazınız&8." to player
stop
command /im [<player>]:
permission: yetkili.izle
trigger:
if arg 1 is set:
wait 2 ticks
open chest with 3 rows named "&7Izleme &cMenüsü" to player
wait 2 ticks
format slot 9 of player with head named "&7Izleniyor&8:" with lore "&c%arg-1%" to run [execute console command ""]
wait 2 ticks
format slot 11 of player with cobweb named "&7Dondur" with lore "&7Oyuncuyu dondurur&8, &7kaldırmak||&7için tekrar &ctıklamalısınız&8." to close then run [execute console command "dondur %arg-1%"]
wait 2 ticks
format slot 13 of player with door named "&7At" with lore "&7Oyuncuyu uyarı ile birlikte &coyundan atar&8." to close then run [execute console command "kick %arg-1% &c%player% &7isimli yetkili seni oyundan &cattı&8."]
format slot 15 of player with bars named "&7Yasakla" with lore "&7Oyuncuyu &cyasaklar&8. &7(Sonsuza kadar)" to close then run [execute console command "ban %arg-1% &c%player% &7isimli kişi seni &cyasakladı&8."]
stop
command /dondur [<player>]:
permission: yetkili.izle
trigger:
if {dondur.%arg-1%} is not set:
set {dondur.%arg-1%} to true
send player-arg title "&7Dondun&8!" for 3 seconds
send "&8&l[&cSunucu&8&l] &c%player%&8, &7donduruldu&8." to player
stop
else:
delete {dondur.%arg-1%}
send player-arg title "&7Dondurman &ckalktı&8!" for 3 seconds
send "&8&l[&cSunucu&8&l] &c%player% &7artık &cdonmuyor&8." to player
stop
on any movement:
if {dondur.%player%} is true:
cancel event
stop
on command:
if {dondur.%player%} is true:
cancel event
stop