command /marketsdaffad:
aliases: marketaçx,marketgirx,shopx
trigger:
open chest with 1 rows named "&4Market" to player
wait 4 ticks
format slot 0 of player with diamond sword named "&9Elmsa Kılıç" with lore "&eElmas Kılıç||&a500 Bounty" to close then run "kilical %player%"
format slot 1 of player with flint and steel named "&9Çakmak" with lore "&eÇakmak||&a100 Bounty" to close then run "cakmakal %player%"
format slot 2 of player with diamond chestplate named "&9Full Elmas Set" with lore "&eElmas Set||&a1250 Bounty" to close then run "setal %player%"
command /kilical <player>:
permission: market.sanskutusumarketal
permission message: &cİznin yok!
trigger:
if {bounty.%arg 1%} is greater than 800:
give 1 diamond sword to arg-1
remove 500 from {bounty.%arg 1%}
else:
send "&cYeterli bounty'n yok!" to arg-1
stop
command /cakmakal <player>:
permission: market.sanskutusumarketal
permission message: &cİznin yok!
trigger:
if {bounty.%arg 1%} is greater than 800:
give 1 flint and steel to arg-1
remove 100 from {bounty.%arg 1%}
else:
send "&cYeterli bounty'n yok!" to arg-1
stop
command /setal <player>:
permission: market.sanskutusumarketal
permission message: &cİznin yok!
trigger:
if {bounty.%arg 1%} is greater than 800:
give 1 all diamond armor to arg-1
remove 1250 from {bounty.%arg 1%}
else:
send "&cYeterli bounty'n yok!" to arg-1
stop