options:
#block
blok: diamond ore, iron ore
#dünya
dünya: world
#kazma
kazma: diamond pickaxe
kazmaisim: &eKutsal
kazmalore: &7Kazma
command /belirlikazmaver:
permission: belirli.kazma.ver
permission message: &fYetkiniz yok!
trigger:
give 1 {@kazma} named "{@kazmaisim}" with lore "{@kazmalore}" to player
on break of {@blok}:
if player is in "{@dünya}":
tool of player is {@kazma} named "{@kazmaisim}" with lore "{@kazmalore}":
stop
else:
cancel event
send "&fBu dünyada sadece elmas ve demir bloğunu kırabilirsin." to player
dener misin?Kod:on block break: if world of player is "dünya": if event-block isn't diamond ore or iron ore: cancel event send "hata mesajı" to player
şimdi fakr ettim sadece bir dünyada değil, sunucuda hiç bir yerde kırılmıyor.dener misin?Kod:on block break: if world of player is "dünya": if event-block isn't diamond ore or iron ore: cancel event send "hata mesajı" to player
dener misin?Kod:on block break: if world of player is "dünya": if event-block isn't diamond ore or iron ore: cancel event send "hata mesajı" to player
on break:
if player is in "dünyaisminiz":
if event-block isn't diamond ore or iron ore:
cancel event
send "hata mesajı" to player