on mine of lapis ore:
if {lapissayisi.%player%} is not set:
set {lapissayisi.%player%} to 0
if {lapissayisi.%player%} is greater or equal to 500:
set {lapissayisi.%player%} to 0
give 1 of paper named "&6Coin" to player
add 1 to {lapissayisi.%player%}
stop
command /bak:
trigger:
if {lapissayisi.%player%} is not set:
set {lapissayisi.%player%} to 0
send "&6Kazdığın Lapis Sayısı: &c%{lapissayisi.%player%}%"
stop
command /dönüştür:
trigger:
if player has 1 of paper named "&6Coin":
execute console command "eco give %player% 5"
remove 1 of paper named "&6Coin" from player
send "&c1 adet coin 5 TL olarak hesabınıza eklendi."
stop
send "&cDönüştürebileceğin coin yok!"
stop