Tribunal Sistemi + Takdir Etmek [Skript] [Ses Efektli]

Thraenkost

Lapis Toplayıcısı
En iyi cevaplar
1
Herkese Merhaba Arkadaşlar!
Bugün sizlere kendi yapmış olduğum skripti paylaşacağım.

Gerekli Pluginler: Skript Ve SkQuery

Hatalar düzeltilmiştir. Hata verirse söylerseniz düzeltirim.
Yeni Komutlar Eklendi.:
Oyuncunun Rapor Ve Takdir Sayılarına Bakmak.

Kod:
on load:
    send "&b&lTribunal System Aktif!" to console
    if folder "plugins/Tribunal" doesn't exists:
        create folder "plugins/skript/Tribunal"
    if file "plugins/skript/Tribunal/tribunal.yml" doesn't exists:
        create file "plugins/skript/Tribunal/tribunal.yml"
        wf "Takdirleri Ve Raporları Buradan Görebilirsiniz:" to "plugins/skript/Tribunal/tribunal.yml"

command /tribunal [<text>]:
    permission: op
    trigger:
        if arg 1 is "yardim":
            send "&6&l#---------------------------------------------------------------------------------------#" to player
            send "&a&lKomut Bilgileri:" to player
            send "&a&l/oyuncu <oyuncu> komutu ile oyuncu hakkında Şikayet // Takdir // Işınlan gibi işlemler uyguluyabiliriz." to player
            send "&a&l/bak <oyuncu> komutu ile oyuncuların Şikayet ve Takdir Sayılarını Görebilirsiniz" to player
            send "&6&l#--------------------------------------------------------------------------------------#" to player

command /bak [<player>]:
    permission: op
    trigger:
         if arg 1 is not set:
             send "&b&lOyuncunun İsmini Yazınız!" to player
         if arg 1 is set:
             open chest with 1 row named "&2&l[%arg 1%'s Bilgileri]" to player
             format slot 3 of player with paper named "&c&llRapor: %{report.%arg 1%}%" to close
             format slot 5 of player with paper named "&a&lTakdir: %{takdir.%arg 1%}%" to close

command /oyuncu [<player>]:
    trigger:
        if arg 1 is "%player%":
            open chest with 1 row named "&2&l[%player%]" to player
            format slot 3 of player with green wool named "&a&lTakdir: %{takdir.%player%}%" to close
            format slot 5 of player with red wool named "&c&lRapor: %{report.%player%}%" to close
        else:
            execute console command "playsound random.chestopen %player%"
            wait a tick
            open chest with 1 row named "&2&l[%arg 1%]" to player
            format slot 3 of player with green wool named "&a&lTakdir" with lore "&b&lDavranışlarını Beğendiğiniz Oyuncuya Takdir Verebilirsiniz." to close then run [make player execute command "/takdir"]
            format slot 4 of player with human head named "&b&l%argument 1%" to close
            format slot 5 of player with red wool named "&c&lRapor" with lore "&b&lKötü Davranışlarda Bulunan Oyuncuyu Şikayet Edebilirsiniz." to close then run [make player execute command "/rapor"]
            format slot 7 of player with human head named "&a&lArkadaş" with lore "&b&lOyuncuyu Arkadaş Ekle." to close then run [make player execute command "/arkadaş %arg 1%"]
            format slot 8 of player with ender pearl named "&b&lIşınlan" with lore "&c&lOyuncuya Işınlanır." to close then run [make player execute command "/isinla"]

on join:
    if {takdir.%player%} is not set:
        set {takdir.%player%} to 0
    if {report.%player%} is not set:
        set {report.%player%} to 0

command /takdir [<player>]:
    usage: &c&lBöyle Demek İstediniz Sanırım: /takdir <oyuncu>
    trigger:
        if {takdir1.%player%} is not set:
            if arg 1 is not set:
                send "&b&lTakdir Edilecek Oyuncunun İsmini Sohbete Yazınız." to player
                set {asd.%player%} to true
            if arg 1 is set:
                execute console command "playsound random.chestopen %player%"
                wait a tick
                open chest with 1 row named "&2&l[Honor]" to player
                format slot 3 of player with green wool named "&a&lÖrnek Oyuncu" to close then run [make player execute command "/ornek"]
                format slot 5 of player with green wool named "&a&lAsla Yılmaz!" to close then run [make player execute command "/yilmaz"]
        else:
            send "&c&lMalesef Bekleme Süreniz Var!" to player

on chat:
    {asd.%player%} is true:
        cancel event
        set {asd.%player%} to false
        set {_takdir} to message
        loop all players:
            "%loop-player%" is "%{_takdir}%"
            execute player command "/takdir %{_takdir}%"

command /ornek [<player>]:
    trigger:
        if arg 1 is "%player%":
            send "&c&lKendini Takdir Edemessin!"
        else:
            if arg 1 is not set:
                send "&b&lOyuncunun İsmi Sohbete Yazınız." to player
                set {ornek.%player%} to true
            if arg 1 is set:
                if {takdir1.%player%} is not set:
                    send "&a&lOyuncu Takdir Edildi." to player
                    send "&a&l+1 Takdir Puanı Aldınız :) [Örnek Oyuncu]" to argument 1
                    execute console command "playsound random.levelup %arg 1%"
                    add 1 to {takdir.%arg 1%}
                    wf "Örnek Oyuncu: %arg 1% // Takdir Eden: %player%" to "plugins/skript/Tribunal/tribunal.yml"
                    set {takdir1.%player%} to true
                    wait 5 hour
                    delete {takdir1.%player%}

on chat:
    {ornek.%player%} is true:
        cancel event
        set {ornek.%player%} to false
        set {_ornek} to message
        loop all players:
            "%loop-player%" is "%{_ornek}%"
            execute player command "/ornek %{_ornek}%"


command /yilmaz [<player>]:
    trigger:
        if arg 1 is "%player%":
            send "&c&lKendini Takdir Edemessin!"
        else:
            if arg 1 is not set:
                send "&b&lOyuncunun İsmi Sohbete Yazınız." to player
                set {yilmaz.%player%} to true
            if arg 1 is set:
                if {takdir1.%player%} is not set:
                    send "&a&lOyuncu Takdir Edildi." to player
                    send "&a&l+1 Takdir Puanı Aldınız :) [Asla Yılmaz!]" to argument 1
                    execute console command "playsound random.levelup %arg 1%"
                    add 1 to {takdir.%arg 1%}
                    wf "Asla Yılmayan: %arg 1% // Takdir Eden: %player%" to "plugins/skript/Tribunal/tribunal.yml"
                    set {takdir1.%player%} to true
                    wait 5 hour
                    delete {takdir1.%player%}

on chat:
    {yilmaz.%player%} is true:
        cancel event
        set {yilmaz.%player%} to false
        set {_yilmaz} to message
        loop all players:
            "%loop-player%" is "%{_yilmaz}%"
            execute player command "/yilmaz %{_yilmaz}%"

command /rapor [<player>]:
    trigger:
        if arg 1 is not set:
            send "&c&lŞikayet Edilcek Oyuncunun İsmini Sohbete Yazınız." to player
            set {rapor.%player%} to true
        if arg 1 is set:
            execute console command "playsound random.chestopen %player%"
            open chest with 1 row named "&2&l[Report]" to player
            format slot 3 of player with red wool named "&4&lHakaret" to close then run [make player execute command "/hakaret"]
            format slot 5 of player with red wool named "&4&lKötü Oyuncu" to close then run [make player execute command "/kotu"]
command /hakaret [<player>]:
    trigger:
        if arg 1 is "%player%":
            send "&c&lKendini Report Edemessin!" to player
        else:
            arg 1 is not set:
                send "&b&lOyuncunun İsmi Sohbete Yazınız." to player
                set {hakaret.%player%} to true
            arg 1 is set:
                if {report1.%player%} is not set:
                    send "&c&lOyuncu Takdir Edildi." to player
                    send "&c&l+1 Report Puanı Aldınız [Hakaret]" to argument 1
                    execute console command "playsound random.anvil_use %arg 1%"
                    add 1 to {report.%arg 1%}
                    wf "Hakaret: %arg 1% // Şikayet Eden: %player%" to "plugins/skript/Tribunal/tribunal.yml"
                    set {report1.%player%} to true
                    wait 5 hour
                    delete {report1.%player%}

on chat:
    {hakaret.%player%} is true:
        cancel event
        set {hakaret.%player%} to false
        set {_hakaret} to message
        loop all players:
            "%loop-player%" is "%{_hakaret}%"
            execute player command "/hakaret %{_hakaret}%"

command /kotu [<player>]:
    trigger:
        if arg 1 is "%player%":
            send "&c&lKendini Şikayet Edemessin!!" to player
        else:
            arg 1 is not set:
                send "&b&lOyuncunun İsmi Sohbete Yazınız." to player
                set {kotu.%player%} to true
            arg 1 is set:
                if {report1.%player%} is not set:
                    send "&c&lOyuncu Şikayet." to player
                    send "&c&l+1 Report Puanı Aldınız [Kötü Oyuncu]" to argument 1
                    execute console command "playsound random.anvil_use %arg 1%"
                    add 1 to {takdir.%arg 1%}
                    wf "Kötü Örnek Olan Oyuncu: %arg 1% // Şikayet Eden: %player%" to "plugins/skript/Tribunal/tribunal.yml"
                    set {report1.%player%} to true
                    wait 5 hour
                    delete {report1.%player%}

on chat:
    {kotu.%player%} is true:
        cancel event
        set {kotu.%player%} to false
        set {_kotu} to message
        loop all players:
            "%loop-player%" is "%{_kotu}%"
            execute player command "/kotu %{_kotu}%"

command /isinla [<player>]:
    trigger:
        arg 1 is not set:
            send "&b&lIşınlancak oyuncunun ismini yazınız." to player
            send "&b&l/isinla <oyuncu>" to player
        arg 1 is set:
            send "&b&lIşınlanılıyor!" to player
            execute player command "/tpa %argument 1"
[/ CODE]
 
Son düzenleme:

EnesXYZ

Kızıltaş Madencisi
En iyi cevaplar
0
Bi de türk olacaksın. Report değil Rapor yazacaksın oraya kardeş. Anime izleye izleye millet bozuluyor :S
 

EnesXYZ

Kızıltaş Madencisi
En iyi cevaplar
0
ormat slot 5 of player with red wool named "&c&lReport: %{report.%player%}%" to close
 
Üst