options:
p: &eFaction &8»
magaza: &eFaction &8»
flyfiyat: 20
editkazma1fiyat: 10
editkazma2fiyat: 15
250mfiyat: 10
variables:
{kredim::%player%} = 0
command /kredi [<text>] [<player>] [<int>]:
permission: kredi.sistem
permission message: {@p} &cBu komutu uygulayamazsınız.
aliases: akredi
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 {kredim::%arg 2%}
send "{@p} &e%arg 2% &7adli oyuncuya &e%arg 3%&7 kredi verildi!" to player
else:
send "{@p} &7Yanlış komut, &e/kredi" to player
else:
send "{@p} &7Yanlış komut, &e/kredi" to player
else:
if arg 1 is "sil":
if arg 2 is set:
if arg 3 is set:
remove arg 3 from {kredim::%arg 2%}
send "{@p} &e%arg 2% &7adli oyuncudan &e%arg 3%&7 kredi silindi!" to player
else:
send "{@p} &7Yanlış komut, &e/kredi" to player
else:
send "{@p} &7Yanlış komut, &e/kredi" to player
else:
if arg 1 is "sifirla":
if arg 2 is set:
delete {kredim::%arg 2%}
send "{@p} &e%arg 2% &7adlı oyuncunun kredisi sıfırlandı!" to player
else:
send "{@p} &7Yanlış komut, &e/kredi" to player
else:
if arg 1 is "bak":
if arg 2 is set:
send "{@p} &e%arg 2%&7'nin kredisi&8 » &e%{kredim::%arg 2%}%" to player
else:
send "{@p} &7Yanlış komut, &e/kredi" to player
else:
send "&8&m---------------------[&e&l Kredi &8&m[---------------------" to player
send "&8 » &e/kredi ver <oyuncu> <miktar> &8| &eOyuncuya kredi verir." to player
send "&8 » &e/kredi sil <oyuncu> <miktar> &8| &eOyuncudan kredi siler." to player
send "&8 » &e/kredi sifirla <oyuncu> &8| &eOyuncunun kredisini sıfırlar." to player
send "&8 » &e/kredi bak <oyuncu> &8| &eOyuncunun kredisini görebilirsiniz." to player
send "&8 » &e/kredim &8| &eHesabınızdaki varolan krediyi gösterir." to player
send "&8 » &e/kredimarket &8| &eAldığınız kredileri harcayabileceğiniz yerdir." to player
send "&8&m---------------------------------------------------" to player
command /kredim:
trigger:
send ""
send ""
send ""
send " &f&lKrediniz: &a%{kredim::%player%}%"
send ""
send " &fKredi satın almak istiyorsanız, sitemizi"
send " &fziyaret ederek satın alabilirsiniz."
send ""
send " &fKredinizi harcamak istiyorsanız, &a/kredimarket"
send " &fkomutunu kullanarak özel eşyalar satın alabilirsiniz."
send ""
command /satinal:fly:
trigger:
player does not have the permission "essentials.fly":
if {kredim::%player%} is greater than or equal to {@flyfiyat}:
remove {@flyfiyat} from {kredim::%player%}
execute console command "/manuaddp %player% essentials.fly"
send "" to player
send "{@p} &eBaşarılı bir şekilde satın aldınız." to player
send "" to players
else:
send "{@p} &7Bu öğeyi satın almak için, &e{@flyfiyat} &7kredin olması lazım." to player
else:
send "{@p} &7Bu yetki zaten satın alınmış." to player
command /satinal:editkazma:
trigger:
if {kredim::%player%} is greater than or equal to {@editkazma1fiyat}:
remove {@editkazma1fiyat} from {kredim::%player%}
give 1 diamond pickaxe of efficiency 15, unbreaking 5, fortune 10 named "&e&lEdit Kazma" to player
send "" to player
send "{@p} &eBaşarılı bir şekilde satın aldınız." to player
send "" to players
else:
send "{@p} &7Bu öğeyi satın almak için, &e{@editkazma1fiyat} &7kredin olması lazım." to player
command /satinal:editkazma2:
trigger:
if {kredim::%player%} is greater than or equal to {@editkazma2fiyat}:
remove {@editkazma2fiyat} from {kredim::%player%}
give 1 diamond pickaxe of efficiency 30, unbreaking 10, fortune 10 named "&e&lEdit Kazma &f&l+" to player
send "" to player
send "{@p} &eBaşarılı bir şekilde satın aldınız." to player
send "" to players
else:
send "{@p} &7Bu öğeyi satın almak için, &e{@editkazma2fiyat} &7kredin olması lazım." to player
command /satinal:250m:
trigger:
if {kredim::%player%} is greater than or equal to {@250mfiyat}:
remove {@250mfiyat} from {kredim::%player%}
execute console command "eco give %player% 250000000"
send "" to player
send "&8 » &7Satın alma işlemi &abaşarıyla &7gerçekleşti." to player
send "&8 » &7Hesabına &a250.000.000 &7daha para eklendi." to player
send "&8 » &7Bize katkıda bulunduğunuz için teşekkürler!" to player
send "" to players
send "&8 » &3%player% &7adlı oyuncu &a250.000.000 &7satın aldı, hayırlı olsun." to players
send "" to players
else:
send "{@magaza} &7Bu öğeyi satın almak için, &a{@250mfiyat} &7kredin olması lazım." to player
Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!