Sol Reklam
Sağ Reklam

Çözüldü Chest SP HATASI

Durum
Mesaj gönderimine kapalı.

LquenS

Bir Kömür Göründü Kaptanım!
Katılım
16 Eylül 2017
Mesajlar
113
Elmaslar
19
Puanlar
0
Hata;

Kod:
'block at <...>' can only accept a single text, not more (chestsp.sk, line 20: add 5 iron ingot to block at {spawner::*}')

Skript;

Kod:
on place of chest:
    if name of player's tool is "&6&lDemir &2&lChest":
        add location to {spawner::*}
        set {_location} to location of targeted block
        set {spawner::%{_location}%} to {_location}
        create holo object "&6&lDemir &2&lChest;;&2&lSahip &5&l%player%" with id "%location%"  at location 2.5 meters above event-block
        send player title "&6&lDemir &2&lChest" with subtitle "&2&lYerleştirildi" for 3 seconds

on break of chest:
    if {spawner::%location of targeted block%} is set:
        clear {spawner::%location of targeted block%}
        remove location of targeted block from {spawner::*}
        cancel event
        set block to air    
        give 1 chest named "&6&lDemir &2&lChest" to player
        delete holo object "%location%"
        send player title "&6&lDemir &2&lChest" with subtitle "&4&lKaldırıldı" for 3 seconds
       
every 10 seconds:
    add 5 iron ingot to block at {spawner::*}


command /sp-ver:
    permission: chestsp.ver
    trigger:
        give a chest named "&6&lDemir &2&lChest" to player
 

EmektaR_03

Hâlâ Zümrüt Bulamadım!

Discord:

EMEKTAR

Katılım
21 Mayıs 2017
Mesajlar
663
Elmaslar
190
Puanlar
75
Yaş
22
Yer
Afyonkarahisar
Minecraft
MustafaPvP1
Kod:
every 10 seconds:
    loop {spawner::*}:
        add 5 iron ingot to block at {spawner::*}
 

LquenS

Bir Kömür Göründü Kaptanım!
Katılım
16 Eylül 2017
Mesajlar
113
Elmaslar
19
Puanlar
0

EmektaR_03

Hâlâ Zümrüt Bulamadım!

Discord:

EMEKTAR

Katılım
21 Mayıs 2017
Mesajlar
663
Elmaslar
190
Puanlar
75
Yaş
22
Yer
Afyonkarahisar
Minecraft
MustafaPvP1
Kod:
every 10 seconds:
    loop {spawner::*}:
        add 5 iron ingot to block at {spawner::*}
Bu kısmı aşağıdaki şekilde değiştir.

Kod:
every 10 seconds:
    loop {spawner::*}:
        add 5 iron ingot to block of {spawner::*}
 

LquenS

Bir Kömür Göründü Kaptanım!
Katılım
16 Eylül 2017
Mesajlar
113
Elmaslar
19
Puanlar
0
@EmektaR_03 [21:28:37 ERROR]: 'block of <...>' can only accept a single location, not more (chestsp.sk, line 21: add 5 iron ingot to block of {spawner::*}')
 

Alpho320

powered by Fabulous.

Discord:

Alpho320#9202

Katılım
20 Haziran 2018
Mesajlar
1.396
Elmaslar
1.285
Puanlar
17.175
Yer
Istanbul
Minecraft
Alpho320
Hata;

Kod:
'block at <...>' can only accept a single text, not more (chestsp.sk, line 20: add 5 iron ingot to block at {spawner::*}')

Skript;

Kod:
on place of chest:
    if name of player's tool is "&6&lDemir &2&lChest":
        add location to {spawner::*}
        set {_location} to location of targeted block
        set {spawner::%{_location}%} to {_location}
        create holo object "&6&lDemir &2&lChest;;&2&lSahip &5&l%player%" with id "%location%"  at location 2.5 meters above event-block
        send player title "&6&lDemir &2&lChest" with subtitle "&2&lYerleştirildi" for 3 seconds

on break of chest:
    if {spawner::%location of targeted block%} is set:
        clear {spawner::%location of targeted block%}
        remove location of targeted block from {spawner::*}
        cancel event
        set block to air   
        give 1 chest named "&6&lDemir &2&lChest" to player
        delete holo object "%location%"
        send player title "&6&lDemir &2&lChest" with subtitle "&4&lKaldırıldı" for 3 seconds
      
every 10 seconds:
    add 5 iron ingot to block at {spawner::*}


command /sp-ver:
    permission: chestsp.ver
    trigger:
        give a chest named "&6&lDemir &2&lChest" to player
Hatalı kısmı şöyle değiştirin:

Kod:
every 10 seconds:
    drop 5 iron ingot to block at {spawner::*}
 
Durum
Mesaj gönderimine kapalı.
Neden altınlarını Discord sunucumuzda kazmıyorsun? TIKLA VE KATIL!
Yukarı