options:
p: &e&lSKYBLOCK &8►
m: &9&m↓↓↓
magaza: &e&lCOIN MARKET &8►
demir: 48
altin: 64
zumrut: 96
elmas: 72
kazmav1: 128
kazmav2: 256
kazmav3: 384
endtasi: 6500
variables:
{coinim.%player%} = 0
{kazma.%player%} = 0
on break of obsidian:
if amount of obsidian in player's inventory is greater than or equal to 128:
if player has permission "vipbilgi.edit":
execute console command "coin ver %player% 12"
remove 128 obsidian from player
send player title "&4&l❤ &e&l/COINMARKET &4&l❤" with subtitle "&6&k|||&d +12 Coin &6&k|||" for 3 seconds
else:
execute console command "coin ver %player% 6"
remove 128 obsidian from player
send player title "&4&l❤ &e&l/COINMARKET &4&l❤" with subtitle "&6&k|||&d +6 Coin &6&k|||" for 3 seconds
command /coin [<text>] [<player>] [<int>]:
permission: coin.sistem
permission message: {@p} &cBu komutu uygulayamazsınız.
trigger:
if arg 1 is set:
if arg 1 is "ver":
if arg 2 is set:
if arg 3 is set:
add arg 3 to {coinim.%arg 2%}
send "{@p} &a%arg 2% &7adlı oyuncuya &a%arg 3%&7 coin verildi!" to player
else:
send "{@p} &7Kullanım: &b/coin ver {oyuncu} {miktar}" to player
else:
send "{@p} &7Kullanım: &b/coin ver {oyuncu} {miktar}" to player
else:
if arg 1 is "sil":
if arg 2 is set:
if arg 3 is set:
remove arg 3 from {coinim.%arg 2%}
send "{@p} &e%arg 2% &7adlı oyuncudan &a%arg 3%&7 coin silindi!" to player
else:
send "{@p} &7Kullanım: &b/coin sil {oyuncu} {miktar}" to player
else:
send "&e&lSKYBLOCK &8► &6Yeterli Coin'e Sahip Değil"
else:
if arg 1 is "sifirla" or "sıfırla":
if arg 2 is set:
delete {coinim.%arg 2%}
send "{@p} &e%arg 2% &7adlı oyuncunun coini sıfırlandı!" to player
else:
send "{@p} &7Kullanım: &b/coin sıfırla {oyuncu}" to player
else:
if arg 1 is "bak":
if arg 2 is set:
send "{@p} &e%arg 2%&7 adlı oyuncunun coin sayısı&8 » &a%{coinim.%arg 2%}%" to player
else:
send "{@p} &7Kullanım: &b/coin bak {oyuncu}" to player
else:
if player have permission "coin.genel":
send "&8" to player
send " &6&lCOIN MENU" to player
send "&8" to player
send "&8 » &6/Coinim &8| &eHesabınızdaki varolan coin miktarını gösterir." to player
send "&8 » &6/Coinmarket &8| &eAldığınız coinleri harcayabileceğiniz yerdir." to player
send "&8" to player
if player have permission "coin.admin":
send " &6&lCOIN ADMIN MENU" to player
send "&8" to player
send "&8 » &6/Coin ver &8| &eOyuncuya coin verirsiniz." to player
send "&8 » &6/Coin sil &8| &eOyuncunun coin sayısını azaltırsınız." to player
send "&8 » &6/Coin sıfırla &8| &eOyuncunun coin sayısını sıfırlarsınız." to player
send "&8 » &6/Coin bak &8| &eOyuncunun coin sayısına bakarsınız." to player
send "&8" to player
on command "coin ver":
if player doesn't have permission "coin.admin":
cancel event
send "&cHata &8» &7Yetkin Yok!"
on command "coin sil":
if player doesn't have permission "coin.admin":
cancel event
send "&cHata &8» &7Yetkin Yok!"
on command "coin sıfırla":
if player doesn't have permission "coin.admin":
cancel event
send "&cHata &8» &7Yetkin Yok!"
on command "coin sifirla":
if player doesn't have permission "coin.admin":
cancel event
send "&cHata &8» &7Yetkin Yok!"
on command "coin bak":
if player doesn't have permission "coin.admin":
cancel event
send "&cHata &8» &7Yetkin Yok!"
command /coinim:
trigger:
send "&6&lSKYBLOCK &8► &6Hesabınızda &e%{coinim.%player%}% &6coin var"
send "&6&lSKYBLOCK &8► &6Coini harcamak için &e/coinmarket"
send "&6&lSKYBLOCK &8► &6Daha fazla &ecoin &6kazanmak için &e/warp edit"
command /satinaldemirblok:
trigger:
if {coinim.%player%} is greater than or equal to {@demir}:
remove {@demir} from {coinim.%player%}
execute console command "itemsp ver %player% demirblok"
else:
send "{@magaza} &7Maalesef coininiz yetersiz! &7Gereken coin: &d{@demir}" to player
command /satinalaltinblok:
trigger:
if {coinim.%player%} is greater than or equal to {@altin}:
remove {@altin} from {coinim.%player%}
execute console command "itemsp ver %player% altinblok"
else:
send "{@magaza} &7Maalesef coininiz yetersiz! &7Gereken coin: &d{@altin}" to player
command /satinalzumrutblok:
trigger:
if {coinim.%player%} is greater than or equal to {@zumrut}:
remove {@zumrut} from {coinim.%player%}
execute console command "itemsp ver %player% zumrutblok"
else:
send "{@magaza} &7Maalesef coininiz yetersiz! &7Gereken coin: &d{@zumrut}" to player
command /satinalelmasblok:
trigger:
if {coinim.%player%} is greater than or equal to {@elmas}:
remove {@elmas} from {coinim.%player%}
execute console command "itemsp ver %player% elmasblok"
else:
send "{@magaza} &7Maalesef coininiz yetersiz! &7Gereken coin: &d{@elmas}" to player
command /satinalendtasi:
trigger:
if {coinim.%player%} is greater than or equal to {@endtasi}:
remove {@endtasi} from {coinim.%player%}
execute console command "itemsp ver %player% endtasi"
else:
send "{@magaza} &7Maalesef coininiz yetersiz! &7Gereken coin: &d{@endtasi}" to player
command /satinalkazmav1:
trigger:
if {coinim.%player%} is greater than or equal to {@kazmav1}:
remove {@kazmav1} from {coinim.%player%}
execute console command "give %player% 278 1 name:&8►_&e&lCOIN_KAZMASI_1_&8◄ enchant: digspeed:7 unbreaking:10"
else:
send "{@magaza} &7Maalesef coininiz yetersiz! &7Gereken coin: &d{@kazmav1}" to player
command /satinalkazmav2:
trigger:
if {coinim.%player%} is greater than or equal to {@kazmav2}:
remove {@kazmav2} from {coinim.%player%}
execute console command "give %player% 278 1 name:&8►_&e&lCOIN_KAZMASI_2_&8◄ enchant: digspeed:14 unbreaking:20"
else:
send "{@magaza} &7Maalesef coininiz yetersiz! &7Gereken coin: &d{@kazmav2}" to player
command /satinalkazmav3:
trigger:
if {coinim.%player%} is greater than or equal to {@kazmav3}:
remove {@kazmav3} from {coinim.%player%}
execute console command "give %player% 278 1 name:&8►_&e&lCOIN_KAZMASI_3_&8◄ enchant: digspeed:21 unbreaking:30"
else:
send "{@magaza} &7Maalesef coininiz yetersiz! &7Gereken coin: &d{@kazmav3}" to player
#COIN MARKET
options:
magaza: &e&lCOIN MARKET &8►
command /coinmarket:
trigger:
wait 5 tick
open chest with 4 row named "Coin Market" to player
set {_s} to 36
loop {_s} times:
set {_chest} to {_s} - 1
remove 1 from {_s}
format slot 11 of player with glowing mob spawner named "&b&lDemir Blok Spawner" with lore "||&a48 Coin ||&eAlmak İçin Tıkla." to close then run [execute player command "/satinaldemirblok"]
format slot 12 of player with glowing mob spawner named "&b&lAltın Blok Spawner" with lore "||&a64 Coin ||&eAlmak İçin Tıkla." to close then run [execute player command "/satinalaltinblok"]
format slot 13 of player with glowing mob spawner named "&d&lElmas Blok Spawner" with lore "||&a72 Coin ||&eAlmak İçin Tıkla." to close then run [execute player command "/satinalelmasblok"]
format slot 14 of player with glowing mob spawner named "&d&lZümrüt Blok Spawner" with lore "||&a96 Coin ||&eAlmak İçin Tıkla." to close then run [execute player command "/satinalzumrutblok"]
format slot 15 of player with glowing mob spawner named "&e&lEnd Taşı Spawner" with lore "||&a6500 Coin ||&eAlmak İçin Tıkla." to close then run [execute player command "/satinalendtasi"]
format slot 21 of player with glowing diamond pickaxe named "&7&lCoin Kazması 1" with lore "||&bVerimlilik 7||&bKırılmazlık 10|| ||&a128 Coin ||&eAlmak İçin Tıkla." to close then run [execute player command "/satinalkazmav1"]
format slot 22 of player with glowing diamond pickaxe named "&7&lCoin Kazması 2" with lore "||&bVerimlilik 14||&bKırılmazlık 20|| ||&a256 Coin ||&eAlmak İçin Tıkla." to close then run [execute player command "/satinalkazmav2"]
format slot 23 of player with glowing diamond pickaxe named "&7&lCoin Kazması 3" with lore "||&bVerimlilik 21||&bKırılmazlık 30|| ||&a384 Coin ||&eAlmak İçin Tıkla." to close then run [execute player command "/satinalkazmav3"]