Hata;
Skript;
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