Çözüldü İstek : Kolay değildir heralde

  • Konuyu Başlatan Konuyu Başlatan trex79
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 2.715
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
@HxBpVu Adlı Arkadaşımız Biraz Eksik Bırakmış Bende Onu Tamamladım Buyrun;

Kod:
command /çevrimiçi [<offlineplayer>]:
    permission: sk.admin
    permission message: &cYetkiniz bulunmamakta
    trigger:
    if arg 1 is not set:
        open chest with 6 rows named "&a&lÇevrimiçi Kişiler" to player
        wait 2 ticks
        set {_sayi} to 0
    loop all players:
        format slot {_sayi} of players with skull of loop-player named "&7%loop-player%" to close then run [execute player command "panel %loop-player%"]
        add 1 to {_sayi}
    else:
        if arg-1 is online:
            open chest with 1 rows named "&a&lÇevrimiçi Kişiler" to player
            wait 2 ticks
            format slot {_sayi} of players with skull of arg-1 named "&e%arg-1%" with lore "&aMute" to close then run [execute player command "mute %arg-1% 1hour"]
            format slot {_sayi} of players with skull of arg-1 named "&e%arg-1%" with lore "&cBan" to close then run [execute player command "ban %arg-1%" 7day]
            format slot {_sayi} of players with skull of arg-1 named "&e%arg-1%" with lore "&7Kick" to close then run [execute player command "kick %arg-1%"]
            format slot {_sayi} of players with skull of arg-1 named "&e%arg-1%" with lore "&2YanınaÇek" to close then run [execute player command "tp %player% %arg-1%"]
            format slot {_sayi} of players with skull of arg-1 named "&e%arg-1%" with lore "&aYanınaGit" to close then run [execute player command "tp %arg-1%"]
            format slot {_sayi} of players with skull of arg-1 named "&e%arg-1%" with lore "&cÖldür" to close then run [execute player command "kill %arg-1%"]
            format slot {_sayi} of players with skull of arg-1 named "&e%arg-1%" with lore "&7SpawnaAt" to close then run [execute player command "spawn %arg-1%"]
            format slot {_sayi} of players with skull of arg-1 named "&e%arg-1%" with lore "&aStatsı||&aÖldürme: %{oldurme.%player%}%||&cÖlme:&r &2%{olme.%player%}%" to close
            format slot {_sayi} of players with skull of arg-1 named "&e%arg-1%" with lore "&eFlyAç" to close then run [execute player command "fly %arg-1%"]
            format slot {_sayi} of players with skull of arg-1 named "&e%arg-1%" with lore "&aGameMode1" to close then run [execute player command "gamemode 1 %arg-1%"]
            format slot {_sayi} of players with skull of arg-1 named "&e%arg-1%" with lore "&cEşyalarınıSil" to close then run [execute player command "clear %arg-1%"]
        else:
            send "&cBu Oyuncu Aktif Değil." to player
      
on join:
    if {oldurme.%player%} is not set:
        set {oldurme.%player%} to 0
    if {olme.%player%} is not set:
        set {olme.%player%} to 0
    if {kick.%player%} is not set:
        set {kick.%player%} to 0
    set {durum.%player%} to "&aÇevrimiçi"

on quit:
    set {durum.%player%} to "&cÇevrimdışı"

command /stats [<offlineplayer>]:
    aliases: /istatistik
    trigger:
        if arg 1 is not set:
            send "&8&m-------------&a%player%&8&m-------------------" to player
            send "&8» &6Isim: &e%player%" to player
            send "&8» &6Öldürmen: &e%{oldurme.%player%}%" to player
            send "&8» &6Ölmen: &e%{olme.%player%}%" to player
            send "&8» &6Durumun: &e%{durum.%player%}%" to player
            send "&8» &6Oyundan Atılma Sayın: &e%{kick.%player%}%" to player
            send "&8&m-------------&a%player%&8&m-------------------" to player
        if arg 1 is set:
            send "&8&m-------------&a%arg 1%&8&m-------------------" to player
            send "&8» &6Ismi: &e%arg 1%" to player
            send "&8» &6Öldürmesi: &e%{oldurme.%arg 1%}%" to player
            send "&8» &6Ölmesi: &e%{olme.%arg 1%}%" to player
            send "&8» &6Durumu: &e%{durum.%arg 1%}%" to player
            send "&8» &6Oyundan Atılma Sayısı: &e%{kick.%arg 1%}%" to player
            send "&8&m-------------&a%arg 1%&8&m-------------------" to player
          
command /statssifirla [<Text>]:
    permission: admin.sifirla
    permission message: &8[&cSunucu&8] &f&lBoyle Bir Komut Yok!.
    trigger:
        if arg 1 is not set:
            send "&8[&cSunucu&8] &bBir Oyuncu Ismi Girmelisin!"
            stop
        else:
            set {oldurme.%player%} to 0
            set {olme.%player%} to 0
            set {durum.%player%} to 0
            set {kick.%player%} to 0
            send "&8[&cSunucu&8] &a%arg 1% &bAdlı Kişinin Istatistikleri Sıfırlandı!"
            stop

on kick:
    add 1 to {kick.%player%}

on death:
    add 1 to {oldurme.%attacker%}
    add 1 to {olme.%victim%}

Hata Olursa Söyleyebilirsiniz. İyi Forumlar

en son format slot {_sayi} demişsin peki sayı nerde ?
o sadece oyuncu kafasını koyarken kullanılan değere !
ayrıca beim mesajımı okursan iyi olur ben örek verdim arkadaş kendisi çoğaltacaktı.
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst