minecrafttr aramıza katil!
batihost minecraft server kirala
Satın Al
MinecraftTR Reklam Alanı
Satın Al
Satın Al
Satın Al

Mute Skriptim Çalışmıyor.

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Seçkin madenci.
Katılım
5 Ocak 2019
Mesajlar
18
Tepki puanı
4
Puanları
1,155
Discord
Deniz#4398
Merhabalar , sunucumdaki mute skriptinde bir hata var ve sorunun ne olduğunu çözemedim. Chat'de yazılar çıkıyor ama mute attığım kişi konuşmaya devam edebiliyor . Sorunu çözmeme yardımcı olabilir misiniz ?
Kod:
command /mute [<text>] [<text>] [<text>]:
    trigger:
        execute player command "/sus %arg 1% %arg 2% %arg 3%"
command /sus [<text>] [<text>] [<text>]:
    permission: sk.mute.sus
    permission message: &cBu komutu kullanamazsin.
    trigger:
        execute console command "/emute %arg 1% %arg 2%"
        broadcast " "
        broadcast " &8» &2Yetkili: &b%player%"
        broadcast " &8» &2Susturulan: &3%arg 1%"
        broadcast " &8» &2Sure: &e%arg 2%"
        broadcast " &8» &2Sebep: &e%arg 3%"
        broadcast " "
 
Seçkin madenci.
Katılım
5 Ocak 2019
Mesajlar
18
Tepki puanı
4
Puanları
1,155
Discord
Deniz#4398
Seçkin madenci.
Katılım
5 Ocak 2019
Mesajlar
18
Tepki puanı
4
Puanları
1,155
Discord
Deniz#4398
Direk advancedban eklentisini kullanabilirsin, içinde ban,mute,kick komutları v.b var.
Sunucuda advancedban var ama messages.yml dosyasında sürekli bir hata var onuda çözemedim.
 
Kaşif
Katılım
17 Ekim 2019
Mesajlar
179
Tepki puanı
90
Puanları
1,305
Discord
DarkSad#7914
Kod:
command /mute [<offlineplayer>] [<text>] [<text>]:
    aliases: sustur
    permission: essentials.mute
    permission message: {@noperm}
    trigger:
        if arg 1 is set:
            if arg 2 is set:
                set {_sure} to arg-2
                if arg-2 contains "10y" or "30y":
                    replace all "10y" with "Sınırsız" in {_sure}
                    replace all "30y" with "Sınırsız" in {_sure}
                if arg-2 contains "m":
                    replace all "m" with " Dakika" in {_sure}
                if arg-2 contains "h":
                    replace all "h" with " Saat" in {_sure}
                if arg-2 contains "y":
                    replace all "y" with " Yıl" in {_sure}
                if arg-2 contains "w":
                    replace all "w" with " Hafta" in {_sure}
                if arg-2 contains "s":
                    replace all "s" with " Saniye" in {_sure}
                if arg-2 contains "mo":
                    replace all "mo" with " Ay" in {_sure}
                if arg-2 contains "d":
                    replace all "d" with " Gün" in {_sure}
                    send "&7&m--------&r&e« &bRiseOfSky &e»&7&m--------" to all players
                send "&aSusturulan Oyuncu: &f%arg 1%" to all players
                send "&aSusturan Kişi: &r%player's display name%" to all players
                send "&aSüre: &f%{_sure}%" to all players
                if arg-3 is set:
                    send "&aSebep: &f%arg 3%" to all players
                    send "&7&m--------&r&e« &bRiseOfSky &e»&7&m--------" to all players
                    execute console command "essentials:mute %arg 1% %arg 2%"
                else:
                    send "&aSebep: &fBelirtilmedi" to all players
                    send "&7&m--------&r&e« &bRiseOfSky &e»&7&m--------" to all players
                    execute console command "essentials:mute %arg 1% %arg 2%"
            else:
                send "&eRiseOfSky &8&l» &cSüre girmelisin." to player
        else:
            send "&eRiseOfSky &8&l» &cOyuncu ismi girmelisin."
 
Seçkin madenci.
Katılım
5 Ocak 2019
Mesajlar
18
Tepki puanı
4
Puanları
1,155
Discord
Deniz#4398
Kod:
command /mute [<offlineplayer>] [<text>] [<text>]:
    aliases: sustur
    permission: essentials.mute
    permission message: {@noperm}
    trigger:
        if arg 1 is set:
            if arg 2 is set:
                set {_sure} to arg-2
                if arg-2 contains "10y" or "30y":
                    replace all "10y" with "Sınırsız" in {_sure}
                    replace all "30y" with "Sınırsız" in {_sure}
                if arg-2 contains "m":
                    replace all "m" with " Dakika" in {_sure}
                if arg-2 contains "h":
                    replace all "h" with " Saat" in {_sure}
                if arg-2 contains "y":
                    replace all "y" with " Yıl" in {_sure}
                if arg-2 contains "w":
                    replace all "w" with " Hafta" in {_sure}
                if arg-2 contains "s":
                    replace all "s" with " Saniye" in {_sure}
                if arg-2 contains "mo":
                    replace all "mo" with " Ay" in {_sure}
                if arg-2 contains "d":
                    replace all "d" with " Gün" in {_sure}
                    send "&7&m--------&r&e« &bRiseOfSky &e»&7&m--------" to all players
                send "&aSusturulan Oyuncu: &f%arg 1%" to all players
                send "&aSusturan Kişi: &r%player's display name%" to all players
                send "&aSüre: &f%{_sure}%" to all players
                if arg-3 is set:
                    send "&aSebep: &f%arg 3%" to all players
                    send "&7&m--------&r&e« &bRiseOfSky &e»&7&m--------" to all players
                    execute console command "essentials:mute %arg 1% %arg 2%"
                else:
                    send "&aSebep: &fBelirtilmedi" to all players
                    send "&7&m--------&r&e« &bRiseOfSky &e»&7&m--------" to all players
                    execute console command "essentials:mute %arg 1% %arg 2%"
            else:
                send "&eRiseOfSky &8&l» &cSüre girmelisin." to player
        else:
            send "&eRiseOfSky &8&l» &cOyuncu ismi girmelisin."
Maalesef buda çalışmadı :/
 
Kaşif
Katılım
17 Ekim 2019
Mesajlar
179
Tepki puanı
90
Puanları
1,305
Discord
DarkSad#7914
Seçkin madenci.
Katılım
5 Ocak 2019
Mesajlar
18
Tepki puanı
4
Puanları
1,155
Discord
Deniz#4398
Büyük ihtimalle sen de sıkıntı var ben de çalıştı, Skriptin sürümünü yenile /Sk Reload yap ve eklentileri kontrol et.
sk reload yaptım hatta sunucuda advanced ban olduğu için mute skriptini silerek bile denedim ama hiç bir şekilde mutelenmiyorlar. Hiç bir şey anlamadım bu işten.
 
Kaşif
Katılım
17 Ekim 2019
Mesajlar
179
Tepki puanı
90
Puanları
1,305
Discord
DarkSad#7914
sk reload yaptım hatta sunucuda advanced ban olduğu için mute skriptini silerek bile denedim ama hiç bir şekilde mutelenmiyorlar. Hiç bir şey anlamadım bu işten.
Bilmiyorum fakat bu atılan skriptler çalışıyor.
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Üst