Çözüldü bu skriptte ne eksik çalışmıyo :/

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

luckyboross

Koydum Çalışma Masasını
Katılım
16 Şubat 2021
Mesajlar
59
Elmaslar
6
Puan
8.795
Konum
Düzce
Minecraft
Serdar_8118

Discord:

serdar8118

Hata alıyormusunuz? Alıyorsanız ne hatası alıyorsunuz?
 
Kod:
on join:
    message "&d%player% oyuna katıldı&2 %server_online%/100"

on quit:
    message "&d%player% oyunadan ayrıldı&4 %server_online%/100"

command /baslat:
    permission: anandaraliyor.command
    permission message: Yetkin yok
    trigger:
        execute console command "mvtp @a arena"
        wait 5 second
        execute console command "gamemode survival @a"
        execute console command "team add izleyiciler"
        execute console command "worldborder set 300"
        execute console command "whitelist on"
        execute console command "team modify izleyiciler friendlyFire false"
        message "&7duyuru>> &l&610 dakikanız var. 2 dk sonra alan daralmaya başlayacak ve pvp açılacak. iyi oyunlar."
        wait 2 minute
        execute console command "worldborder set 300 480"
        execute console command "team modify izleyiciler friendlyFire true"
        message "&7duyuru>> &l&4pvp açık!! &6alan 8 dk içinde en küçük haline gelecektir."
            
command /pvpac:
    permission: anandaraliyor.command
    permission message: Yetkin yok
    trigger:
        execute console command "team modify izleyiciler friendlyFire true"
        message "&7duyuru>> &4pvp açık!!"
            
command /pvpkapat:
    trigger:
        execute console command "team modify izleyiciler friendlyFire false"
        message "&7duyuru>> &apvp kapalı."

tablarda ciddi derecede hata var, denemedim ama bir deneyin. Ayrıca permissionları değiştirmenizi öneririm :o.
 
Hata alıyormusunuz? Alıyorsanız ne hatası alıyorsunuz?
hata alıyorum hatayı yarın atarım
[20:39:19] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 13 spaces (anandaraliyor.sk, line 11: execute player command "gamemode survival @a"')
[20:39:19] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 13 spaces (anandaraliyor.sk, line 12: execute player command "team add izleyiciler"')
[20:39:19] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 13 spaces (anandaraliyor.sk, line 13: execute player command "worldborder set 300"')
[20:39:19] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 13 spaces (anandaraliyor.sk, line 14: execute player command "whitelist on"')
[20:39:19] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 13 spaces (anandaraliyor.sk, line 15: execute player command "team modify izleyiciler friendlyFire false"')
[20:39:19] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 13 spaces (anandaraliyor.sk, line 16: execute console command "mvtp @a arena"')
[20:39:19] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 13 spaces (anandaraliyor.sk, line 17: message "&7duyuru>> &l&610 dakikanız var. 2 dk sonra alan daralmaya başlayacak ve pvp açılacak. iyi oyunlar."')
[20:39:19] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 13 spaces (anandaraliyor.sk, line 18: wait 2 minute')
[20:39:19] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 13 spaces (anandaraliyor.sk, line 19: execute console command "worldborder set 300 480"')
[20:39:19] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 13 spaces (anandaraliyor.sk, line 20: execute console command "team modify izleyiciler friendlyFire true"')
[20:39:19] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 13 spaces (anandaraliyor.sk, line 21: message "&7duyuru>> &l&4pvp açık!! &6alan 8 dk içinde en küçük haline gelecektir."')
[20:39:19] [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. (anandaraliyor.sk, line 10: trigger:')
[20:39:19] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 12 spaces (anandaraliyor.sk, line 27: execute console command "team modify izleyiciler friendlyFire true"')
[20:39:19] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 12 spaces (anandaraliyor.sk, line 28: message "&7duyuru>> &4pvp açık!!" to loop-player')
[20:39:19] [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. (anandaraliyor.sk, line 26: trigger:')
[20:39:19] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 13 spaces (anandaraliyor.sk, line 32: execute console command "team modify izleyiciler friendlyFire false"')
[20:39:19] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 13 spaces (anandaraliyor.sk, line 33: message "&7duyuru>> &apvp kapalı."')
[20:39:19] [Server thread/ERROR]: Can't understand this expression: server_online (anandaraliyor.sk, line 2: message "&d%player% oyuna katıldı&2 %server_online%/100"')
[20:39:19] [Server thread/ERROR]: Can't understand this expression: server_online (anandaraliyor.sk, line 5: message "&d%player% oyunadan ayrıldı&4 %server_online%/100"')
 
Kod:
on join:
    message "&d%player% oyuna katıldı&2 %server_online%/100"

on quit:
    message "&d%player% oyunadan ayrıldı&4 %server_online%/100"

command /baslat:
    permission: anandaraliyor.command
    permission message: Yetkin yok
    trigger:
        execute console command "mvtp @a arena"
        wait 5 second
        execute console command "gamemode survival @a"
        execute console command "team add izleyiciler"
        execute console command "worldborder set 300"
        execute console command "whitelist on"
        execute console command "team modify izleyiciler friendlyFire false"
        message "&7duyuru>> &l&610 dakikanız var. 2 dk sonra alan daralmaya başlayacak ve pvp açılacak. iyi oyunlar."
        wait 2 minute
        execute console command "worldborder set 300 480"
        execute console command "team modify izleyiciler friendlyFire true"
        message "&7duyuru>> &l&4pvp açık!! &6alan 8 dk içinde en küçük haline gelecektir."
           
command /pvpac:
    permission: anandaraliyor.command
    permission message: Yetkin yok
    trigger:
        execute console command "team modify izleyiciler friendlyFire true"
        message "&7duyuru>> &4pvp açık!!"
           
command /pvpkapat:
    trigger:
        execute console command "team modify izleyiciler friendlyFire false"
        message "&7duyuru>> &apvp kapalı."

tablarda ciddi derecede hata var, denemedim ama bir deneyin. Ayrıca permissionları değiştirmenizi öneririm omg.
napmalıyım?
 
hata alıyorum hatayı yarın atarım
[20:39:19] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 13 spaces (anandaraliyor.sk, line 11: execute player command "gamemode survival @a"')
[20:39:19] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 13 spaces (anandaraliyor.sk, line 12: execute player command "team add izleyiciler"')
[20:39:19] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 13 spaces (anandaraliyor.sk, line 13: execute player command "worldborder set 300"')
[20:39:19] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 13 spaces (anandaraliyor.sk, line 14: execute player command "whitelist on"')
[20:39:19] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 13 spaces (anandaraliyor.sk, line 15: execute player command "team modify izleyiciler friendlyFire false"')
[20:39:19] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 13 spaces (anandaraliyor.sk, line 16: execute console command "mvtp @a arena"')
[20:39:19] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 13 spaces (anandaraliyor.sk, line 17: message "&7duyuru>> &l&610 dakikanız var. 2 dk sonra alan daralmaya başlayacak ve pvp açılacak. iyi oyunlar."')
[20:39:19] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 13 spaces (anandaraliyor.sk, line 18: wait 2 minute')
[20:39:19] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 13 spaces (anandaraliyor.sk, line 19: execute console command "worldborder set 300 480"')
[20:39:19] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 13 spaces (anandaraliyor.sk, line 20: execute console command "team modify izleyiciler friendlyFire true"')
[20:39:19] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 13 spaces (anandaraliyor.sk, line 21: message "&7duyuru>> &l&4pvp açık!! &6alan 8 dk içinde en küçük haline gelecektir."')
[20:39:19] [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. (anandaraliyor.sk, line 10: trigger:')
[20:39:19] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 12 spaces (anandaraliyor.sk, line 27: execute console command "team modify izleyiciler friendlyFire true"')
[20:39:19] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 12 spaces (anandaraliyor.sk, line 28: message "&7duyuru>> &4pvp açık!!" to loop-player')
[20:39:19] [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. (anandaraliyor.sk, line 26: trigger:')
[20:39:19] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 13 spaces (anandaraliyor.sk, line 32: execute console command "team modify izleyiciler friendlyFire false"')
[20:39:19] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 13 spaces (anandaraliyor.sk, line 33: message "&7duyuru>> &apvp kapalı."')
[20:39:19] [Server thread/ERROR]: Can't understand this expression: server_online (anandaraliyor.sk, line 2: message "&d%player% oyuna katıldı&2 %server_online%/100"')
[20:39:19] [Server thread/ERROR]: Can't understand this expression: server_online (anandaraliyor.sk, line 5: message "&d%player% oyunadan ayrıldı&4 %server_online%/100"')
anandaraliyor skriptinin örneğin 27. satırında 12 boşluk yerine 16 olması lazım
 
Boşlukları tab ile düzeltmeyin normal space ile düzeltmeniz daha sağlıklı olacaktır.
 
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