Sol Reklam

Bulundu Gamerule skripti hata

Durum
Mesaj gönderimine kapalı.

Deleted User 63724

Yaratık Tuzağı: Çalışıyor
Katılım
9 Nisan 2017
Mesajlar
715
Elmaslar
332
Puanlar
14.730
Merhaba MC-TR
Bir skript yazdım fakat hata veriyor
skriptim Gamerule menü skripti kodlar:
Kod:
command /gr [<text>]:
    permission: sk.admin
    permisison message: &8[&cGameRule&8] &7Bunu Yapamazsin
    trigger:
        if arg 1 is not set:
            if arg 2 is not set:
                wait 2 tick
                open chest with 1 rows named "&c&lGame &4&lRule" to player
                wait 2 tick
                format slot 0 of player with 1 of paper named "&6&lKeepInventory" with lore "&7olunce itemlerin gitmesini - gitmemesini saglar" to run "gr KeepInventory"
                format slot 1 of player with 1 of paper named "&6&lCommands" with lore "&7Komut bloklarinda ne oldugunu gosterir - gostermez (chatta)" to run "gr Command"
                format slot 2 of player with 1 of paper named "&6&lMobSpawn" with lore "&7Moblarin dogmasini engeller - engellemez" to run "gr mobspawn"
                format slot 3 of player with 1 of paper named "&6&lMobDrops" with lore "&7Moblardan item dusmesini engeller - engellemez" to run "gr mobloot"
                format slot 4 of player with 1 of paper named "&6&lFireTick" with lore "&7Atesin yayilmasini - yayilmamasini saglar" to run "gr firetick"        
                format slot 5 of player with 1 of paper named "&6&lCreeper" with lore "Creeper patlayinca blok kirilsin - kirilmasin" to run "gr griefing"
                format slot 6 of player with 1 of paper named "&6&lOlum mesaj" with lore "&7Olum mesajlarini gosterir - gostermez" to run "gr deathmessage"
                format slot 7 of player with 1 of paper named "&6&lGunes" with lore "&7Gunesin hareket etmesini engeller - engellemez" to run "gr doday"
                format slot 8 of player with 1 of paper named "&4&lKapat" with lore "&cMenuyu kapat" to close
        if arg 1 is "KeepInventory":
            format slot 4 of player with 1 of paper named "&6&lKarar" to close
            format slot 0 of player with 1 of green satined glass named "&a&lTrue" to run "gamerule keepInventory true"
            format slot 8 of player with 1 of red satined glass named "&c&lFalse" to run "gamerule keepInventory false"
        if arg 1 is "command":
            format slot 4 of player with 1 of paper named "&6&lKarar" to close
            format slot 0 of player with 1 of green satined glass named "&a&lTrue" to run "gamerule commandBlockOutput true"
            format slot 8 of player with 1 of red satined glass named "&c&lFalse" to run "gamerule commandBlockOutput false"
        if arg 1 is "mobspawn":
            format slot 4 of player with 1 of paper named "&6&lKarar" to close
            format slot 0 of player with 1 of green satined glass named "&a&lTrue" to run "gamerule doMobSpawning true"
            format slot 8 of player with 1 of red satined glass named "&c&lFalse" to run "gamerule doMobSpawning false"
        if arg 1 is "mobloot":
            format slot 4 of player with 1 of paper named "&6&lKarar" to close
            format slot 0 of player with 1 of green satined glass named "&a&lTrue" to run "gamerule doMobLoot true"
            format slot 8 of player with 1 of red satined glass named "&c&lFalse" to run "gamerule doMobLoot false"
        if arg 1 is "firetick":
            format slot 4 of player with 1 of paper named "&6&lKarar" to close
            format slot 0 of player with 1 of green satined glass named "&a&lTrue" to run "gamerule doFireTick true"
            format slot 8 of player with 1 of red satined glass named "&c&lFalse" to run "gamerule doFireTick false"
        if arg 1 is "griefing":
            format slot 4 of player with 1 of paper named "&6&lKarar" to close
            format slot 0 of player with 1 of green satined glass named "&a&lTrue" to run "gamerule mobGriefing true"
            format slot 8 of player with 1 of red satined glass named "&c&lFalse" to run "gamerule mobGriefing false"
        if arg 1 is "deathmessage":
            format slot 4 of player with 1 of paper named "&6&lKarar" to close
            format slot 0 of player with 1 of green satined glass named "&a&lTrue" to run "gamerule showDeathMessages true"
            format slot 8 of player with 1 of red satined glass named "&c&lFalse" to run "gamerule showDeathMessages false"
        if arg 1 is "doday":
            format slot 4 of player with 1 of paper named "&6&lKarar" to close
            format slot 0 of player with 1 of green satined glass named "&a&lTrue" to run "gamerule doDaylightCycle true"
            format slot 8 of player with 1 of red satined glass named "&c&lFalse" to run "gamerule doDaylightCycle false"
Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.
Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.
Yardım edebilecek varsa sevinirim hata şöyle 1 örnek sadece
Kod:
Can't understand this condition/effect: format 8 of player with 1 of red stained glass named "&c&lFalse" to run "gamerule doDaylightCycle false" (gamerule.sk line:50 format 8 of player with 1 red stained glass named "&c&lFalse" to run "gamerule doDaylightCycle false"')
tüm hatalar bunun gibi !
 
Kod:
open chest with 1 rows named "&c&lGame &4&lRule" to player
                wait 2 tick
Bu kısımdaki "wait 2 tick" yazısını silersen sıkıntı çözülür.
 
Kod:
open chest with 1 rows named "&c&lGame &4&lRule" to player
                wait 2 tick
Bu kısımdaki "wait 2 tick" yazısını silersen sıkıntı çözülür.
saolun ama hata o değilmiş faakt yinede sizin yorumuzdan buldum hatayı
hata open chest with 1 ... imiş chest açmadan format yazarsam olmazki :D saolun
 
Durum
Mesaj gönderimine kapalı.
Yukarı