Çözüldü Düzeltsemde hata alıyorum

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

Furquan

Play.SequoiaNW.online
Katılım
4 Haziran 2019
Mesajlar
12
Elmaslar
5
Puan
2.000
Yaş
25
Minecraft
_Furquan

Discord:

Furquan#7673

Arkadaşlar skript bu:
Kod:
options:
    coin: sanal
    sans: 1
    adet: 1
    esyaismi: gold nugget
    ismi: &cCoin
    lore: &9Bu bir coindir.
    mesajyollama: true
    mesaj: &3&lS&6&lNW &8&l» &a{@bloksayi} &6balkabağı &7kazdın ve 1 adet &acoin kazandın.    # Coin düştüğünde yollanacak mesaj.
    bloksayi: 2000
    prefix: &3&lS&6&lNW &7&l»
 
variables:
    {p.%player%} = 0
on load:
    set {msj} to {@mesajyollama}
    set {coin} to "{@coin}"
    if {coin} isn't "esya" or "sanal":
        send "&3&lS&6&lNW &7&l» Skript yüklenirken hata oldu lütfen options kısmındaki coin ayarını düzeltiniz." to all players
    stop
 
on break of pumpkin:
        if {p.%player%} is greater than or equal to {@bloksayi}:
            add 1 to {c.%player%}"
            remove {@bloksayi} from {p.%player}
            if {msj} is true:
                send "{@mesaj}" to player
            stop
command /balik1:
    trigger:
        if player has 16 rawclownfish
            remove 16 rawclownfish from player
            add 1 to {c.%player%}
            send "&3&lS&6&lNW &7&l» &716 &ePalyaço Balığı &7karşılığında &a1 Coin &7hesabınıza eklendi."
            execute player command "balikci"
        else:
            send "&3&lS&6&lNW &7&l» &eYeterli Çiğ Balığınız Yok"
command /balik2:
    trigger:
        if player has 16 raw fish
            remove 16 raw fish from player
            add 1 to {c.%player%}
            send "&3&lS&6&lNW &7&l» &716 &eÇiğ Balık &7karşılığında &a1 Coin &7hesabınıza eklendi."
            execute player command "balikci"
        else:
            send "&3&lS&6&lNW &7&l» &eYeterli Çiğ Balığınız Yok"
on login:
    while player is online:
        wait 1 minute
        add 1 to {online.time.%player%}
command /para1:
    trigger:
        if {c.%player%} is greater than or equal to 5:
            execute console command "eco give %player% 100000"
            remove 5 from {c.%player%}
            send "&3&lS&6&lNW &7&l» &7Başarıyla &e5 coin &7karşılığında &a100k &7alındı." to player
        else:
            send "&3&lS&6&lNW &7&l» &cYetersiz coin! Şuanda &e %{c.%player%}% &ccoinin var."
command /para2:
    trigger:
        if {c.%player%} is greater than or equal to 15:
            execute console command "eco give %player% 1000000"
            remove 15 from {c.%player%}
            send "&3&lS&6&lNW &7&l» &7Başarıyla &e15 coin &7karşılığında &a1 Milyon TL &7alındı." to player
        else:
            send "&3&lS&6&lNW &7&l» &cYetersiz coin! Şuanda &e %{c.%player%}% &ccoinin var."
command /para3:
    trigger:
        if {c.%player%} is greater than or equal to 80:
            execute console command "eco give %player% 10000000"
            remove 80 from {c.%player%}
            send "&3&lS&6&lNW &7&l» &7Başarıyla &e80 coin &7karşılığında &a1 Milyar TL alındı." to player
        else:
            send "&3&lS&6&lNW &7&l» &cYetersiz coin! Şuanda &e %{c.%player%}% &ccoinin var."

every 45 minute:
    loop all players:
        {online.time.%loop-player%} is bigger than or equal to 60:
            remove 60 from {online.time.%loop-player%}
            add 1 to {c.%loop-player%}
            send "&a&l60 Dakika online durduğun için 1 coin kazandın" to loop-player
        else:
            exit 1 loop
command /coin:
    trigger:
        if {coin} is "sanal":
            send "&cCoin Miktarın » &e %{c.%player%}%" to player
            stop

command /coinver [<player>] [<int>]:
    permission: coin.admin
    trigger:
        add arg-2 to {c.%arg-1%}
        send "&7Başarıyla &e%arg-1% &eisimli oyuncuya &e%arg-2% &7Coin verildi!"        
         
command /coinbak:
    trigger:
        if {coin} is "sanal":
            send "&cCoin Miktarın » &e %{c.%player%}%" to player
            stop
        else:
            send "Bilinmeyen komut /help"
Hata da bu:
Kod:
[00:41:24] [Server thread/INFO]: [Skript] Reloading sanalc.sk...
[00:41:24] [Server thread/WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (sanalc.sk, line 2: coin:')
[00:41:24] [Server thread/WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (sanalc.sk, line 26: if {msj} is true:')
[00:41:24] [Server thread/WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (sanalc.sk, line 40: if player has 16 rawfish:')
[00:41:24] [Server thread/ERROR]: indentation error: expected 12 spaces, but found 3 tabs (sanalc.sk, line 58: send "&3&lS&6&lNW &7&l� &cYetersiz coin! �uanda &e %{c.%player%}% &ccoinin var."')
[00:41:24] [Server thread/WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (sanalc.sk, line 57: else:')
[00:41:24] [Server thread/ERROR]: indentation error: expected 12 spaces, but found 3 tabs (sanalc.sk, line 74: send "&3&lS&6&lNW &7&l� &cYetersiz coin! �uanda &e %{c.%player%}% &ccoinin var."')
[00:41:24] [Server thread/WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (sanalc.sk, line 73: else:')
[00:41:24] [Server thread/WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (sanalc.sk, line 2: coin:')
[00:41:24] [Server thread/WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (sanalc.sk, line 26: if {msj} is true:')
[00:41:24] [Server thread/WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (sanalc.sk, line 40: if player has 16 rawfish:')
[00:41:24] [Server thread/ERROR]: indentation error: expected 12 spaces, but found 3 tabs (sanalc.sk, line 58: send "&3&lS&6&lNW &7&l� &cYetersiz coin! �uanda &e %{c.%player%}% &ccoinin var."')
[00:41:24] [Server thread/WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (sanalc.sk, line 57: else:')
[00:41:24] [Server thread/ERROR]: indentation error: expected 12 spaces, but found 3 tabs (sanalc.sk, line 74: send "&3&lS&6&lNW &7&l� &cYetersiz coin! �uanda &e %{c.%player%}% &ccoinin var."')
[00:41:24] [Server thread/WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (sanalc.sk, line 73: else:')
[00:41:24] [Server thread/ERROR]: invalid line in options (sanalc.sk, line 2: coin:')
[00:41:24] [Server thread/ERROR]: undefined option {@coin} (sanalc.sk, line 17: set {coin} to "{@coin}"')
[00:41:24] [Server thread/ERROR]: The percent sign is used for expressions (e.g. %player%). To insert a '%' type it twice: %%. (sanalc.sk, line 25: remove {@bloksayi} from {p.%player}')
[00:41:24] [Server thread/ERROR]: Unexpected entry 'else'. Check whether it's spelled correctly or remove it. (sanalc.sk, line 36: else:')
[00:41:24] [Server thread/ERROR]: Can't understand this condition/effect: if player has 16 rawclownfish (sanalc.sk, line 31: if player has 16 rawclownfish')
[00:41:24] [Server thread/ERROR]: Unexpected entry 'else'. Check whether it's spelled correctly or remove it. (sanalc.sk, line 45: else:')
[00:41:24] [Server thread/INFO]: [Skript] Encountered 10 errors while reloading sanalc.sk!
 
Skriptler hatalı olabiliyor ve sunucunda lag yapabiliyor oyüzden skript yerine Plugin kullanmanı tavsiye ederim.
 
Addon eksik gibi görünüyor.
 
command /balik1: trigger: if player has 16 rawclownfish remove 16 rawclownfish from player add 1 to {c.%player%} send "&3&lS&6&lNW &7&l» &716 &ePalyaço Balığı &7karşılığında &a1 Coin &7hesabınıza eklendi." execute player command "balikci" else: send "&3&lS&6&lNW &7&l» &eYeterli Çiğ Balığınız Yok"
Bende bu kısımda hata çıkıyor.
 
NOT : o kısmı çıkardığım da sorunsuz çalışıyor.
 
bazı satırlarda boşluk eksikligi var sen 3 tab koymuşsun
 
Skriptini düzenledim. Denemedim ama umarım olmuştur.

Kod:
options:
    coin: sanal
    sans: 1
    adet: 1
    esyaismi: gold nugget
    ismi: &cCoin
    lore: &9Bu bir coindir.
    mesajyollama: true
    mesaj: &3&lS&6&lNW &8&l» &a{@bloksayi} &6balkabağı &7kazdın ve 1 adet &acoin kazandın.    # Coin düştüğünde yollanacak mesaj.
    bloksayi: 2000
    prefix: &3&lS&6&lNW &7&l»
 
variables:
    {p.%player%} = 0
on load:
    set {msj} to {@mesajyollama}
    set {coin} to "{@coin}"
    if {coin} isn't "esya" or "sanal":
        send "&3&lS&6&lNW &7&l» Skript yüklenirken hata oldu lütfen options kısmındaki coin ayarını düzeltiniz." to all players
 
on break of pumpkin:
        if {p.%player%} is greater than or equal to {@bloksayi}:
            add 1 to {c.%player%}"
            remove {@bloksayi} from {p.%player%}
            if {msj} is true:
                send "{@mesaj}" to player
command /balik1:
    trigger:
        if player has 16 of rawclownfish:
            remove 16 of rawclownfish from player
            add 1 to {c.%player%}
            send "&3&lS&6&lNW &7&l» &716 &ePalyaço Balığı &7karşılığında &a1 Coin &7hesabınıza eklendi."
            execute player command "balikci"
        else:
            send "&3&lS&6&lNW &7&l» &eYeterli Çiğ Balığınız Yok"
command /balik2:
    trigger:
        if player has 16 of raw fish:
            remove 16 of raw fish from player
            add 1 to {c.%player%}
            send "&3&lS&6&lNW &7&l» &716 &eÇiğ Balık &7karşılığında &a1 Coin &7hesabınıza eklendi."
            execute player command "balikci"
        else:
            send "&3&lS&6&lNW &7&l» &eYeterli Çiğ Balığınız Yok"
on login:
    while player is online:
        wait 1 minute
        add 1 to {online.time.%player%}
command /para1:
    trigger:
        if {c.%player%} is greater than or equal to 5:
            execute console command "eco give %player% 100000"
            remove 5 from {c.%player%}
            send "&3&lS&6&lNW &7&l» &7Başarıyla &e5 coin &7karşılığında &a100k &7alındı." to player
        else:
            send "&3&lS&6&lNW &7&l» &cYetersiz coin! Şuanda &e %{c.%player%}% &ccoinin var."
command /para2:
    trigger:
        if {c.%player%} is greater than or equal to 15:
            execute console command "eco give %player% 1000000"
            remove 15 from {c.%player%}
            send "&3&lS&6&lNW &7&l» &7Başarıyla &e15 coin &7karşılığında &a1 Milyon TL &7alındı." to player
        else:
            send "&3&lS&6&lNW &7&l» &cYetersiz coin! Şuanda &e %{c.%player%}% &ccoinin var."
command /para3:
    trigger:
        if {c.%player%} is greater than or equal to 80:
            execute console command "eco give %player% 10000000"
            remove 80 from {c.%player%}
            send "&3&lS&6&lNW &7&l» &7Başarıyla &e80 coin &7karşılığında &a1 Milyar TL alındı." to player
        else:
            send "&3&lS&6&lNW &7&l» &cYetersiz coin! Şuanda &e %{c.%player%}% &ccoinin var."

every 45 minute:
    loop all players:
        if {online.time.%loop-player%} is greater than or equal to 60:
            remove 60 from {online.time.%loop-player%}
            add 1 to {c.%loop-player%}
            send "&a&l60 Dakika online durduğun için 1 coin kazandın" to loop-player
command /coin:
    trigger:
        if {coin} is "sanal":
            send "&cCoin Miktarın » &e %{c.%player%}%" to player

command /coinver [<player>] [<int>]:
    permission: coin.admin
    trigger:
        add arg-2 to {c.%arg-1%}
        send "&7Başarıyla &e%arg-1% &eisimli oyuncuya &e%arg-2% &7Coin verildi!"       
        
command /coinbak:
    trigger:
        if {coin} is "sanal":
            send "&cCoin Miktarın » &e %{c.%player%}%" to player
        else:
            send "Bilinmeyen komut /help"
 
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