Skript Paylaşımı OPGuard 2.0 | YAML + GUI Destekli Güvenlik Kodu Skripti

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
F

Furkan Doğan

Ziyaretçi
opguard.png

OPGuard Bir Güvenlik Kodu Skriptidir. Operatör Olan Kişiler Sunucuya Katıldıktan Sonra Belirtilen Güvenlik Kodunu
Girmeden Hiçbir İşlem Gerçekleştiremezler. Kullanmanız Gereken Hiçbir Komut Bulunmamaktadır.

✦ Gereken Eklentiler

Skript v2.2dev25 Ve Üzeri
Skript-yaml
SkQuery
SkrayFall
TuSKe
SharpSk

✦ Sistemden Görüntüler

Doğru Giriş;
asdasd.gif


Zaman Aşımı;
bsdbsd.gif


Çok Fazla Yanlış Giriş;
csdcsd.gif

✦ Ayar (config) Dosyası

Kod:
#OPGuard 2.0 | Furkan Doğan#9221

Ayarlar:
  Kod: 1234 #Kod 4 Haneli Olmak Zorundadır.
 
Log:
  Durum: true
 
Ban:
  Durum: true
  BanSuresi: 1 #Dakika.
  BanMesaji: '&cÇok Fazla Yanlış Giriş Yaptığınızdan Dolayı Kısa Süre Engellendiniz.'

Mesajlar:
  Prefix: '&3&lOP&b&lGUARD &8»'
  ZamanAsimi: '&cSize Verilen Süre Içerisinde Güvenlik Kodunu Girmediğiniz Için Atıldınız.'
  SohbetEdemezsin: '&7Güvenlik Kodunu Girmeden Sohbeti Kullanamazsınız.'
  KomutKullanamazsin: '&7Güvenlik Kodunu Girmeden Komut Kullanamazsınız.'
  HareketEdemezsin: '&7Güvenlik Kodunu Girmeden Hareket Edemezsiniz.'

✦ Sistem/Kod

Kod:
on load:
    load yaml "plugins/OPGuard/config.yml" as "config"  
    load yaml "plugins/OPGuard/log.yml" as "log"
    set {prefix} to yaml value "Mesajlar.Prefix" from "config"  

on join:
    if player is op:
        set {kodgirildi::%player%} to false
        opguardYeniden(player)      
        clear all effects from player 
        wait 1 second
        apply potion of resistance of tier 255 to player for 10000 second
        apply potion of blindness of tier 255 to player for 10000 second
        apply potion of slowness of tier 20 to player for 10000 second              
        opguardMenu(player)      
        wait 27 second              
        if {kodgirildi::%player%} is false:  
            kick player due to "%yaml value ""Mesajlar.ZamanAsimi"" from ""config""%"
            if yaml value "Log.Durum" from "config" is true:              
                add "Kullanıcı: %player%%newline%IP Adresi: %player's ip%%newline%Tarih: %day%/%month%/%year% %hour%.%minute%.%second%%newline%Sonuç: Kodu Belirtilen Süre İçerisinde Girmedi Ve Atıldı." to yaml list "OPGuard Logs" from "log"
                save yaml "log"                      

command /enter:
    trigger:
        if player is op:  
            if {kodgirildi::%player%} is false:
                set {kod::%player%} to "%{1::%player%}%%{2::%player%}%%{3::%player%}%%{4::%player%}%"                      
                send player title "&6● &7● &7●" with subtitle "&eKod Doğrulanıyor.." for 2 second          
                wait 1 second
                send player title "&6● &6● &7●" with subtitle "&eKod Doğrulanıyor.." for 2 second
                wait 1 second
                send player title "&6● &6● &6●" with subtitle "&eKod Doğrulanıyor.." for 2 second
                wait 1.5 second              
                if {kod::%player%} is "%yaml value ""Ayarlar.Kod"" from ""config""%":
                    set {kodgirildi::%player%} to true              
                    set {tempban::%player%} to 0              
                    send player title "&a✔" with subtitle "&eKod Doğrulandı." for 2.5 second
                    play "LEVEL_UP" to player at volume 10                  
                    if yaml value "Log.Durum" from "config" is true:
                        add "Kullanıcı: %player%%newline%IP Adresi: %player's ip%%newline%Tarih: %day%/%month%/%year% %hour%.%minute%.%second%%newline%Sonuç: Giriş Yapıldı." to yaml list "OPGuard Logs" from "log"                  
                        save yaml "log"              
                    clear all effects from player                  
                else:
                    if {kod::%player%} is not "%yaml value ""Ayarlar.Kod"" from ""config""%":
                        if yaml value "Ban.Durum" from "config" is true:                  
                            add 1 to {tempban::%player%}
                            if {tempban::%player%} is greater than 2:                                                                                                         
                                set {tempban::%player%} to 0
                                deop the player                              
                                execute console command "tempban %player% %yaml value ""Ban.BanSuresi"" from ""config""%m %yaml value ""Ban.BanMesaji"" from ""config""%"
                                op the player
                                if yaml value "Log.Durum" from "config" is true:                      
                                    add "Kullanıcı: %player%%newline%IP Adresi: %player's ip%%newline%Tarih: %day%/%month%/%year% %hour%.%minute%.%second%%newline%Sonuç: Kodu 3 Kez Yanlış Girdi Ve Kısa Süre Engellendi." to yaml list "OPGuard Logs" from "log"
                                    save yaml "log"                              
                            send player title "&c✖" with subtitle "&eKod Yanlış." for 2.5 second                      
                            play "NOTE_BASS" to player at volume 10
                            wait 1.5 second                      
                            opguardYeniden(player)                          
                            opguardMenu(player)
                        else:
                            send player title "&c✖" with subtitle "&eKod Yanlış." for 2.5 second                      
                            play "NOTE_BASS" to player at volume 10
                            wait 1.5 second                      
                            opguardYeniden(player)                          
                            opguardMenu(player)
                            if yaml value "Log.Durum" from "config" is true:                      
                                add "Kullanıcı: %player%%newline%IP Adresi: %player's ip%%newline%Tarih: %day%/%month%/%year% %hour%.%minute%.%second%%newline%Sonuç: Kodu Yanlış Girdi." to yaml list "OPGuard Logs" from "log"
                                save yaml "log"                                                          

function opguardMenu(p: player):
    if {birinciasama::%{_p}%} isn't set:
        open virtual chest with size 5 named "&3OP&bGuard &8➜ &eKodu Girin." to {_p}
        make gui slot 25 of {_p} with black glass pane named "&7Kodu Girin."      
        make gui slot 19 of {_p} with red glass pane named "&cYeniden Dene" to run:
            opguardYeniden(player)
            opguardMenu(player)           
        make gui slot 12 of {_p} with yellow glass pane named "&e1" to run:
            set {birinciasama::%{_p}%} to true      
            execute {_p} command "kod bir 1"
            opguardMenu(player)           
        make gui slot 13 of {_p} with 2 yellow glass pane named "&e2" to run:
            execute {_p} command "kod bir 2"
            set {birinciasama::%{_p}%} to true      
            opguardMenu(player)          
        make gui slot 14 of {_p} with 3 yellow glass pane named "&e3" to run:
            set {birinciasama::%{_p}%} to true      
            execute {_p} command "kod bir 3"
            opguardMenu(player)   
        make gui slot 21 of {_p} with 4 yellow glass pane named "&e4" to run:
            set {birinciasama::%{_p}%} to true      
            execute {_p} command "kod bir 4"
            opguardMenu(player)   
        make gui slot 22 of {_p} with 5 yellow glass pane named "&e5" to run:
            set {birinciasama::%{_p}%} to true      
            execute {_p} command "kod bir 5"
            opguardMenu(player)   
        make gui slot 23 of {_p} with 6 yellow glass pane named "&e6" to run:
            set {birinciasama::%{_p}%} to true      
            execute {_p} command "kod bir 6"
            opguardMenu(player)
        make gui slot 30 of {_p} with 7 yellow glass pane named "&e7" to run:
            set {birinciasama::%{_p}%} to true      
            execute {_p} command "kod bir 7"
            opguardMenu(player)
        make gui slot 31 of {_p} with 8 yellow glass pane named "&e8" to run:
            set {birinciasama::%{_p}%} to true      
            execute {_p} command "kod bir 8"
            opguardMenu(player)
        make gui slot 32 of {_p} with 9 yellow glass pane named "&e9" to run:
            set {birinciasama::%{_p}%} to true      
            execute {_p} command "kod bir 9"
            opguardMenu(player)   
        make gui slot 0 and 1 and 2 and 3 and 4 and 5 and 6 and 7 and 8 and 36 and 37 and 38 and 39 and 40 and 41 and 42 and 43 and 44 of {_p} with blue glass pane named ""  
        make gui slot 9 and 10 and 11 and 15 and 16 and 17 and 18 and 20 and 24 and 26 and 27 and 28 and 29 and 33 and 34 and 35 of {_p} with light blue glass pane named ""
    else if {ikinciasama::%{_p}%} isn't set:
        open virtual chest with size 5 named "&3OP&bGuard &8➜ &e%{1::%{_p}%}%" to {_p}
        make gui slot 25 of {_p} with black glass pane named "&7Kodu Girin."      
        make gui slot 19 of {_p} with red glass pane named "&cYeniden Dene" to run:
            opguardYeniden(player)
            opguardMenu(player)      
        make gui slot 12 of {_p} with yellow glass pane named "&e1" to run:
            set {ikinciasama::%{_p}%} to true      
            execute {_p} command "kod iki 1"
            opguardMenu(player)          
        make gui slot 13 of {_p} with 2 yellow glass pane named "&e2" to run:
            set {ikinciasama::%{_p}%} to true      
            execute {_p} command "kod iki 2"
            opguardMenu(player)  
        make gui slot 14 of {_p} with 3 yellow glass pane named "&e3" to run:
            set {ikinciasama::%{_p}%} to true      
            execute {_p} command "kod iki 3"
            opguardMenu(player)  
        make gui slot 21 of {_p} with 4 yellow glass pane named "&e4" to run:
            set {ikinciasama::%{_p}%} to true      
            execute {_p} command "kod iki 4"
            opguardMenu(player)  
        make gui slot 22 of {_p} with 5 yellow glass pane named "&e5" to run:
            set {ikinciasama::%{_p}%} to true      
            execute {_p} command "kod iki 5"
            opguardMenu(player)  
        make gui slot 23 of {_p} with 6 yellow glass pane named "&e6" to run:
            set {ikinciasama::%{_p}%} to true      
            execute {_p} command "kod iki 6"
            opguardMenu(player)
        make gui slot 30 of {_p} with 7 yellow glass pane named "&e7" to run:
            set {ikinciasama::%{_p}%} to true      
            execute {_p} command "kod iki 7"
            opguardMenu(player)
        make gui slot 31 of {_p} with 8 yellow glass pane named "&e8" to run:
            set {ikinciasama::%{_p}%} to true      
            execute {_p} command "kod iki 8"
            opguardMenu(player)
        make gui slot 32 of {_p} with 9 yellow glass pane named "&e9" to run:
            set {ikinciasama::%{_p}%} to true      
            execute {_p} command "kod iki 9"
            opguardMenu(player)  
        make gui slot 0 and 1 and 2 and 3 and 4 and 5 and 6 and 7 and 8 and 36 and 37 and 38 and 39 and 40 and 41 and 42 and 43 and 44 of {_p} with blue glass pane named ""  
        make gui slot 9 and 10 and 11 and 15 and 16 and 17 and 18 and 20 and 24 and 26 and 27 and 28 and 29 and 33 and 34 and 35 of {_p} with light blue glass pane named ""  
    else if {ücüncüasama::%{_p}%} isn't set:
        open virtual chest with size 5 named "&3OP&bGuard &8➜ &e%{1::%{_p}%}%%{2::%{_p}%}%" to {_p}
        make gui slot 25 of {_p} with black glass pane named "&7Kodu Girin."      
        make gui slot 19 of {_p} with red glass pane named "&cYeniden Dene" to run:
            opguardYeniden(player)
            opguardMenu(player)
        make gui slot 12 of {_p} with yellow glass pane named "&e1" to run:
            set {ücüncüasama::%{_p}%} to true      
            execute {_p} command "kod üç 1"
            opguardMenu(player)          
        make gui slot 13 of {_p} with 2 yellow glass pane named "&e2" to run:
            set {ücüncüasama::%{_p}%} to true      
            execute {_p} command "kod üç 2"
            opguardMenu(player)  
        make gui slot 14 of {_p} with 3 yellow glass pane named "&e3" to run:
            set {ücüncüasama::%{_p}%} to true      
            execute {_p} command "kod üç 3"
            opguardMenu(player)      
        make gui slot 21 of {_p} with 4 yellow glass pane named "&e4" to run:
            set {ücüncüasama::%{_p}%} to true      
            execute {_p} command "kod üç 4"
            opguardMenu(player)      
        make gui slot 22 of {_p} with 5 yellow glass pane named "&e5" to run:
            set {ücüncüasama::%{_p}%} to true      
            execute {_p} command "kod üç 5"
            opguardMenu(player)      
        make gui slot 23 of {_p} with 6 yellow glass pane named "&e6" to run:
            set {ücüncüasama::%{_p}%} to true      
            execute {_p} command "kod üç 6"
            opguardMenu(player)  
        make gui slot 30 of {_p} with 7 yellow glass pane named "&e7" to run:
            set {ücüncüasama::%{_p}%} to true      
            execute {_p} command "kod üç 7"
            opguardMenu(player)  
        make gui slot 31 of {_p} with 8 yellow glass pane named "&e8" to run:
            set {ücüncüasama::%{_p}%} to true      
            execute {_p} command "kod üç 8"
            opguardMenu(player)  
        make gui slot 32 of {_p} with 9 yellow glass pane named "&e9" to run:
            set {ücüncüasama::%{_p}%} to true      
            execute {_p} command "kod üç 9"
            opguardMenu(player)      
        make gui slot 0 and 1 and 2 and 3 and 4 and 5 and 6 and 7 and 8 and 36 and 37 and 38 and 39 and 40 and 41 and 42 and 43 and 44 of {_p} with blue glass pane named ""  
        make gui slot 9 and 10 and 11 and 15 and 16 and 17 and 18 and 20 and 24 and 26 and 27 and 28 and 29 and 33 and 34 and 35 of {_p} with light blue glass pane named ""          
    else if {dorduncuasama::%{_p}%} isn't set:
        open virtual chest with size 5 named "&3OP&bGuard &8➜ &e%{1::%{_p}%}%%{2::%{_p}%}%%{3::%{_p}%}%" to {_p}
        make gui slot 25 of {_p} with black glass pane named "&7Kodu Girin."      
        make gui slot 19 of {_p} with red glass pane named "&cYeniden Dene" to run:
            opguardYeniden(player)
            opguardMenu(player)
        make gui slot 12 of {_p} with yellow glass pane named "&e1" to run:
            set {dorduncuasama::%{_p}%} to true      
            execute {_p} command "kod dört 1"
            opguardMenu(player)          
        make gui slot 13 of {_p} with 2 yellow glass pane named "&e2" to run:
            set {dorduncuasama::%{_p}%} to true      
            execute {_p} command "kod dört 2"
            opguardMenu(player)  
        make gui slot 14 of {_p} with 3 yellow glass pane named "&e3" to run:
            set {dorduncuasama::%{_p}%} to true      
            execute {_p} command "kod dört 3"
            opguardMenu(player)      
        make gui slot 21 of {_p} with 4 yellow glass pane named "&e4" to run:
            set {dorduncuasama::%{_p}%} to true      
            execute {_p} command "kod dört 4"
            opguardMenu(player)      
        make gui slot 22 of {_p} with 5 yellow glass pane named "&e5" to run:
            set {dorduncuasama::%{_p}%} to true      
            execute {_p} command "kod dört 5"
            opguardMenu(player)      
        make gui slot 23 of {_p} with 6 yellow glass pane named "&e6" to run:
            set {dorduncuasama::%{_p}%} to true      
            execute {_p} command "kod dört 6"
            opguardMenu(player)  
        make gui slot 30 of {_p} with 7 yellow glass pane named "&e7" to run:
            set {dorduncuasama::%{_p}%} to true      
            execute {_p} command "kod dört 7"
            opguardMenu(player)  
        make gui slot 31 of {_p} with 8 yellow glass pane named "&e8" to run:
            set {dorduncuasama::%{_p}%} to true      
            execute {_p} command "kod dört 8"
            opguardMenu(player)  
        make gui slot 32 of {_p} with 9 yellow glass pane named "&e9" to run:
            set {dorduncuasama::%{_p}%} to true      
            execute {_p} command "kod dört 9"
            opguardMenu(player)      
        make gui slot 0 and 1 and 2 and 3 and 4 and 5 and 6 and 7 and 8 and 36 and 37 and 38 and 39 and 40 and 41 and 42 and 43 and 44 of {_p} with blue glass pane named ""  
        make gui slot 9 and 10 and 11 and 15 and 16 and 17 and 18 and 20 and 24 and 26 and 27 and 28 and 29 and 33 and 34 and 35 of {_p} with light blue glass pane named ""
    else if {besinciasama::%{_p}%} isn't set:
        open virtual chest with size 5 named "&3OP&bGuard &8➜ &e%{1::%{_p}%}%%{2::%{_p}%}%%{3::%{_p}%}%%{4::%{_p}%}%" to {_p}
        make gui slot 25 of {_p} with light green glass pane named "&aDoğrula" to run:
            execute {_p} command "enter"
            close {_p}'s inventory          
        make gui slot 19 of {_p} with red glass pane named "&cYeniden Dene" to run:
            opguardYeniden(player)
            opguardMenu(player)
        make gui slot 12 of {_p} with yellow glass pane named "&e1" to run:
            set {besinciasama::%{_p}%} to true      
            execute {_p} command "kod beş 1"
            opguardMenu(player)          
        make gui slot 13 of {_p} with 2 yellow glass pane named "&e2" to run:
            set {besinciasama::%{_p}%} to true      
            execute {_p} command "kod beş 2"
            opguardMenu(player)  
        make gui slot 14 of {_p} with 3 yellow glass pane named "&e3" to run:
            set {besinciasama::%{_p}%} to true      
            execute {_p} command "kod beş 3"
            opguardMenu(player)      
        make gui slot 21 of {_p} with 4 yellow glass pane named "&e4" to run:
            set {besinciasama::%{_p}%} to true      
            execute {_p} command "kod beş 4"
            opguardMenu(player)      
        make gui slot 22 of {_p} with 5 yellow glass pane named "&e5" to run:
            set {besinciasama::%{_p}%} to true      
            execute {_p} command "kod beş 5"
            opguardMenu(player)      
        make gui slot 23 of {_p} with 6 yellow glass pane named "&e6" to run:
            set {besinciasama::%{_p}%} to true      
            execute {_p} command "kod beş 6"
            opguardMenu(player)  
        make gui slot 30 of {_p} with 7 yellow glass pane named "&e7" to run:
            set {besinciasama::%{_p}%} to true      
            execute {_p} command "kod beş 7"
            opguardMenu(player)  
        make gui slot 31 of {_p} with 8 yellow glass pane named "&e8" to run:
            set {besinciasama::%{_p}%} to true      
            execute {_p} command "kod beş 8"
            opguardMenu(player)  
        make gui slot 32 of {_p} with 9 yellow glass pane named "&e9" to run:
            set {besinciasama::%{_p}%} to true      
            execute {_p} command "kod beş 9"
            opguardMenu(player)      
        make gui slot 0 and 1 and 2 and 3 and 4 and 5 and 6 and 7 and 8 and 36 and 37 and 38 and 39 and 40 and 41 and 42 and 43 and 44 of {_p} with blue glass pane named ""  
        make gui slot 9 and 10 and 11 and 15 and 16 and 17 and 18 and 20 and 24 and 26 and 27 and 28 and 29 and 33 and 34 and 35 of {_p} with light blue glass pane named ""      
  
command /kod [<text>] [<number>]:
    trigger:
        if arg 1 is "bir":
            if {1::%player%} isn't set:
                set {1::%player%} to arg 2  
        if arg 1 is "iki":
            if {2::%player%} isn't set:
                set {2::%player%} to arg 2
        if arg 1 is "üç":
            if {3::%player%} isn't set:
                set {3::%player%} to arg 2
        if arg 1 is "dört":
            if {4::%player%} isn't set:
                set {4::%player%} to arg 2
        if arg 1 is "beş":
            if {5::%player%} isn't set:
                set {4::%player%} to arg 2               

function opguardYeniden(p: player):
    delete {1::%{_p}%}
    delete {2::%{_p}%}
    delete {3::%{_p}%}
    delete {4::%{_p}%}
    delete {5::%{_p}%}          
    delete {birinciasama::%{_p}%}
    delete {ikinciasama::%{_p}%}
    delete {ücüncüasama::%{_p}%}
    delete {dorduncuasama::%{_p}%}
    delete {besinciasama::%{_p}%}

on chat:
    if player is op:
        if {kodgirildi::%player%} is false:
            cancel event
            send "%{prefix}% %yaml value ""Mesajlar.SohbetEdemezsin"" from ""config""%" to player

on command:
    command is not "kod" or "enter"
    if player is op:
        if {kodgirildi::%player%} is false:
            cancel event
            send "%{prefix}% %yaml value ""Mesajlar.KomutKullanamazsin"" from ""config""%" to player  

on place:
    if player is op:
        if {kodgirildi::%player%} is false:
            cancel event
            send "%{prefix}% %yaml value ""Mesajlar.HareketEdemezsin"" from ""config""%" to player
          
on break:
    if player is op:
        if {kodgirildi::%player%} is false:
            cancel event
            send "%{prefix}% %yaml value ""Mesajlar.HareketEdemezsin"" from ""config""%" to player  

on drop:
    if player is op:
        if {kodgirildi::%player%} is false:
            cancel event
            send "%{prefix}% %yaml value ""Mesajlar.HareketEdemezsin"" from ""config""%" to player  
          
on jump:
    if player is op:
        if {kodgirildi::%player%} is false:
            cancel event
            send "%{prefix}% %yaml value ""Mesajlar.HareketEdemezsin"" from ""config""%" to player

on consume:
    if player is op:
        if {kodgirildi::%player%} is false:
            cancel event
            send "%{prefix}% %yaml value ""Mesajlar.HareketEdemezsin"" from ""config""%" to player

on click:
    if player is op:
        if {kodgirildi::%player%} is false:
            cancel event
            send "%{prefix}% %yaml value ""Mesajlar.HareketEdemezsin"" from ""config""%" to player

on gamemode change:
    if player is op:
        if {kodgirildi::%player%} is false:
            cancel event
            send "%{prefix}% %yaml value ""Mesajlar.HareketEdemezsin"" from ""config""%" to player          
          
on rightclick:
    if player is op:
        if {kodgirildi::%player%} is false:
            cancel event
            send "%{prefix}% %yaml value ""Mesajlar.HareketEdemezsin"" from ""config""%" to player  

on craft:
    if player is op:
        if {kodgirildi::%player%} is false:
            cancel event
            send "%{prefix}% %yaml value ""Mesajlar.HareketEdemezsin"" from ""config""%" to player

on bed enter:
    if player is op:
        if {kodgirildi::%player%} is false:
            cancel event
            send "%{prefix}% %yaml value ""Mesajlar.HareketEdemezsin"" from ""config""%" to player

✦ Kurulum

* Sırasıyla;
- OPGuard.sk Dosyasını Scripts Klasörünüze Kurun.
- Sunucu Açık İse "/sk reload opguard" Yazın. Kapalı İse Açın.
- plugins/OPGuard Dizinine Gidin.
- config.yml Dosyasını Açın Ve Verilen "Ayar (config) Dosyası" Kodlarını Yapıştırın.
- Ayar Dosyasından Ayarlarınızı Yaptıktan Sonra Kaydedin.
- Yapılan Değişiklikleri Kaydetmek İçin "/sk reload opguard" Yazın.

* Ve OPGuard Kullanıma Hazır :)

✦ Ek Açıklamalar

*
Güvenlik Kodu 4 Haneli Olmak Zorundadır. Örnek: 1234

* Kodu Kendinize Göre Değiştirebilirsiniz.
 

Ekli dosyalar

  • dia.png
    dia.png
    24,4 KB · Görüntüleme: 29
  • asdasd.gif
    asdasd.gif
    364,5 KB · Görüntüleme: 27
  • bsdbsd.gif
    bsdbsd.gif
    596 KB · Görüntüleme: 29
  • csdcsd.gif
    csdcsd.gif
    726,8 KB · Görüntüleme: 25
  • dia.png
    dia.png
    24,4 KB · Görüntüleme: 25
  • dia.png
    dia.png
    24,4 KB · Görüntüleme: 23
  • bsdbsd.gif
    bsdbsd.gif
    596 KB · Görüntüleme: 27
Son düzenleme:
Manuel olarak plugins klasörüne OPGuard dosyası oluşturmak yerine otomatik bir sistem yapabilirsin.

JavaScript:
load yaml "plugins/OPGuard/config.yml" as "OPGuard"
    if yaml "OPGuard" is empty:
        set yaml value "Prefix" from "OPGuard" to "&3OPGuard &8»"
gibi
 
Manuel olarak plugins klasörüne OPGuard dosyası oluşturmak yerine otomatik bir sistem yapabilirsin.

JavaScript:
load yaml "plugins/OPGuard/config.yml" as "OPGuard"
    if yaml "OPGuard" is empty:
        set yaml value "Prefix" from "OPGuard" to "&3OPGuard &8»"
gibi
Denedim, fakat birkaç sorun yaşadım o yüzden bu şekilde yaptım. Yorumun için teşekkür ederim :))
 

İşe yarabilecek bir skript olmuş.
Ama elbette geliştirilebilecek yerleri var.
Elinize sağlık, kolay gelsin.

 
başarılı bir skript olmuş localden deneyeceğim
 
Ellerine sağlık, fikir çok güzel fakat dosya oluşturmayı otomatik yapabilirsin. :<3:
 
Güzel bir skript olmuş, başarılar!​
 

Özellikle grieflenen sunucular için baya güzel bir koruma olmuş başarılar
 
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