Çözüldü KazıKazan skript'im hata veriyor. Yardımcı olur musunuz ?

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

Deleted Users 36797

Clasrium 2021
Katılım
4 Mart 2018
Mesajlar
430
Elmaslar
125
Puan
14.025

Discord:

bilisim

Kod:
on right click on chest with lever:
    cancel event
    if {sandik::%location of targeted block%} is set:
        if tool's name is "&eKazı Kazan &fAnahtarı":
            remove 1 lever named "&eKazı Kazan &fAnahtarı" from player
            create gui with virtual chest inventory:
                change gui inventory to name "&8&l❃ &eKazı Kazan &8&l❃" and size 3
                make gui slot (numbers between 0 and 26) with white stained glass pane named "&8❃ &6Tıkla ve aç &8❃":
                    add 1 to {kazıldı.%player%}
                    if chance of 70%:
                        make gui slot gui-slot with 5 iron ingot named "&E5 TL"
                        execute console command "money give %player% 5"
                    else if chance of 25%:
                        make gui slot gui-slot with 15 gold ingot named "&e15 TL"
                        execute console command "money give %player% 15"
                    else if chance of 20%:
                        make gui slot gui-slot with 50 diamond named "&e50 TL"
                        execute console command "money give %player% 50"
                    else if chance of 10%:
                        make gui slot gui-slot with emerald named "&f&l100 TL"
                        execute console command "money give %player% 100"
                    else:
                        make gui slot gui-slot with 1 iron ingot named "&e1 TL"
                        execute console command "money give %player% 1"
                    if {kazıldı.%player%} is 3:
                        delete {kazıldı.%player%}
                        close inventory of player
                open last gui to player
        else:
            send "&cAnahtara ihtiyacın var"
          
on place of chest:
    if tool's name is "&eKazı Kazan &fKasası":
        set {_loc} to location of targeted block
        set {sandik::%{_loc}%} to {_loc}
 
command /kasaver:
    permission: op
    trigger:
        give 1 chest named "&eKazı Kazan &fKasası" to player
      
command /anahtarver:
    permission: op
    trigger:
        give 1 lever named "&eKazı Kazan &fAnahtarı" to player
      
on place of lever:
    if tool's name is "&eKazı Kazan &fAnahtarı":
        cancel event
        send "&cAnahtarları yere koyamazsın!"
      
on right click on chest:
    if {sandik::%location of targeted block%} is set:
        cancel event

Skript bu arkadaşlar sorun şu ki ben bu skripti kurup 1.14 spigot yaptım en üst tuske ve skripti kurdum.
ama reload atınca bu hatayı veriyor ve komut çalışmıyor /kasaver /anahtarver falan.
1570628846376.png


Lütfen yardım.Tuske Skript ve sunucu sürümünüde buraya bırakıyorum. Lazım olur.

1570628933421.png
1570628949596.png
1570628970583.png


Skript 1.14 uyumlu değilse yenisini kodlayanlardan çok teşekkürlerr
 
deneyip geri dönüş yaparmısın

Kod:
on right click on chest with lever:
    cancel event
    if {sandik::%location of targeted block%} is set:
        if tool's name is "&eKazı Kazan &fAnahtarı":
            remove 1 lever named "&eKazı Kazan &fAnahtarı" from player
            create gui with virtual chest inventory:
                change gui inventory to name "&8&l❃ &eKazı Kazan &8&l❃" and size 3
                make gui slot (numbers between 0 and 26) with white stained glass pane named "&8❃ &6Tıkla ve aç &8❃":
                    add 1 to {kazıldı.%player%}
                    if chance of 70%:
                        make gui slot gui-slot with 5 iron ingot named "&E5 TL"
                        execute console command "money give %player% 5"
                    else if chance of 25%:
                        make gui slot gui-slot with 15 gold ingot named "&e15 TL"
                        execute console command "money give %player% 15"
                    else if chance of 20%:
                        make gui slot gui-slot with 50 diamond named "&e50 TL"
                        execute console command "money give %player% 50"
                    else if chance of 10%:
                        make gui slot gui-slot with emerald named "&f&l100 TL"
                        execute console command "money give %player% 100"
                    else:
                        make gui slot gui-slot with 1 iron ingot named "&e1 TL"
                        execute console command "money give %player% 1"
                    if {kazıldı.%player%} is 3:
                        delete {kazıldı.%player%}
                        close inventory of player
                open last gui to player
        else:
            send "&cAnahtara ihtiyacın var"
         
on place of chest:
    if tool's name is "&eKazı Kazan &fKasası":
        set {_loc} to location of targeted block
        set {sandik::%{_loc}%} to {_loc}

command /kasaver:
    permission: op
    trigger:
        give 1 chest named "&eKazı Kazan &fKasası" to player
     
command /anahtarver:
    permission: op
    trigger:
        give 1 lever named "&eKazı Kazan &fAnahtarı" to player
     
on place of lever:
    if tool's name is "&eKazı Kazan &fAnahtarı":
        cancel event
        send "&cAnahtarları yere koyamazsın!"
     
on rightclick with lever:    if clicked-block is chest:        if {sandik::%location of targeted block%} is set:            cancel event
Kod:
 
deneyip geri dönüş yaparmısın

Kod:
on right click on chest with lever:
    cancel event
    if {sandik::%location of targeted block%} is set:
        if tool's name is "&eKazı Kazan &fAnahtarı":
            remove 1 lever named "&eKazı Kazan &fAnahtarı" from player
            create gui with virtual chest inventory:
                change gui inventory to name "&8&l❃ &eKazı Kazan &8&l❃" and size 3
                make gui slot (numbers between 0 and 26) with white stained glass pane named "&8❃ &6Tıkla ve aç &8❃":
                    add 1 to {kazıldı.%player%}
                    if chance of 70%:
                        make gui slot gui-slot with 5 iron ingot named "&E5 TL"
                        execute console command "money give %player% 5"
                    else if chance of 25%:
                        make gui slot gui-slot with 15 gold ingot named "&e15 TL"
                        execute console command "money give %player% 15"
                    else if chance of 20%:
                        make gui slot gui-slot with 50 diamond named "&e50 TL"
                        execute console command "money give %player% 50"
                    else if chance of 10%:
                        make gui slot gui-slot with emerald named "&f&l100 TL"
                        execute console command "money give %player% 100"
                    else:
                        make gui slot gui-slot with 1 iron ingot named "&e1 TL"
                        execute console command "money give %player% 1"
                    if {kazıldı.%player%} is 3:
                        delete {kazıldı.%player%}
                        close inventory of player
                open last gui to player
        else:
            send "&cAnahtara ihtiyacın var"
        
on place of chest:
    if tool's name is "&eKazı Kazan &fKasası":
        set {_loc} to location of targeted block
        set {sandik::%{_loc}%} to {_loc}

command /kasaver:
    permission: op
    trigger:
        give 1 chest named "&eKazı Kazan &fKasası" to player
    
command /anahtarver:
    permission: op
    trigger:
        give 1 lever named "&eKazı Kazan &fAnahtarı" to player
    
on place of lever:
    if tool's name is "&eKazı Kazan &fAnahtarı":
        cancel event
        send "&cAnahtarları yere koyamazsın!"
    
on rightclick with lever:    if clicked-block is chest:        if {sandik::%location of targeted block%} is set:            cancel event
Kod:
1570629875068.png

aynı hata değişen bişi yok
 
Kod:
on right click on chest with lever:
    cancel event
    if {sandik::%location of targeted block%} is set:
        if tool's name is "&eKazı Kazan &fAnahtarı":
            remove 1 lever named "&eKazı Kazan &fAnahtarı" from player
            create gui with virtual chest inventory:
                change gui inventory to name "&8&l❃ &eKazı Kazan &8&l❃" and size 3
                make gui slot (numbers between 0 and 26) with white stained glass pane named "&8❃ &6Tıkla ve aç &8❃":
                    add 1 to {kazıldı.%player%}
                    if chance of 70%:
                        make gui slot gui-slot with 5 iron ingot named "&E5 TL"
                        execute console command "money give %player% 5"
                    else if chance of 25%:
                        make gui slot gui-slot with 15 gold ingot named "&e15 TL"
                        execute console command "money give %player% 15"
                    else if chance of 20%:
                        make gui slot gui-slot with 50 diamond named "&e50 TL"
                        execute console command "money give %player% 50"
                    else if chance of 10%:
                        make gui slot gui-slot with emerald named "&f&l100 TL"
                        execute console command "money give %player% 100"
                    else:
                        make gui slot gui-slot with 1 iron ingot named "&e1 TL"
                        execute console command "money give %player% 1"
                    if {kazıldı.%player%} is 3:
                        delete {kazıldı.%player%}
                        close inventory of player
                open last gui to player
        else:
            send "&cAnahtara ihtiyacın var"
          
on place of chest:
    if tool's name is "&eKazı Kazan &fKasası":
        set {_loc} to location of targeted block
        set {sandik::%{_loc}%} to {_loc}
 
command /kasaver:
    permission: op
    trigger:
        give 1 chest named "&eKazı Kazan &fKasası" to player
      
command /anahtarver:
    permission: op
    trigger:
        give 1 lever named "&eKazı Kazan &fAnahtarı" to player
      
on place of lever:
    if tool's name is "&eKazı Kazan &fAnahtarı":
        cancel event
        send "&cAnahtarları yere koyamazsın!"
      
on rightclick with lever:
    if clicked-block is chest:
        if {sandik::%location of targeted block%} is set:
            cancel event


DENERMİSİN
 
Kod:
on rightclick on chest:
    player's tool is lever
    cancel event
    if {sandik::%location of targeted block%} is set:
        if tool's name is "&eKazı Kazan &fAnahtarı":
            remove 1 lever named "&eKazı Kazan &fAnahtarı" from player
            create gui with virtual chest inventory:
                change gui inventory to name "&8&l❃ &eKazı Kazan &8&l❃" and size 3
                make gui slot (numbers between 0 and 26) with white stained glass pane named "&8❃ &6Tıkla ve aç &8❃":
                    add 1 to {kazıldı.%player%}
                    if chance of 70%:
                        make gui slot gui-slot with 5 iron ingot named "&E5 TL"
                        execute console command "money give %player% 5"
                    else if chance of 25%:
                        make gui slot gui-slot with 15 gold ingot named "&e15 TL"
                        execute console command "money give %player% 15"
                    else if chance of 20%:
                        make gui slot gui-slot with 50 diamond named "&e50 TL"
                        execute console command "money give %player% 50"
                    else if chance of 10%:
                        make gui slot gui-slot with emerald named "&f&l100 TL"
                        execute console command "money give %player% 100"
                    else:
                        make gui slot gui-slot with 1 iron ingot named "&e1 TL"
                        execute console command "money give %player% 1"
                    if {kazıldı.%player%} is 3:
                        delete {kazıldı.%player%}
                        close inventory of player
                open last gui to player
        else:
            send "&cAnahtara ihtiyacın var"
          
on place:
    event-block is chest:
        if tool's name is "&eKazı Kazan &fKasası":
            set {_loc} to location of targeted block
            set {sandik::%{_loc}%} to {_loc}
 
command /kasaver:
    permission: op
    trigger:
        give 1 chest named "&eKazı Kazan &fKasası" to player
      
command /anahtarver:
    permission: op
    trigger:
        give 1 lever named "&eKazı Kazan &fAnahtarı" to player
      
on place of lever:
    if tool's name is "&eKazı Kazan &fAnahtarı":
        cancel event
        send "&cAnahtarları yere koyamazsın!"
      
on right click on chest:
    if {sandik::%location of targeted block%} is set:
        cancel event

Yüksek ihtimal olacaktır.
 
Kod:
on rightclick on chest:
    player's tool is lever
    cancel event
    if {sandik::%location of targeted block%} is set:
        if tool's name is "&eKazı Kazan &fAnahtarı":
            remove 1 lever named "&eKazı Kazan &fAnahtarı" from player
            create gui with virtual chest inventory:
                change gui inventory to name "&8&l❃ &eKazı Kazan &8&l❃" and size 3
                make gui slot (numbers between 0 and 26) with white stained glass pane named "&8❃ &6Tıkla ve aç &8❃":
                    add 1 to {kazıldı.%player%}
                    if chance of 70%:
                        make gui slot gui-slot with 5 iron ingot named "&E5 TL"
                        execute console command "money give %player% 5"
                    else if chance of 25%:
                        make gui slot gui-slot with 15 gold ingot named "&e15 TL"
                        execute console command "money give %player% 15"
                    else if chance of 20%:
                        make gui slot gui-slot with 50 diamond named "&e50 TL"
                        execute console command "money give %player% 50"
                    else if chance of 10%:
                        make gui slot gui-slot with emerald named "&f&l100 TL"
                        execute console command "money give %player% 100"
                    else:
                        make gui slot gui-slot with 1 iron ingot named "&e1 TL"
                        execute console command "money give %player% 1"
                    if {kazıldı.%player%} is 3:
                        delete {kazıldı.%player%}
                        close inventory of player
                open last gui to player
        else:
            send "&cAnahtara ihtiyacın var"
         
on place:
    event-block is chest:
        if tool's name is "&eKazı Kazan &fKasası":
            set {_loc} to location of targeted block
            set {sandik::%{_loc}%} to {_loc}

command /kasaver:
    permission: op
    trigger:
        give 1 chest named "&eKazı Kazan &fKasası" to player
     
command /anahtarver:
    permission: op
    trigger:
        give 1 lever named "&eKazı Kazan &fAnahtarı" to player
     
on place of lever:
    if tool's name is "&eKazı Kazan &fAnahtarı":
        cancel event
        send "&cAnahtarları yere koyamazsın!"
     
on right click on chest:
    if {sandik::%location of targeted block%} is set:
        cancel event

Yüksek ihtimal olacaktır.
1570638850890.png

olmadı :(
 
Kod:
on rightclick:
    clicked block is chest
    player's tool is lever
    cancel event
    if {sandik::%location of targeted block%} is set:
        if tool's name is "&eKazı Kazan &fAnahtarı":
            remove 1 lever named "&eKazı Kazan &fAnahtarı" from player
            create gui with virtual chest inventory:
                change gui inventory to name "&8&l❃ &eKazı Kazan &8&l❃" and size 3
                make gui slot (numbers between 0 and 26) with white stained glass pane named "&8❃ &6Tıkla ve aç &8❃":
                    add 1 to {kazıldı.%player%}
                    if chance of 70%:
                        make gui slot gui-slot with 5 iron ingot named "&E5 TL"
                        execute console command "money give %player% 5"
                    else if chance of 25%:
                        make gui slot gui-slot with 15 gold ingot named "&e15 TL"
                        execute console command "money give %player% 15"
                    else if chance of 20%:
                        make gui slot gui-slot with 50 diamond named "&e50 TL"
                        execute console command "money give %player% 50"
                    else if chance of 10%:
                        make gui slot gui-slot with emerald named "&f&l100 TL"
                        execute console command "money give %player% 100"
                    else:
                        make gui slot gui-slot with 1 iron ingot named "&e1 TL"
                        execute console command "money give %player% 1"
                    if {kazıldı.%player%} is 3:
                        delete {kazıldı.%player%}
                        close inventory of player
                open last gui to player
        else:
            send "&cAnahtara ihtiyacın var"
          
on place:
    event-block is chest:
        if tool's name is "&eKazı Kazan &fKasası":
            set {_loc} to location of targeted block
            set {sandik::%{_loc}%} to {_loc}
 
command /kasaver:
    permission: op
    trigger:
        give 1 chest named "&eKazı Kazan &fKasası" to player
      
command /anahtarver:
    permission: op
    trigger:
        give 1 lever named "&eKazı Kazan &fAnahtarı" to player
      
on place of lever:
    if tool's name is "&eKazı Kazan &fAnahtarı":
        cancel event
        send "&cAnahtarları yere koyamazsın!"
      
on right click on chest:
    if {sandik::%location of targeted block%} is set:
        cancel event
 
Kod:
on rightclick:
    clicked block is chest
    player's tool is lever
    cancel event
    if {sandik::%location of targeted block%} is set:
        if tool's name is "&eKazı Kazan &fAnahtarı":
            remove 1 lever named "&eKazı Kazan &fAnahtarı" from player
            create gui with virtual chest inventory:
                change gui inventory to name "&8&l❃ &eKazı Kazan &8&l❃" and size 3
                make gui slot (numbers between 0 and 26) with white stained glass pane named "&8❃ &6Tıkla ve aç &8❃":
                    add 1 to {kazıldı.%player%}
                    if chance of 70%:
                        make gui slot gui-slot with 5 iron ingot named "&E5 TL"
                        execute console command "money give %player% 5"
                    else if chance of 25%:
                        make gui slot gui-slot with 15 gold ingot named "&e15 TL"
                        execute console command "money give %player% 15"
                    else if chance of 20%:
                        make gui slot gui-slot with 50 diamond named "&e50 TL"
                        execute console command "money give %player% 50"
                    else if chance of 10%:
                        make gui slot gui-slot with emerald named "&f&l100 TL"
                        execute console command "money give %player% 100"
                    else:
                        make gui slot gui-slot with 1 iron ingot named "&e1 TL"
                        execute console command "money give %player% 1"
                    if {kazıldı.%player%} is 3:
                        delete {kazıldı.%player%}
                        close inventory of player
                open last gui to player
        else:
            send "&cAnahtara ihtiyacın var"
         
on place:
    event-block is chest:
        if tool's name is "&eKazı Kazan &fKasası":
            set {_loc} to location of targeted block
            set {sandik::%{_loc}%} to {_loc}

command /kasaver:
    permission: op
    trigger:
        give 1 chest named "&eKazı Kazan &fKasası" to player
     
command /anahtarver:
    permission: op
    trigger:
        give 1 lever named "&eKazı Kazan &fAnahtarı" to player
     
on place of lever:
    if tool's name is "&eKazı Kazan &fAnahtarı":
        cancel event
        send "&cAnahtarları yere koyamazsın!"
     
on right click on chest:
    if {sandik::%location of targeted block%} is set:
        cancel event
1570701989823.png

:/
 
/ver ile /ver skript yazıp atar mısın ? O eventlerin çalışması gerekli.
 
Sorun Devam Ediyormu ?
 
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