(Skript) Chat Temizleme

Enderiatus

Kızıltaş Madencisi
En iyi cevaplar
0
İstediğin bu sanırsam?
Kod:
command /cc:
    permission: cc.admin
    permission message: &6Bunu yapmak için izniniz yok!
    trigger:
        loop 200 times:
            send "" to all players
        send "&cKonuşma &e%player% &ctarafından temizlendi!" to all players
 

Enderiatus

Kızıltaş Madencisi
En iyi cevaplar
0
Kod:
command /sohbettemizle:
    permission: admin.sohbettemizle
    permission message: &cBunun için iznin yok!
    trigger:
        loop 200 times:
            broadcast ""
            wait 2 ticks
            broadcast "&aSohbet &6%sender% &atarafından temizlendi!"
Bunda problem yapar olum, sen 2 ticks bekletip gene aynı mesajı vermişsin. Loop'da tabı geri çek. Ek olarak Broadcast konsolada düştüğü için log dosyasını kapartır :p
 

NeveseRC

Elmas Madencisi
En iyi cevaplar
0
İstediğin bu sanırsam?
Kod:
command /cc:
    permission: cc.admin
    permission message: &6Bunu yapmak için izniniz yok!
    trigger:
        loop 200 times:
            send "" to all players
        send "&cKonuşma &e%player% &ctarafından temizlendi!" to all players
Sende sağol ama 2 si arasındaki send-broadcast farkı nedir
 

Altikardes

Kızıltaş Madencisi
En iyi cevaplar
0
Kod:
options:
    prefix: [MinecraftAdmin] #Bu kısımdan duyurularınızın önünde çıkacak olan prefixi değiştirebilirsiniz.


command /duyuru <text> [<text>]:
    permission: admin
    trigger:
        text-argument-1 is "liste":
            message "----------Duyurular----------"
            set {_numara} to 1
            loop {duyurular::*}:
                set {numara.%loop-value%} to {_numara}
                message "%{numara.%loop-value%}%. %loop-value%"
                add 1 to {_numara}
        text-argument-1 is "ekle":
            add text-argument-2 to {duyurular::*}
            message "<light green>Duyuru başarıyla eklendi!"
        text-argument-1 is "sil":
            set {_silindi} to false
            loop {duyurular::*}:
                if "%{numara.%loop-value%}%" is "%text-argument-2%":
                    remove loop-value from {duyurular::*}
                    delete {numara.%loop-value%}
                    message "<light green>Duyuru başarıyla silindi!"
                    set {_silindi} to true
                    exit loop
            if {_silindi} is false:
                message "<pink>Duyuru bulunamadı!"
                stop
           
           
every 5 minutes:
    set {_duyuru} to random element out of {duyurular::*}
    broadcast "{@prefix} %{_duyuru}%"
(BKZ): https://forum.gamer.com.tr/konu/minecraftadmin-duyuru-skripti.238288/
 
H

HardCore2

Ziyaretçi
arkadaşların paylaşmış olduğu kodlar büyük ihtimal sunucuda laga sebep olacaktır onun yerine bu kodu kullanman sunucuya daha az yük bindirecektir :)
PHP:
command /sohbetsil:
    permission: sohbet
    trigger:
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&f" to all players
        send "&b---&5[&aSohbet &4%player% &aTarafindan Temizlendi&5]&b---" to players
 
Üst