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

Paylaşım Report skripti yapımı.

Seçkin madenci.
Katılım
15 Temmuz 2019
Mesajlar
15
Tepki puanı
6
Puanları
1,015
Discord
BaTuHaN#8058
REPORT SKRİPT'İ YAPIMI

Merhabalar arkadaşlar, bu gün sizlere report skripti nasıl yapılır onu göstereceğim.

Öncelikle plugin klasörünüzün kurulu olduğu yere gelmelisiniz.

Plugin klasörüne girdikten sonra skript klasörünü açmalısınız.

En altta vermiş olduğum skript kodunu alarak buraya atmalısınız.

Bu skriptin faydaları nelerdir.

Plugin gerektirmez kendi otomatik mute atar.

Otomatik mute yemez oyun içindeki oyuncular küfür eden kişiden rahatsız olduğunda ve report ettiğinde mutelenir.

KOMUTLAR


/report küfür <isim>


Kod:
options:
    prefix: &f[&aReport&f]
    küfürler: "küfür1" or "küfür2" or "küfür3" or "küfür4" or "küfür5" or "küfür6"
    
variables:
    {report::%player%} = 0
    {report::mute::%player%} = 0
    {report::hileSayı::%player%} = 0
    
command /report [<text>] [<offlineplayer>]:
    trigger:
        if arg-1 is not set:
            send "{@prefix} &6/report küfür <isim>"
            send "{prefix} &6/report hile <isim>"
        if arg-1 is "test":
            if arg-2 is set:
                add "%arg 2%" to yaml list "Report" from "Report"
        if arg-1 is "hile":
            if arg-2 is set:
                if {report::hileSayı::%arg 2%::%player%} is 1:
                    send "{@prefix} &6Zaten bu oyuncu için rapor hakkını kullanmışsın."
                    send "{@prefix} &6En yakın zamanda raporunu inceleyeceğiz ya da inceledik."               
                else:
                    if {report::hileSayı::%arg 2%} is greater than 1:
                        add "%arg-2%" to yaml list "raporlar" from "config"
                        save yaml "config"
                        add 1 to {report::hileSayı:%arg 2%}
                        send "{@prefix} &6Raporunu dikkate alacağız, teşekkürler."
                        set {report::hileSayı::%arg 2%::%player%} to 1
                    else:
                        add 1 to {report::hileSayı:%arg 2%}
                        send "{@prefix} &6Raporunu dikkate alacağız, teşekkürler."
                        set {report::hileSayı::%arg 2%::%player%} to 1
        if arg-1 is "küfür":
            if arg-2 is set:
                if {report::mute::%arg 2%} is 1:
                    send "{@prefix} &6Oyuncu zaten susturulmuş yine de raporunuz için teşekkürler." to player
                if {report::mute::%arg 2%} is 0:
                    if {report::%arg 2%} is 0:
                        send "{@prefix} &6Oyuncu son mesajlarında küfür etmemiş."
                    if {report::%arg 2%} is 1:
                        send "{@prefix} &6Raporunuz için teşekkürler." to player
                        send "{@prefix} &6Oyuncu 1. dereceden susturulmuştur." to player
                        set {report::mute::%arg 2%} to 1
                        send "{@prefix} &6Birinci dereceden küfür sebebiyle 1 gün susturuldun." to arg-2
                        execute player command "/report tarih1"
                        wait 24 hours
                        set {report::mute::%arg 2%} to 0
                    if {report::%arg 2%} is 2:
                        send "{@prefix} &6Raporunuz için teşekkürler."
                        send "{@prefix} &6Oyuncu 2. dereceden susturulmuştur."
                        set {report::mute::%arg 2%} to 1
                        send "{@prefix} &6İkinci dereceden küfür sebebiyle 2 gün susturuldun."
                        execute player command "/report tarih2"
                        wait 48 hours
                        set {report::mute::%arg 2%} to 0
                    if {report::%arg 2%} is 3:
                        send "{@prefix} &6Raporunuz için teşekkürler."
                        send "{@prefix} &6Oyuncu 3. dereceden susturulmuştur."
                        set {report::mute::%arg 2%} to 1
                        send "{@prefix} &6Üçüncü dereceden küfür sebebiyle 3 gün susturuldun."
                        execute player command "/report tarih3"
                        wait 72 hours
                        set {report::mute::%arg 2%} to 0
        if arg-1 is "tarih1":       
            set {_mutetarih} to now
            add a day to {_mutetarih}
            send "{@prefix} &6Susturulma bu tarihte kalkacak: &e%{_mutetarih}%" to player
            set {tarih} to now
            add a day to {tarih}
        if arg-1 is "tarih2":       
            set {_mutetarih} to now
            add a day to {_mutetarih}
            add a day to {_mutetarih}
            set {tarih} to now
            add a day to {tarih}
            add a day to {tarih}
            send "{@prefix} &6Susturulma bu tarihte kalkacak: &e%{_mutetarih}%" to player
        if arg-1 is "tarih3":       
            set {_mutetarih} to now
            add a day to {_mutetarih}
            add a day to {_mutetarih}
            add a day to {_mutetarih}
            set {tarih} to now
            add a day to {tarih}
            add a day to {tarih}
            add a day to {tarih}
            send "{@prefix} &6Susturulma bu tarihte kalkacak: &e%{_mutetarih}%" to player
                
on chat:
    if message contains {@küfürler}:
        if {report::%player%} is 1:
            set {report::%player%} to 2
            wait 5 minutes
            set {report::%player%} to 0
            stop
        if {report::%player%} is 0:
            set {report::%player%} to 1
            wait 5 minutes
            set {report::%player%} to 0
            stop
        if {report::%player%} is 2:
            set {report::%player%} to 3
            wait 5 minutes
            set {report::%player%} to 0
            stop

on chat:
    if {report::mute::%player%} is 0:
        stop
    if {report::mute::%player%} is 1:
        send "{@prefix} &6Susturulmuşsun." to player
        send "{@prefix} &6Şu tarihte açılacak: &e%{tarih}%" to player
        cancel event
        
command /test:
    trigger:
        set {report::mute::%player%} to 0
        set {report::%player%} to 0

on load:
    load yaml "plugins/Raporlar/raporlar.yml" as "config"
    save yaml "config"
 
Elmas madencisi.
Katılım
16 Ağustos 2021
Mesajlar
67
Tepki puanı
25
Puanları
315
Discord
jiko#5327
Cidden herkesin işine yarıyacak bir skript. Ellerinize sağlık.
 
Yeni bir Steve doğdu!
Katılım
4 Ocak 2022
Mesajlar
2
Tepki puanı
0
Puanları
50
Discord
Güzelde ben küfür edenler için hemen mute değilde birçok kişi reportlarsa o zaman mute olsun istiyorum. Yapılabilirmi?
 
Yeni bir Steve doğdu!
Katılım
21 Haziran 2023
Mesajlar
13
Tepki puanı
3
Puanları
30
Discord
ellerine sağlık hocam
 

Üst