command /yükseltme:
aliases: üretici, uretici, generator, yukseltme, upgrade, sınır, sinir, arttır
trigger:
open virtual chest with size 3 named "&5Yükseltme Menüsü" to player
make gui slot 11 of player with ghast tear named "&aCoin ile Yükseltme Al!" with lore "&7Coin ile yükseltme almak için tıkla." to close then run player command "3786coinyukseltme"
make gui slot 15 of player with sunflower named "&aOyun Parası ile Yükseltme Al!" with lore "&7Oyun Parası ile yükseltme almak için tıkla." to close then run player command "2786parayukseltme"
command /2786parayukseltme:
trigger:
open virtual chest with size 3 named "&5Para ile Yükseltme Menüsü" to player
make gui slot 11 of player with skull of "earthhead" parsed as offlineplayer named "&aAda için Yükseltme Al!" with lore "&7Adana yükseltme almak için tıkla." to close then run player command "2786adayukseltme"
make gui slot 13 of player with skull of "chest" parsed as offlineplayer named "&aSanal Sandığın için Yükseltme Al!" with lore "&7Sanal sandığına yükseltme almak için tıkla." to close then run player command "2786chestyukseltme"
make gui slot 15 of player with skull of "cobblestone" parsed as offlineplayer named "&aTaş Üreticiler için Yükseltme Al!" with lore "&7Üreticilerine yükseltme almak için tıkla." to close then run player command "2786tasyukseltme"
command /3786coinyukseltme:
trigger:
open virtual chest with size 3 named "&5Coin ile Yükseltme Menüsü" to player
make gui slot 11 of player with skull of "earthhead" parsed as offlineplayer named "&aAda için Yükseltme Al!" with lore "&7Adana yükseltme almak için tıkla." to close then run player command "3786adayukseltme"
make gui slot 13 of player with skull of "chest" parsed as offlineplayer named "&aSanal Sandığın için Yükseltme Al!" with lore "&7Sanal sandığına yükseltme almak için tıkla." to close then run player command "3786chestyukseltme"
make gui slot 15 of player with skull of "cobblestone" parsed as offlineplayer named "&aTaş Üreticiler için Yükseltme Al!" with lore "&7Üreticilerine yükseltme almak için tıkla." to close then run player command "3786tasyukseltme"
command /3786adayukseltme:
trigger:
open virtual dropper with size 3 named "&5Ada Yükseltme Menüsü" to player
make gui slot 4 of player with diamond named "&aKişi sayısını yükselt!" with lore "&7Coin ile kişi sayısı yükseltmesi almak için tıkla.||&7Aldıktan sonra takım sınırı 8 olur.||&7Ücret: &51250 Coin" to close then run function alcoin(player, askyblock.team.maxsize.8, 1250)
make gui slot 8 of player with sunflower named "&aŞuan ki Sınır: &c4 kişi" with lore "&7Şuanda adana maksimum 4 kişi alabilirsin.||&7Eğer alırsan takım sınırın 8 olur." to nothing
if player have permission "askyblock.team.maxsize.8":
open virtual dropper with size 3 named "&5Ada Yükseltme Menüsü" to player
make gui slot 4 of player with diamond named "&aKişi sayısını yükselt!" with lore "&7Coin ile kişi sayısı yükseltmesi almak için tıkla.||&7Aldıktan sonra takım sınırı 10 olur.||&7Ücret: &52500 Coin" to close then run function alcoin(player, askyblock.team.maxsize.10, 2500)
make gui slot 8 of player with sunflower named "&aŞuan ki Sınır: &c8 kişi" with lore "&7Şuanda adana maksimum 8 kişi alabilirsin.||&7Eğer alırsan takım sınırı 12 olur." to nothing
if player have permission "askyblock.team.maxsize.10":
open virtual dropper with size 3 named "&5Ada Yükseltme Menüsü" to player
make gui slot 4 of player with diamond named "&aKişi sayısını yükselt!" with lore "&7Coin ile kişi sayısı yükseltmesi almak için tıkla.||&7Aldıktan sonra takım sınırı 12 olur.||&7Ücret: &55000 Coin" to close then run function alcoin(player, askyblock.team.maxsize.12, 5000)
make gui slot 8 of player with sunflower named "&aŞuan ki Sınır: &c10 kişi" with lore "&7Şuanda adana maksimum 10 kişi alabilirsin.||&7Eğer alırsan takım sınırı 12 olur." to nothing
if player have permission "askyblock.team.maxsize.12":
open virtual dropper with size 3 named "&5Ada Yükseltme Menüsü" to player
make gui slot 4 of player with diamond named "&aKişi sayısını yükselt!" with lore "&7Coin ile kişi sayısı yükseltmesi almak için tıkla.||&7Aldıktan sonra takım sınırı 15 olur.||&7Ücret: &57500 Coin" to close then run function alcoin(player, askyblock.team.maxsize.15, 7500)
make gui slot 8 of player with sunflower named "&aŞuan ki Sınır: &c12 kişi" with lore "&7Şuanda adana maksimum 12 kişi alabilirsin.||&7Eğer alırsan takım sınırı 15 olur." to nothing
if player have permission "askyblock.team.maxsize.15":
open virtual dropper with size 3 named "&5Ada Yükseltme Menüsü" to player
make gui slot 4 of player with redstone block named "&cSon seviyedesin!" with lore "&7Takım sınırını daha fazla arttıramazsın!" to nothing
make gui slot 8 of player with sunflower named "&aŞuan ki Sınır: &c15 kişi" with lore "&7Şuanda adana maksimum 15 kişi alabilirsin.||&7Sınır yükseltmede son seviyedesin." to nothing
command /2786adayukseltme:
trigger:
open virtual dropper with size 3 named "&5Ada Yükseltme Menüsü" to player
make gui slot 4 of player with diamond named "&aKişi sayısını yükselt!" with lore "&7Coin ile kişi sayısı yükseltmesi almak için tıkla.||&7Aldıktan sonra takım sınırı 8 olur.||&7Ücret: &51250TL" to close then run function alpara(player, askyblock.team.maxsize.8, 1250)
make gui slot 8 of player with sunflower named "&aŞuan ki Sınır: &c4 kişi" with lore "&7Şuanda adana maksimum 4 kişi alabilirsin.||&7Eğer alırsan takım sınırın 8 olur." to nothing
if player have permission "askyblock.team.maxsize.8":
open virtual dropper with size 3 named "&5Ada Yükseltme Menüsü" to player
make gui slot 4 of player with diamond named "&aKişi sayısını yükselt!" with lore "&7Coin ile kişi sayısı yükseltmesi almak için tıkla.||&7Aldıktan sonra takım sınırı 10 olur.||&7Ücret: &52500TL" to close then run function alpara(player, askyblock.team.maxsize.10, 2500)
make gui slot 8 of player with sunflower named "&aŞuan ki Sınır: &c8 kişi" with lore "&7Şuanda adana maksimum 8 kişi alabilirsin.||&7Eğer alırsan takım sınırı 12 olur." to nothing
if player have permission "askyblock.team.maxsize.10":
open virtual dropper with size 3 named "&5Ada Yükseltme Menüsü" to player
make gui slot 4 of player with diamond named "&aKişi sayısını yükselt!" with lore "&7Coin ile kişi sayısı yükseltmesi almak için tıkla.||&7Aldıktan sonra takım sınırı 12 olur.||&7Ücret: &55000TL" to close then run function alpara(player, askyblock.team.maxsize.12, 5000)
make gui slot 8 of player with sunflower named "&aŞuan ki Sınır: &c10 kişi" with lore "&7Şuanda adana maksimum 10 kişi alabilirsin.||&7Eğer alırsan takım sınırı 12 olur." to nothing
if player have permission "askyblock.team.maxsize.12":
open virtual dropper with size 3 named "&5Ada Yükseltme Menüsü" to player
make gui slot 4 of player with diamond named "&aKişi sayısını yükselt!" with lore "&7Coin ile kişi sayısı yükseltmesi almak için tıkla.||&7Aldıktan sonra takım sınırı 15 olur.||&7Ücret: &57500TL" to close then run function alpara(player, askyblock.team.maxsize.15, 7500)
make gui slot 8 of player with sunflower named "&aŞuan ki Sınır: &c12 kişi" with lore "&7Şuanda adana maksimum 12 kişi alabilirsin.||&7Eğer alırsan takım sınırı 15 olur." to nothing
if player have permission "askyblock.team.maxsize.15":
open virtual dropper with size 3 named "&5Ada Yükseltme Menüsü" to player
make gui slot 4 of player with redstone block named "&cSon seviyedesin!" with lore "&7Takım sınırını daha fazla arttıramazsın!" to nothing
make gui slot 8 of player with sunflower named "&aŞuan ki Sınır: &c15 kişi" with lore "&7Şuanda adana maksimum 15 kişi alabilirsin.||&7Sınır yükseltmede son seviyedesin." to nothing
command /2786tasyukseltme:
trigger:
open virtual dropper with size 3 named "&5Taş Üretici Yükseltme Menüsü" to player
make gui slot 4 of player with diamond named "&aÜreticilerini yükselt!" with lore "&7Üreticilerinin seviyesini arttırmak için tıkla.||&7Aldıktan sonra üreticilerin 1. seviye olur.||&7Ücret: &51250TL" to close then run function alpara(player, tas.seviye1, 1250)
make gui slot 8 of player with sunflower named "&aŞuan ki Seviye: &a1&7/&c5" with lore "&7Üreticilerin hiç yükseltilmemiş.||&7Eğer alırsan üreticilerin 1. seviye olur." to nothing
if player have permission "tas.seviye1":
open virtual dropper with size 3 named "&5Taş Üretici Yükseltme Menüsü" to player
make gui slot 4 of player with diamond named "&aÜreticilerini yükselt!" with lore "&7Üreticilerinin seviyesini arttırmak için tıkla.||&7Aldıktan sonra üreticilerin 2. seviye olur.||&7Ücret: &52500TL" to close then run function alpara(player, tas.seviye2, 2500)
make gui slot 8 of player with sunflower named "&aŞuan ki Seviye: &a2&7/&c5" with lore "&7Şuanda üreticilerin 1. seviyede.||&7Eğer alırsan üreticilerin 2. seviye olur." to nothing
if player have permission "tas.seviye2":
open virtual dropper with size 3 named "&5Taş Üretici Yükseltme Menüsü" to player
make gui slot 4 of player with diamond named "&aÜreticilerini yükselt!" with lore "&7Üreticilerinin seviyesini arttırmak için tıkla.||&7Aldıktan sonra üreticilerin 3. seviye olur.||&7Ücret: &55000TL" to close then run function alpara(player, tas.seviye3, 5000)
make gui slot 8 of player with sunflower named "&aŞuan ki Seviye: &a3&7/&c5" with lore "&7Şuanda üreticilerin 2. seviyede.||&7Eğer alırsan üreticilerin 3. seviye olur." to nothing
if player have permission "tas.seviye3":
open virtual dropper with size 3 named "&5Taş Üretici Yükseltme Menüsü" to player
make gui slot 4 of player with diamond named "&aÜreticilerini yükselt!" with lore "&7Üreticilerinin seviyesini arttırmak için tıkla.||&7Aldıktan sonra üreticilerin 4. seviye olur.||&7Ücret: &57500TL" to close then run function alpara(player, tas.seviye4, 7500)
make gui slot 8 of player with sunflower named "&aŞuan ki Seviye: &a4&7/&c5" with lore "&7Şuanda üreticilerin 3. seviyede.||&7Eğer alırsan üreticilerin 4. seviye olur." to nothing
if player have permission "tas.seviye4":
open virtual dropper with size 3 named "&5Taş Üretici Yükseltme Menüsü" to player
make gui slot 4 of player with redstone block named "&cSon seviyedesin! &8(&c5&7/&c5&8)" with lore "&7Üreticilerini daha fazla yükseltemezsin." to nothing
make gui slot 8 of player with sunflower named "&aŞuan ki Seviye: &cSON" with lore "&7Şuanda taş üreticilerin son seviyede." to nothing
command /3786tasyukseltme:
trigger:
open virtual dropper with size 3 named "&5Taş Üretici Yükseltme Menüsü" to player
make gui slot 4 of player with diamond named "&aÜreticilerini yükselt!" with lore "&7Üreticilerinin seviyesini arttırmak için tıkla.||&7Aldıktan sonra üreticilerin 1. seviye olur.||&7Ücret: &51250 Coin" to close then run function alcoin(player, tas.seviye1, 1250)
make gui slot 8 of player with sunflower named "&aŞuan ki Seviye: &a1&7/&c5" with lore "&7Üreticilerin hiç yükseltilmemiş.||&7Eğer alırsan üreticilerin 2. seviye olur." to nothing
if player have permission "tas.seviye1":
open virtual dropper with size 3 named "&5Taş Üretici Yükseltme Menüsü" to player
make gui slot 4 of player with diamond named "&aÜreticilerini yükselt!" with lore "&7Üreticilerinin seviyesini arttırmak için tıkla.||&7Aldıktan sonra üreticilerin 2. seviye olur.||&7Ücret: &52500 Coin" to close then run function alcoin(player, tas.seviye2, 2500)
make gui slot 8 of player with sunflower named "&aŞuan ki Seviye: &a2&7/&c5" with lore "&7Şuanda üreticilerin 1. seviyede.||&7Eğer alırsan üreticilerin 3. seviye olur." to nothing
if player have permission "tas.seviye2":
open virtual dropper with size 3 named "&5Taş Üretici Yükseltme Menüsü" to player
make gui slot 4 of player with diamond named "&aÜreticilerini yükselt!" with lore "&7Üreticilerinin seviyesini arttırmak için tıkla.||&7Aldıktan sonra üreticilerin 3. seviye olur.||&7Ücret: &55000 Coin" to close then run function alcoin(player, tas.seviye3, 5000)
make gui slot 8 of player with sunflower named "&aŞuan ki Seviye: &a3&7/&c5" with lore "&7Şuanda üreticilerin 2. seviyede.||&7Eğer alırsan üreticilerin 4. seviye olur." to nothing
if player have permission "tas.seviye3":
open virtual dropper with size 3 named "&5Taş Üretici Yükseltme Menüsü" to player
make gui slot 4 of player with diamond named "&aÜreticilerini yükselt!" with lore "&7Üreticilerinin seviyesini arttırmak için tıkla.||&7Aldıktan sonra üreticilerin 4. seviye olur.||&7Ücret: &57500 Coin" to close then run function alcoin(player, tas.seviye4, 7500)
make gui slot 8 of player with sunflower named "&aŞuan ki Seviye: &a4&7/&c5" with lore "&7Şuanda üreticilerin 3. seviyede.||&7Eğer alırsan üreticilerin 5. seviye olur." to nothing
if player have permission "tas.seviye4":
open virtual dropper with size 3 named "&5Taş Üretici Yükseltme Menüsü" to player
make gui slot 4 of player with redstone block named "&cSon seviyedesin! &8(&c5&7/&c5&8)" with lore "&7Üreticilerini daha fazla yükseltemezsin." to nothing
make gui slot 8 of player with sunflower named "&aŞuan ki Seviye: &cSON" with lore "&7Şuanda taş üreticilerin son seviyede." to nothing
command /2786chestyukseltme:
trigger:
open virtual dropper with size 3 named "&5Sandık Yükseltme Menüsü" to player
make gui slot 4 of player with diamond named "&aSandığını yükselt!" with lore "&7Sandığının seviyesini arttırmak için tıkla.||&7Aldıktan sonra sandığın 1. seviye olur.||&7Ücret: &51250TL" to close then run function alpara(player, CustomEnderChest.level.1, 1250)
make gui slot 8 of player with sunflower named "&aŞuan ki Seviye: &a1&7/&c6" with lore "&7Sandığın hiç yükseltilmemiş.||&7Eğer alırsan sandığın 2. seviye olur." to nothing
if player have permission "CustomEnderChest.level.1":
open virtual dropper with size 3 named "&5Sandık Yükseltme Menüsü" to player
make gui slot 4 of player with diamond named "&aSandığını yükselt!" with lore "&7Sandığının seviyesini arttırmak için tıkla.||&7Aldıktan sonra sandığın 2. seviye olur.||&7Ücret: &52500TL" to close then run function alpara(player, CustomEnderChest.level.2, 2500)
make gui slot 8 of player with sunflower named "&aŞuan ki Seviye: &a2&7/&c6" with lore "&7Şuanda sandığın 2. seviyede.||&7Eğer alırsan sandığın 3. seviye olur." to nothing
if player have permission "CustomEnderChest.level.2":
open virtual dropper with size 3 named "&5Sandık Yükseltme Menüsü" to player
make gui slot 4 of player with diamond named "&aSandığını yükselt!" with lore "&7Sandığının seviyesini arttırmak için tıkla.||&7Aldıktan sonra sandığın 3. seviye olur.||&7Ücret: &55000TL" to close then run function alpara(player, CustomEnderChest.level.3, 5000)
make gui slot 8 of player with sunflower named "&aŞuan ki Seviye: &a3&7/&c6" with lore "&7Şuanda sandığın 3. seviyede.||&7Eğer alırsan sandığın 4. seviye olur." to nothing
if player have permission "CustomEnderChest.level.3":
open virtual dropper with size 3 named "&5Sandık Yükseltme Menüsü" to player
make gui slot 4 of player with diamond named "&aSandığını yükselt!" with lore "&7Sandığının seviyesini arttırmak için tıkla.||&7Aldıktan sonra sandığın 4. seviye olur.||&7Ücret: &57500TL" to close then run function alpara(player, CustomEnderChest.level.4, 7500)
make gui slot 8 of player with sunflower named "&aŞuan ki Seviye: &a4&7/&c6" with lore "&7Şuanda sandığın 4. seviyede.||&7Eğer alırsan sandığın 5. seviye olur." to nothing
if player have permission "CustomEnderChest.level.4":
open virtual dropper with size 3 named "&5Sandık Yükseltme Menüsü" to player
make gui slot 4 of player with diamond named "&aSandığını yükselt!" with lore "&7Sandığının seviyesini arttırmak için tıkla.||&7Aldıktan sonra sandığın 6. seviye olur.||&7Ücret: &510000TL" to close then run function alpara(player, CustomEnderChest.level.5, 7500)
make gui slot 8 of player with sunflower named "&aŞuan ki Seviye: &a5&7/&c6" with lore "&7Şuanda sandığın 5. seviyede.||&7Eğer alırsan sandığın 6. seviye olur." to nothing
if player have permission "CustomEnderChest.level.5":
open virtual dropper with size 3 named "&5Sandık Yükseltme Menüsü" to player
make gui slot 4 of player with redstone block named "&cSandığın son seviye! &8(&c6&7/&c6&8)" with lore "&7Sandığını daha fazla yükseltemezsin." to nothing
make gui slot 8 of player with sunflower named "&aŞuan ki Seviye: &cSON" with lore "&7Şuanda sandığın son seviyede." to nothing
command /3786chestyukseltme:
trigger:
open virtual dropper with size 3 named "&5Sandık Yükseltme Menüsü" to player
make gui slot 4 of player with diamond named "&aSandığını yükselt!" with lore "&7Sandığının seviyesini arttırmak için tıkla.||&7Aldıktan sonra sandığın 1. seviye olur.||&7Ücret: &51250 Coin" to close then run function alcoin(player, CustomEnderChest.level.1, 1250)
make gui slot 8 of player with sunflower named "&aŞuan ki Seviye: &a1&7/&c6" with lore "&7Sandığın hiç yükseltilmemiş.||&7Eğer alırsan sandığın 2. seviye olur." to nothing
if player have permission "CustomEnderChest.level.1":
open virtual dropper with size 3 named "5Sandık Yükseltme Menüsü" to player
make gui slot 4 of player with diamond named "&aSandığını yükselt!" with lore "&7Sandığının seviyesini arttırmak için tıkla.||&7Aldıktan sonra sandığın 2. seviye olur.||&7Ücret: &52500 Coin" to close then run function alcoin(player, CustomEnderChest.level.2, 2500)
make gui slot 8 of player with sunflower named "&aŞuan ki Seviye: &a2&7/&c6" with lore "&7Şuanda sandığın 2. seviyede.||&7Eğer alırsan sandığına 3. seviye olur." to nothing
if player have permission "CustomEnderChest.level.2":
open virtual dropper with size 3 named "&5Sandık Yükseltme Menüsü" to player
make gui slot 4 of player with diamond named "&aSandığını yükselt!" with lore "&7Sandığının seviyesini arttırmak için tıkla.||&7Aldıktan sonra sandığın 3. seviye olur.||&7Ücret: &55000 Coin" to close then run function alcoin(player, CustomEnderChest.level.3, 5000)
make gui slot 8 of player with sunflower named "&aŞuan ki Seviye: &a3&7/&c6" with lore "&7Şuanda sandığın 3. seviyede.||&7Eğer alırsan sandığın 4. seviye olur." to nothing
if player have permission "CustomEnderChest.level.3":
open virtual dropper with size 3 named "&5Sandık Yükseltme Menüsü" to player
make gui slot 4 of player with diamond named "&aSandığını yükselt!" with lore "&7Sandığının seviyesini arttırmak için tıkla.||&7Aldıktan sonra sandığın 4. seviye olur.||&7Ücret: &57500 Coin" to close then run function alcoin(player, CustomEnderChest.level.4, 7500)
make gui slot 8 of player with sunflower named "&aŞuan ki Seviye: &a4&7/&c6" with lore "&7Şuanda sandığın 4. seviyede.||&7Eğer alırsan sandığın 5. seviye olur." to nothing
if player have permission "CustomEnderChest.level.4":
open virtual dropper with size 3 named "&5Sandık Yükseltme Menüsü" to player
make gui slot 4 of player with diamond named "&aSandığını yükselt!" with lore "&7Sandığının seviyesini arttırmak için tıkla.||&7Aldıktan sonra sandığın 6. seviye olur.||&7Ücret: &510000 Coin" to close then run function alcoin(player, CustomEnderChest.level.5, 7500)
make gui slot 8 of player with sunflower named "&aŞuan ki Seviye: &a5&7/&c6" with lore "&7Şuanda sandığın 5. seviyede.||&7Eğer alırsan sandığın 6. seviye olur." to nothing
if player have permission "CustomEnderChest.level.5":
open virtual dropper with size 3 named "&5Sandık Yükseltme Menüsü" to player
make gui slot 4 of player with redstone block named "&cSandığın son seviye! &8(&c6&7/&c6&8)" with lore "&7Sandığını daha fazla yükseltemezsin." to nothing
make gui slot 8 of player with sunflower named "&aŞuan ki Seviye: &cSON" with lore "&7Şuanda sandığın son seviyede." to nothing
function alcoin(p: player, permission: text, s: number):
if {coin::%{_p}%} > {_s} - 1:
remove {_s} from {coin::%{_p}%}
execute console command "manuaddp %{_p}% %{_permission}%"
send "&3Üretici &8» &aBaşarıyla yükseltmeyi satın aldınız." to {_p}
send "&3Üretici &8» &aHesabından &5{_s} &akadar coin kesildi." to {_p}
else:
send "&3Üretici &8» &cYükseltmeyi almak için yeterli coininiz yok." to {_p}
function alpara(p: player, permission: text, s: number):
if {_p}'s balance is greater than {_s} - 1:
remove {_s} from {_p}'s balance
execute console command "manuaddp %{_p}% %{_permission}%"
send "&3Üretici &8» &aBaşarıyla yükseltmeyi satın aldınız." to {_p}
send "&3Üretici &8» &aHesabından &5{_s} &akadar para kesildi." to {_p}
else:
send "&3Üretici &8» &cYükseltmeyi almak için yeterli coininiz yok." to {_p}