# CrazyDeath tarafından yapılmış Maximina16 Tarafından Upgrade edilmiştir
options:
Dünya: world
variables:
{yosunlutaş.%player%} = 0
{kredi.%player%} = 0
on break of mossy cobblestone:
if player's world is "{@Dünya}":
add 1 to {yosunlutaş.%player%}
cancel event
set block to air
if {yosunlutaş.%player%} is greater than or equal to 64:
remove 64 from {yosunlutaş.%player%}
add 64 to {kredi.%player%}
send "&e&lKredi &7> &a64 &7yosunlutaş kırdığın için &a64 Kredi &7verildi."
command /kredim:
trigger:
send "&e&lKredi &7► &7Kredin: &a%{kredi.%player%}%"
command /kredi [<player>]:
trigger:
if arg 1 is set:
send "&e&lKredi &7► &a%arg-1% &7Kredisi: &a%{kredi.%arg-1%}%"
else:
send "&e&lKredi &7► &7Dogru Kullanım: &a/kredi <oyuncu>"
command /kredigonder [<player>] [<number>]:
trigger:
if arg 1 is set:
if arg 2 is set:
if {kredi.%player%} is greater than or equal to arg-2:
remove arg-2 from {kredi.%player%}
add arg-2 to {kredi.%arg-1%}
send "&e&lKredi &7► &a%player% &7oyuncu &a%arg-2% Kredi &7yolladı." to arg-1
send "&e&lKredi &7► &7hesabından &c%arg-2% &7alındı" to player
else:
send "&e&lKredi &7► &7yeterli kredi yok"
else:
send "&e&lKredi &7► &7Dogru Kullanım: &a/kredigonder <oyuncu> <miktar>"
else:
send "&e&lKredi &7► &7Dogru Kullanım: &a/kredigonder <oyuncu> <miktar>"
command /kredisıfırla [<player>]:
permission: kredi.sk
trigger:
if arg 1 is set:
set {kredi.%arg-1%} to 0
send "&e&lKredi &7► &a%player% &7yetkili tarafından kredin sıfırlandı" to arg-1
send "&e&lKredi &7► &a%arg-1% &7adlı oyuncunu kredisi sıfırlandı" to player
else:
send "&e&lKredi &7► &7Dogru Kullanım: &a/kredisıfırla <oyuncu>"
command /krediver [<player>] [<number>]:
permission: kredi.sk
trigger:
if arg 1 is set:
if arg 2 is set:
add arg-2 to {kredi.%arg-1%}
send "&e&lKredi &7► &a%player% &7yetkili sana &a%arg-2% Kredi &7verdi." to arg-1
send "&e&lKredi &7► &a%arg-1% &7adlı oyuncuya &a%arg-2% Kredi &7verildi." to player
else:
send "&e&lKredi &7► &7Dogru Kullanım: &a/krediver <oyuncu> <miktar>"
else:
send "&e&lKredi &7► &7Dogru Kullanım: &a/krediver <oyuncu> <miktar>"
command /kredidağıt [<number>]:
permission: kredi.sk
trigger:
if arg 1 is set:
loop all players:
add arg-1 to {kredi.%loop-player%}
send "&e&lKredi &7► &a%player% &7yetkili &a%arg-1% Kredi &7dağıtı." to loop-player
else:
send "&e&lKredi &7► &7Dogru Kullanım: &a/kredidağıt <miktar>"
command /kredimarket:
trigger:
open chest with 3 rows named "&8► &6Kredi Market &8◄" to player
format slot 12 of player with diamond pickaxe named "&8► &9Kazma Market &8◄" with lore "||&aTıklayarak Girebilirsin||" to close then run [execute player command "kazmamarket"]
format slot 14 of player with spawner named "&8► &9Spawner Market &8◄" with lore "||&aTıklayarak Girebilirsin||" to close then run [execute player command "spawnermarket"]
command /kazmamarket:
trigger:
open chest with 3 rows named "&8► &6Kazma Market &8◄" to player
format slot 4 of player with sunflower named "&8► &aKredi &8◄" with lore "||&cBilgilendirme:||&8- &a/warp yosunlutasedit &7diyerek gidebilirsin||&8- &7Her &964&7 yosunlutaşa &a64 Kredi&7 verilir||&8- &7Kredin: %{kredi.%player%}%" to close then run [execute player command "/kredimarket"]
format slot 10 of player with stone pickaxe named "&8► &aV10 KAZMA &8◄" with lore "||&cÖzellikleri:||&8- &7V10 KAZMA|||| &8- &fSatın almak için tıkla &8(&a15.000 Kredi&8)" to close then run [execute player command "/psatınal V10"]
format slot 12 of player with iron pickaxe named "&8► &aV15 KAZMA &8◄" with lore "||&cÖzellikleri:||&8- &7V15 KAZMA|||| &8- &fSatın almak için tıkla &8(&a25.000 Kredi&8)" to close then run [execute player command "/psatınal V15"]
format slot 14 of player with gold pickaxe named "&8► &aV20 KAZMA &8◄" with lore "||&cÖzellikleri:||&8- &7V20 KAZMA|||| &8- &fSatın almak için tıkla &8(&a35.000 Kredi&8)" to close then run [execute player command "/psatınal V20"]
format slot 16 of player with diamond pickaxe named "&8► &aV25 KAZMA &8◄" with lore "||&cÖzellikleri:||&8- &7V25 KAZMA|||| &8- &fSatın almak için tıkla &8(&a60.000 Kredi&8)" to close then run [execute player command "/psatınal V25"]
command /spawnermarket:
trigger:
open chest with 3 rows named "&8► &6Spawner Market &8◄" to player
format slot 4 of player with sunflower named "&8► &aKredi &8◄" with lore "||&cBilgilendirme:||&8- &a/warp yosunlutasedit &7diyerek gidebilirsin||&8- &7Her &964&7 yosunlutaşa &a64 Kredi&7 verilir||&8- &7Kredin: %{kredi.%player%}%" to close then run [execute player command "/kredimarket"]
format slot 10 of player with spawner named "&8► &7Demir Blok Spawner &8◄" with lore "||&cÖzellikleri:||&8- &7Demir Blok Verir|||| &8- &fSatın almak için tıkla &8(&a5.000 Kredi&8)" to close then run [execute player command "/psatınal DB"]
format slot 12 of player with spawner named "&8► &6Altin Blok Spawner &8◄" with lore "||&cÖzellikleri:||&8- &6Altin Blok Verir|||| &8- &fSatın almak için tıkla &8(&a15.000 Kredi&8)" to close then run [execute player command "/psatınal AB"]
format slot 14 of player with spawner named "&8► &bElmas Blok Spawner &8◄" with lore "||&cÖzellikleri:||&8- &bElmas Blok Verir|||| &8- &fSatın almak için tıkla &8(&a23.000 Kredi&8)" to close then run [execute player command "/psatınal EB"]
format slot 16 of player with spawner named "&8► &aZumrut Blok Spawner &8◄" with lore "||&cÖzellikleri:||&8- &aZumrut Blok Verir|||| &8- &fSatın almak için tıkla &8(&a30.000 Kredi&8)" to close then run [execute player command "/psatınal ZB"]
command /psatınal [<text>]:
trigger:
if arg 1 is "V10":
if {kredi.%player%} is greater than or equal to 15000:
remove 15000 from {kredi.%player%}
send "&e&lKredi Market &7► &a15.000 Kredi &7karşılığı &aV10 Kazma &7satın aldın."
give a diamond pickaxe of unbreaking 4 and efficiency 10 named "&aEdit Kazma &c[ &6Level &b1 &c]" to player
else:
send "&e&lKredi Market &7► &7Yeterince kredi Yok"
if arg 1 is "V15":
if {kredi.%player%} is greater than or equal to 25000:
remove 25000 from {kredi.%player%}
send "&e&lKredi Market &7► &a25.000 Kredi &7karşılığı &aV15 Kazma &7satın aldın."
give a diamond pickaxe of unbreaking 5 and efficiency 15 named "&aEdit Kazma &c[ &6Level &42 &c]" to player
else:
send "&e&lKredi Market &7► &7Yeterince kredi Yok"
if arg 1 is "V20":
if {kredi.%player%} is greater than or equal to 35000:
remove 35000 from {kredi.%player%}
send "&e&lKredi Market &7► &a35.000 Kredi &7karşılığı &aV20 Kazma &7satın aldın."
give a diamond pickaxe of unbreaking 6 and efficiency 20 named "&aEdit Kazma &c[ &6Level &f3 &c]" to player
else:
send "&e&lKredi Market &7► &7Yeterince kredi Yok"
if arg 1 is "V25":
if {kredi.%player%} is greater than or equal to 60000:
remove 60000 from {kredi.%player%}
send "&e&lKredi Market &7► &a60.000 Kredi &7karşılığı &aV25 Kazma &7satın aldın."
give a diamond pickaxe of unbreaking 7 and efficiency 25 named "&aEdit Kazma &c[ &6Level &94 &c]" to player
else:
send "&e&lKredi Market &7► &7Yeterince kredi Yok"
if arg 1 is "DB":
if {kredi.%player%} is greater than or equal to 5000:
remove 5000 from {kredi.%player%}
send "&e&lKredi Market &7► &a5.000 Kredi &7karşılığı &7Demir Blok Spawner&7satın aldın."
execute console command "itemsp ver %player% demirblok 1"
else:
send "&e&lKredi Market &7► &7Yeterince kredi Yok"
if arg 1 is "AB":
if {kredi.%player%} is greater than or equal to 15000:
remove 15000 from {kredi.%player%}
send "&e&lKredi Market &7► &a15.000 Kredi &7karşılığı &6Altin Blok Spawner&7satın aldın."
execute console command "itemsp ver %player% altinblok 1"
else:
send "&e&lKredi Market &7► &7Yeterince kredi Yok"
if arg 1 is "EB":
if {kredi.%player%} is greater than or equal to 23000:
remove 24000 from {kredi.%player%}
send "&e&lKredi Market &7► &a24.000 Kredi &7karşılığı &bElmas Blok Spawner&7satın aldın."
execute console command "itemsp ver %player% elmasblok 1"
else:
send "&e&lKredi Market &7► &7Yeterince kredi Yok"
if arg 1 is "ZB":
if {kredi.%player%} is greater than or equal to 30000:
remove 30000 from {kredi.%player%}
send "&e&lKredi Market &7► &a30.000 Kredi &7karşılığı &aZumrut Blok Spawner&7satın aldın."
execute console command "itemsp ver %player% zumrutblok 1"
else:
send "&e&lKredi Market &7► &7Yeterince kredi Yok"