command /kredim:
trigger:
send "&9Kredi Miktari &f: &3%{%player%.kredi}%" to player
on mine of lapis lazuli ore:
add 1 to {%player%.lapis}
every seconds:
loop all players:
if {%loop-player%.lapis} is greater than or equal to 100:
set {%loop-player%.lapis} to 0
add 1 to {%loop-player%.kredi}
send "&6100 Adet Lapis Kazdınız Ve Hesabınıza 1 Kredi Eklendi" to loop-player
command /krediver <int> <player>:
permission: op
trigger:
add arg 1 to {%arg 2%.kredi}
command /lapisbak:
trigger:
send "&8Lapis Miktari &f: &7%{%player%.lapis}%" to player
command /kredikullan:
trigger:
send "&cEsya Almadan Once Lutfen Envanterinizde Yer Ayirin" to player
open chest with 1 rows named "&9&l Kredi Market" to player
format slot 0 of player with diamond helmet of Protection 4,Unbreaking 2 named "&8 Elmas Kask " with lore "&2Fiyat &f: &a15 Kredi" to close then run [make player execute command "kaskalkod"]
format slot 1 of player with diamond chestplate of Protection 4,Unbreaking 2 named "&8 Elmas Zirh " with lore "&2Fiyat &f: &a25 Kredi" to close then run [make player execute command "zirhalkod"]
format slot 2 of player with diamond leggings of Protection 4,Unbreaking 2 named "&8 Elmas Pantolon " with lore "&2Fiyat &f: &a25 Kredi" to close then run [make player execute command "pantolonalkod"]
format slot 3 of player with diamond boots of Protection 4,Unbreaking 2 named "&8 Elmas Bot " with lore "&2Fiyat &f: &a15 Kredi" to close then run [make player execute command "botalkod"]
format slot 4 of player with diamond sword of Sharpness 4,Fire Aspect 2 named "&8 Elmas Kilic " with lore "&2Fiyat &f: &a25 Kredi" to close then run [make player execute command "silahalkod"]
format slot 5 of player with diamond pickaxe of Efficiency 4,Unbreaking 3 named "&8 Elmas Kazma " with lore "&2Fiyat &f: &a30 Kredi" to close then run [make player execute command "kazmaalkod"]
command /kaskalkod:
trigger:
if {%player%.kredi} is greater than or equal to 15:
add -15 to {%player%.kredi}
give 1 diamond helmet of Protection 4,Unbreaking 2 to player
else:
send "&cYeterli Miktarda Krediniz Bulunmamaktadir" to player
command /zirhalkod:
trigger:
if {%player%.kredi} is greater than or equal to 25:
add -25 to {%player%.kredi}
give 1 diamond chestplate of Protection 4,Unbreaking 2 to player
else:
send "&cYeterli Miktarda Krediniz Bulunmamaktadir" to player
command /pantolonalkod:
trigger:
if {%player%.kredi} is greater than or equal to 25:
add -25 to {%player%.kredi}
give 1 diamond leggings of Protection 4,Unbreaking 2 to player
else:
send "&cYeterli Miktarda Krediniz Bulunmamaktadir" to player
command /botalkod:
trigger:
if {%player%.kredi} is greater than or equal to 15:
add -15 to {%player%.kredi}
give 1 diamond boots of Protection 4,Unbreaking 2 to player
else:
send "&cYeterli Miktarda Krediniz Bulunmamaktadir" to player
command /silahalkod:
trigger:
if {%player%.kredi} is greater than or equal to 25:
add -25 to {%player%.kredi}
give 1 diamond sword of Sharpness 4,Fire Aspect 2 to player
else:
send "&cYeterli Miktarda Krediniz Bulunmamaktadir" to player
command /kazmaalkod:
trigger:
if {%player%.kredi} is greater than or equal to 30:
add -30 to {%player%.kredi}
give 1 diamond pickaxe of Efficiency 4,Unbreaking 3 to player
else:
send "&cYeterli Miktarda Krediniz Bulunmamaktadir" to player