# ############################################################## #
# #
# AYARLAR #
# #
# ############################################################## #
Options:
#Skript Versiyonu Lutfen Degismeyin.
versiyon: 1.0
#Skript Yapimcisi Degistirmezseniz Seviniriz.
yapimci: DarkMC
#Guncelleme Kontrolu [1.1]'de Gelecek'tir!
guncel: Evet
#Bilgi Ekrani [1]
bilgi1: VIP Suresi 1 Aydir.
#Bilgi Ekrani [2]
bilgi2: Krediler Gercek Paradir.
#Bilgi Ekrani [3]
bilgi3: Edit Kazma Ozellikleri.
#VIP Ekrani [1]
vip1: vip1
#VIP Ekrani [2]
vip2: vip2
#VIP Ekrani [3]
vip3: vip3
#VIP Ekrani [4]
vip4: Yok
#Para Ekrani [1]
sat1: 5M
#Para Ekrani [2]
sat2: 10M
#Para Ekrani [3]
sat3: 15M
#Para Ekrani [4]
sat4: 30M
#Para Ekrani [5]
sat5: 50M
#Edit Ekrani [1]
edit: EditKazma
#Sunucu Ismi [Duzenlenebilir!]
prefix: &9&lDark&6&lMC &c&lÂ> &r
# Otomatik Giriste Sorgulama Sistemi #
on join:
if {kredi.%player%} is not set:
set {kredi.%player%} to 0
# Magaza Sistemi + VIP - Para - Edit Item Satin Alma Sistemi #
command /magaza [<text>]:
usage: &8[&cKoruma&8] &7Sadece &c/magaza &7Yazmaniz Yeterlidir&8!
trigger:
arg 1 isn't set:
open chest with 5 row named "&cKredi: &e&l%{kredi.%player%}%" to player
wait 3 tick
format slot 12 of player with iron block named "&a&lVIP" with lore "&7Gereken &cKredi: &e10 &7TL" to close then run [make player execute command "magaza Vip"]
format slot 14 of player with gold block named "&c&lKral&a&lVIP" with lore "&7Gereken &cKredi: &e20 &7TL" to close then run [make player execute command "magaza KralVip"]
format slot 30 of player with diamond block named "&5&lDark&a&lVIP" with lore "&7Gereken &cKredi: &e30 &7TL" to close then run [make player execute command "magaza DarkVip"]
format slot 32 of player with emerald block named "&a&l{@vip4}" with lore "&7Gereken &cKredi: &e50 &7TL" to close then run [make player execute command "magaza {@vip4}"]
format slot 10 of player with paper named "&1&l{@sat1}" with lore "&7Gereken &cKredi: &e4 &7TL" to close then run [make player execute command "magaza {@sat1}"]
format slot 19 of player with paper named "&2&l{@sat2}" with lore "&7Gereken &cKredi: &e8 &7TL" to close then run [make player execute command "magaza {@sat2}"]
format slot 28 of player with paper named "&3&l{@sat3}" with lore "&7Gereken &cKredi: &e12 &7TL" to close then run [make player execute command "magaza {@sat3}"]
format slot 16 of player with paper named "&4&L{@sat4}" with lore "&7Gereken &cKredi: &e24 &7TL" to close then run [make player execute command "magaza {@sat4}"]
format slot 20 of player with sugar named "&6&lBilgiler" with lore "&8&l&m-&r &41.&6 {@bilgi1} &8&l&m-&r" to close
format slot 22 of player with sugar named "&6&lBilgiler" with lore "&8&l&m-&r &42.&e {@bilgi2} &8&l&m-&r" to close
format slot 24 of player with sugar named "&6&lBilgiler" with lore "&8&l&m-&r &43.&b {@bilgi3} &8&l&m-&r" to close
format slot 25 of player with paper named "&5&l{@sat5}" with lore "&7Gereken &cKredi: &e40 &7TL" to close then run [make player execute command "magaza {@sat5}"]
format slot 34 of player with diamond pickaxe named "&6&lEdit Kazma" with lore "&7Gereken &cKredi: &e10 &7TL" to close then run [make player execute command "magaza {@edit}"]
arg 1 is "{@vip1}":
{kredi.%player%} is greater than 14:
execute console command "manuadd %player% {@vip1}"
add -10 to {kredi.%player%}
broadcast "&8[&cSunucu&8] &e%player% &7adli Kisi &a&lVIP &7Satin Almistir&8!"
else:
send "{@prefix}&7Hesabiniz'da Yeterli &aKredi&7'niz Bulunmamakta&8!"
arg 1 is "{@vip2}":
{kredi.%player%} is greater than 24:
execute console command "manuadd %player% {@vip2}"
add -20 to {kredi.%player%}
broadcast "&8[&cSunucu&8] &e%player% &7adli Kisi &c&lKral&a&lVIP &7Satin Almistir&8!"
else:
send "{@prefix}&7Hesabiniz'da Yeterli &aKredi&7'niz Bulunmamakta&8!"
arg 1 is "{@vip3}":
{kredi.%player%} is greater than 34:
execute console command "manuadd %player% {@vip3}"
add -30 to {kredi.%player%}
broadcast "&8[&cSunucu&8] &e%player% &7adli Kisi &5&lDark&a&lVIP &7Satin Almistir&8!"
arg 1 is "{@sat1}":
{kredi.%player%} is greater than 1:
execute console command "eco give %player% 5000000"
add -5 to {kredi.%player%}
broadcast "&8[&cSunucu&8] &e%player% &7adli Kisi &c{@sat1} &7Satin Almistir&8!"
else:
send "{@prefix}&7Hesabiniz'da Yeterli &aKredi&7'niz Bulunmamakta&8!"
arg 1 is "{@sat2}":
{kredi.%player%} is greater than 4:
execute console command "eco give %player% 10000000"
add -10 to {kredi.%player%}
broadcast "&8[&cSunucu&8] &e%player% &7adli Kisi &c{@sat2} &7Satin Almistir&8!"
else:
send "{@prefix}&7Hesabiniz'da Yeterli &aKredi&7'niz Bulunmamakta&8!"
arg 1 is "{@sat3}":
{kredi.%player%} is greater than 9:
execute console command "eco give %player% 15000000"
add -15 to {kredi.%player%}
broadcast "&8[&cSunucu&8] &e%player% &7adli Kisi &c{@sat3} &7Satin Almistir&8!"
else:
send "{@prefix}&7Hesabiniz'da Yeterli &aKredi&7'niz Bulunmamakta&8!"
arg 1 is "{@sat4}":
{kredi.%player%} is greater than 14:
execute console command "eco give %player% 30000000"
add -30 to {kredi.%player%}
broadcast "&8[&cSunucu&8] &e%player% &7adli Kisi &c{@sat4} &7Satin Almistir&8!"
else:
send "{@prefix}&7Hesabiniz'da Yeterli &aKredi&7'niz Bulunmamakta&8!"
arg 1 is "{@sat5}":
{kredi.%player%} is greater than 29:
execute console command "eco give %player% 50000000"
add -50 to {kredi.%player%}
broadcast "&8[&cSunucu&8] &e%player% &7adli Kisi &c{@sat5} &7Satin Almistir&8!"
else:
send "{@prefix}&7Hesabiniz'da Yeterli &aKredi&7'niz Bulunmamakta&8!"
arg 1 is "{@edit}":
{kredi.%player%} is greater than 14:
execute console command "kit {@edit} %player%"
add -10 to {kredi.%player%}
broadcast "&8[&cSunucu&8] &e%player% &7adli Kisi &c{@edit} &7Satin Almistir&8!"
else:
send "{@prefix}&7Hesabiniz'da Yeterli &aKredi&7'niz Bulunmamakta&8!"
# Kullanici'ya Kredi Verme Sistemi #
command /kredi [<text=yardim>] [<offlineplayer>] [<int>]:
usage: &c/Kredi &&bYardim &7Yazmaniz Yeterlidir&8!
trigger:
player is op:
arg 1 is "yardim":
message "&8&l&m-----&r &8[ &aKredi &bSistemi &4Kullanim &8]&r &8&l&m-----" to player
message "&9Â> &7Kullanim: &c/Kredi &bVer &8[&eIsim&8] &8[&aKredi&8]" to player
message "&9Â> &7Kullanim: &c/Kredi &bAl &8[&eIsim&8] &8[&aKredi&8]" to player
message "&9Â> &7Kullanim: &c/Kredi &bBak &8[&eIsim&8]" to player
message "&9Â> &7Kullanim: &c/Kredi &bSifirla &8[&eIsim&8]" to player
message "&9Â> &7Versiyon: &d{@versiyon}" to player
message "&9Â> &7Guncelmi: &a{@guncel}" to player
message "&8&l&m-----&r &8[ &aKredi &bSistemi &4Kullanim &8]&r &8&l&m-----" to player
arg 1 is "bak":
if arg 2 is set:
if arg 3 is not set:
message "&8[&e%arg 2%&8] &7adli Kisinin &8[&a%{kredi.%arg 2%}%&8] &7Kredi'si Var&8!" to player
if arg 1 is "ver":
if arg 2 is set:
if arg 3 is set:
message "&7Yetkili, &8[&a%arg 3%&8] &7Kredi'yi Hesabiniza Yatirmistir&8!" to arg 2
message "&7Basariyla, &8[&e%arg 2%&8] &7adli Kisi'ye &8[&a%arg 3%&8] &7Kredi Verdiniz&8!" to player
add arg-3 to {kredi.%arg 2%}
if arg 1 is "al":
if arg 2 is set:
if arg 3 is set:
send "{@prefix} &7Basariyla, &8[&e%arg 2%&8] &7adli Kisi'den &8[&a%arg 3%&8] &7Kredi Aldiniz&8!"
remove arg-3 from {kredi.%arg 2%}
if arg 1 is "sifirla":
if arg 2 is set:
if arg 3 is not set:
send "{@prefix} &7Basariyla, &8[&e%arg 2%&8] &7adli Kisi'nin &aKredisi'ni &7Sifirladiniz&8!" to player
set {kredi.%arg 2%} to 0
# Kullanici'nin Kredi'sini Sorgulama Sistemi #
command /kredim:
usage: &7Sadece &c/Kredim &7Yazmaniz Yeterlidir&8!
trigger:
send "{@prefix}&cKredi: &e&l%{kredi.%player%}% &aKredi'niz &7Var&8!"