ZeusPro
Ağaç Yumruklayıcı
- Mesajlar
- 20
- En iyi cevaplar
- 0
- Beğeniler
- 3
- Puanları
- 120
- Ruh hali
Merhaba Sevgili ForumGamer Üyeleri
Kendi sunucumda kullandığım ve kendi yapmış olduğum ZeuSpawner
skriptini sizlerle paylaşmaya karar verdim.
Spawner Türleri:
- Her Şey
Spawnerlerden bir örnek resim:
Spawnerin Özellikleri:
- Spawneri kim koyarsa spawneri o kırabilir ve levelini yükseltebilir.
- Spawnerlerin hologramlarını /hologram [kapat/aç] yazarak açıp kapatabilirsiniz.
- Spawnere sağ tıklarsanız spawnerin sahibi sizseniz yükseltme ve bilgi menüsü açılır. değilseniz sahibinin kim olduğunu söyler.
- OP olan bir kişi kendinin olmayan bir spawneri kırdığıda spawnerin sahibine spawner koyma hakkı verir.
- Her spawnerin kendine özel hologramı vardır.
Gerekli Addonlar:
- TuSKe
- Skript
- skUtilities
- skript-nms
- SkQuery
- SkyRayFall
- Essentials
- HolograpicDisplay
(SİLKSPAWNER PLUGİNİ YÜKLÜ İSE SİLİN. YOKSA HATA VERECEKTİR!!)
Spawnerleri yükseltmek için coin sistemi hakkında bilgi:
/Zcoin [Coin vereceğiniz kişi] [+/-] [vereceğiniz coin miktarı] ile birine zcoin eklersiniz veya çıkarırsınız. (sadece op olanlar kullanabilir)
/Zcoin [zcoin miktarına bakacağınız kişi] ilede bir kişinin zcoin miktarına bakabilirsiniz. (sadece op olanlar kullanabilir)
/Zcoin yazarak kendi zcoin miktarına bakabilirsin.(oyuncular dahil herkes kullanabilir)
ZCoin Yerine Para İle Yükseltilebilir Hali:
Para ile yükseltildiği için zcoin sistemi yoktur!!
Yükseltme sistemi olmayan hali:
Yükseltme sistemi olmadığı için zcoin sistemide yoktur!!
Kendi sunucumda kullandığım ve kendi yapmış olduğum ZeuSpawner
skriptini sizlerle paylaşmaya karar verdim.
Spawner Türleri:
- Her Şey
Spawnerlerden bir örnek resim:
Spawnerin Özellikleri:
- Spawneri kim koyarsa spawneri o kırabilir ve levelini yükseltebilir.
- Spawnerlerin hologramlarını /hologram [kapat/aç] yazarak açıp kapatabilirsiniz.
- Spawnere sağ tıklarsanız spawnerin sahibi sizseniz yükseltme ve bilgi menüsü açılır. değilseniz sahibinin kim olduğunu söyler.
- OP olan bir kişi kendinin olmayan bir spawneri kırdığıda spawnerin sahibine spawner koyma hakkı verir.
- Her spawnerin kendine özel hologramı vardır.
Gerekli Addonlar:
- TuSKe
- Skript
- skUtilities
- skript-nms
- SkQuery
- SkyRayFall
- Essentials
- HolograpicDisplay
(SİLKSPAWNER PLUGİNİ YÜKLÜ İSE SİLİN. YOKSA HATA VERECEKTİR!!)
Kod:
#
# ZeuSpawner
# GELISMIS HOLOGRAMLI VE LEVELLI ITEMSPAWNER
# YAPIMCI: ZeusPro(CengizHan)
#
#
# SPAWNERLERİ İPEKSİ İLE KIRMALARINI İSTİYORSANIZ BURAYI TRUE YAPINIZ!!
#
variables:
# SPAWNERLERİ İPEKSİ İLE KIRMALARINI İSTİYORSANIZ BURAYI TRUE YAPINIZ!!
{ipeksi::*} = true
# LEVELLERİN ZCOİNLERİNİ AYARLAYA BİLİRSİNİZ
{2::yükseltme::fiyat} = 5 # 30 zcoin karşılığı 1 level spawneri 2 level yapıyor.
{3::yükseltme::fiyat} = 7 # 50 zcoin karşılığı 2 level spawneri 3 level yapıyor.
{4::yükseltme::fiyat} = 10 # 100 zcoin karşılığı 3 level spawneri 4 level yapıyor.
{5::yükseltme::fiyat} = 15 # 150 zcoin karşılığı 4 level spawneri 5(MAX) level yapıyor.
#
# Burayı Ellemeyin!!
{zcoin::%player%} = 0
{ztoplam::%player%} = 0
#
# SPAWNER VERME KISMI
# BİR KİŞİYE SPAWNER VERMEK İÇİN /Sp [Spawner Türü] [Spawneri Vereceğiniz Kişinin İsmi] [Vereceğiniz Spawner Sayısı]
# ÖRNEĞİN /Sp iron_ingot ZeusPro 2
command /sp [<text>] [<player>] [<number>]:
trigger:
if command sender is op or console:
if arg-1 is set:
if arg 2 is set:
if arg 3 is set:
give arg-3 of mob spawner named "&b&lZ&a&lS&3&lP &7%arg-1% &aSpawner" with lore "&aLevel &8> &61" to arg-2
send "&b&lZ&a&lS&3&lP &8> &5%arg-3% &7%arg-1% &aSpawner Verildi." to arg-2 and sender
else:
give mob spawner named "&b&lZ&a&lS&3&lP &7%arg-1% &aSpawner" with lore "&aLevel &8> &61" to arg-2
send "&b&lZ&a&lS&3&lP &8> &5%arg-3% &7%arg-1% &aSpawner Verildi." to arg-2 and sender
else:
send "&b&lZ&a&lS&3&lP &8> &7Kişi Girmelisiniz." to sender
else:
send "&b&lZ&a&lS&3&lP &8> &7Kullanım &7/&8Sp &7[&fEşya&7] [&aIsim&7] [&aAdet&7]" to sender
else:
send "&b&lZ&a&lS&3&lP &8> &7Bu komutu kullanamazsın." to sender
#
# YERE SPAWNER KOYDUĞUNDA OLACAKLAR
# ELLEMENİZİ TAVSİYE ETMEM
on place:
if event-block is spawner:
if block below event-location isn't slab:
if uncolored name of player's tool parsed as "ZSP %text% Spawner" is set:
set {_str::*} to uncolored name of player's tool parsed as "ZSP %text% Spawner"
if {_str::1} parsed as entitytype is set:
set {Sahibi::%location of event-block%} to player
set {_esya} to "%((first 1 character of {_str::1}) in upper case)%%(last ((length of {_str::1})-1) characters of {_str::1}) in lower case%"
add "{EntityId:""%{_esya}%""}" to nbt of event-block
else if {_str::1} parsed as material is set:
set {_esya} to {_str::1} in lower case
set {Sahibi::%location of event-block%} to player
add location of event-block to {hologram::*}
set {_parsed::*} to uncolored lore of player's tool parsed as "Level > %number%"
set {_hız} to {_parsed::1}
remove 1 from {_hız}
set {level::%location of event-block%} to 1
set {level1::%location of event-block%} to 2
# SPAWNERİN HIZINI BURDAN AYARLIYORSUNUZ!!
# HER İTEM ÇIKARTTIĞINDA 4 TANE BİRDEN ÇIKARTIYOR!!
# ONA GÖRE DÜZENLEYİN VE İSTEDİĞİNİZ ZAMANIN 2x KATINI YAZIN!!
# ÖRNEĞİN şu an 120 YAZIYOR FAKAT 60 SANİYEDE 4 TANE ÇIKARTIYOR!!
set {hız::%player%::%location of event-block%} to 120
#
set {hızz::%player%::%location of event-block%} to 60
add {_hız} to {level::%location of event-block%}
add {_hız} + 1 to {level1::%location of event-block%}
remove {_hız} * 3 from {hız::%player%::%location of event-block%}
if {level::%location of event-block%} is 5:
set {level1::%location of event-block%} to "MAX"
else:
remove {_hız} * 3 from {hızz::%player%::%location of event-block%}
set {item::%location of event-block%} to {_esya}
set {sp::%location of event-block%::%player%} to player
create holo object "ItemStack:%{_esya}%;&7&m----------&7;&aLevel &6%{level::%location of event-block%}%;&7&m----------&7" with id "%location of event-block%" at block above above event-block
add "{EntityId:""Item"",SpawnData:{Item:{id:""minecraft:%{_esya}%"",Count:1b}},SpawnCount:1,SpawnRange:2,RequiredPlayerRange:20,Delay:1,MinSpawnDelay:%{hız::%{_p}%::%{_loc}%}%0,MaxSpawnDelay:%{hızz::%{_p}%::%{_loc}%}%0,MaxNearbyEntities:9999}" to nbt of event-block
send "&b&lZ&a&lS&3&lP &8> &7Spawneri Başarıyla Koydun." to player
else:
send "&b&lZ&a&lS&3&lP &8> &7Spawneri yarım bloğun üzerine koyamazsın." to player
cancel event
#
# SPAWNERİ KIRDIĞINDA OLACAKLAR
# ELLEMENİZİ TAVSİYE ETMEM!!
on break:
if event-block is spawner:
if {ipeksi::*} is true:
if tool of player is any pickaxe of silk touch:
if player is {Sahibi::%event-location%}:
SpKır(player, event-location, nbt of event-block)
else:
send "&b&lZ&a&lS&3&lP &8> &7Spawnerin sahibi &c%{Sahibi::%location of event-block%}% &7!!" to player
if player has permission "op":
SpKır(player, event-location, nbt of event-block)
else:
send "&b&lZ&a&lS&3&lP &8> &7Spawnerin sahibi &c%{Sahibi::%targeted block's location%}% &7!!" to player
cancel event
else:
send "&b&lZ&a&lS&3&lP &8> &7Spawneri kırmak için ipeksi kazmaya ihtiyacın var!!" to player
if player has permission "op":
SpKır(player, event-location, nbt of event-block)
else:
send "&b&lZ&a&lS&3&lP &8> &7Spawneri Kırabilmek İpeksi Kazmaya İhtiyacın Var &7!!" to player
cancel event
else:
if player is {Sahibi::%location of event-block%}:
SpKır(player, event-location, nbt of event-block)
else:
send "&b&lZ&a&lS&3&lP &8> &7Spawnerin sahibi &c%{Sahibi::%location of event-block%}% &7!!" to player
if player has permission "op":
SpKır(player, event-location, nbt of event-block)
else:
send "&b&lZ&a&lS&3&lP &8> &7Spawnerin sahibi &c%{Sahibi::%targeted block's location%}% &7!!" to player
cancel event
function SpKır(p: player, loc: location, nbt: object):
set {_type} to "%nbt tag ""EntityId"" of ({_nbt})%"
replace all """" with "" in {_type}
if {_type} is "Item":
set {_item} to nbt tag "SpawnData" of {_nbt}
set {_item} to nbt tag "Item" of {_item}
set {_item} to "%nbt tag ""id"" of {_item}%"
replace all """" with "" in {_item}
replace all "minecraft:" with "" in {_item}
drop a mob spawner named "&b&lZ&a&lS&3&lP &7%{_item} in lower case% &aSpawner" with lore "&aLevel &8> &6%{level::%{_loc}%}%" at {_loc}
delete {Sahibi::%{_loc}%}
remove {_loc} from {hologram::*}
delete holo object "%{_loc}%"
delete {item::%{_loc}%}
delete {sp::%{_loc}%::%{_p}%}
send "&b&lZ&a&lS&3&lP &8> &7Spawnerin verildi." to {_p}
else:
drop a mob spawner named "&b&lZ&a&lS&3&lP &7%{_type} in lower case% &aSpawner" at {_loc}
delete {Sahibi::%{_loc}%}
send "&b&lZ&a&lS&3&lP &8> &7Spawnerin verildi." to {_p}
#
# SPAWNERE SAĞ TIKLADIĞINIZDA OLACAKLAR
# SUNUCUNUZA GÖRE RENKLERİ DEĞİŞTİREBİLİRSİNİZ
on right click:
if clicked block is spawner:
if {sp::%targeted block's location%::%player%} is set:
open virtual chest with size 1 named "&b&lZ&6&lSp &8> &7Spawner Menüsü" to player
wait 2 tick
if {level::%location of event-block%} is equal to 5:
make gui slot 1 of player with an experience bottle named "&a&lYükselt" with lore "&7||&7Bu spawner zaten MAX seviyede" to close
else:
make gui slot 1 of player with an experience bottle named "&a&lYükselt" with lore "&7||&7Yükseltince &6%{level1::%location of event-block%}% &7level olucak||&7Yükseltmek için spawneri elinde tutmalısın!||&7Ve &6/yukselt &7yazmalısın!" to close
make gui slot 4 of player with mob spawner named "&b&lBilgi" with lore "&7||&aLevel &8> &6%{level::%location of event-block%}%||&7||&e%{hızz::%player%::%location of event-block%}% &7saniyede &e4 &7 adet çıkartıyor" to close
make gui slot 7 of player with redstone block named "&c&lKapat" to close
else:
send "&b&lZ&a&lS&3&lP &8> &7Spawnerin sahibi &c%{Sahibi::%targeted block's location%}% &7!!" to player
#
# YÜKSELTME SİSTEMİ
# KURCALARSANIZ BOZABİLİRSİNİZ!!
command /Yukselt:
trigger:
if player's tool is spawner:
if {_str::1} parsed as entitytype is set:
send "&b&lZ&a&lS&3&lP &8> &7Bu Spawner Yükseltilemez!!" to player
else if {_str::1} parsed as material is set:
if uncolored lore of player's tool parsed as "Level > %number%" is set:
set {_parse::*} to uncolored lore of player's tool parsed as "Level > %number%"
if {_parse::1} is set:
set {_level} to {_parse::1}
if {_level} isn't 5:
add 1 to {_level}
if {zcoin::%player%} is greater than or equal to {%{_level}%::yükseltme::fiyat}:
remove {%{_level}%::yükseltme::fiyat} from {zcoin::%player%}
remove 1 of player's tool from player
set {_tür} to name of player's tool
give mob spawner named "%{_tür}%" with lore "&aLevel &8> &6%{_level}%" to player
send "&b&lZ&a&lS&3&lP &8> &7Spawneri &6%{_level}% &7Level Yaptın." to player
else:
send "&b&lZ&a&lS&3&lP &8> &7Spawneri yükseltmen için %{%{_level}%::yükseltme::fiyat}% zcoin'in olması lazım!" to player
else:
send "&b&lZ&a&lS&3&lP &8> &7Spawnerin SON Seviye!!" to player
else:
send "&b&lZ&a&lS&3&lP &8> &7Bu Spawner HATALI!!" to player
else:
send "&b&lZ&a&lS&3&lP &8> &7Bu Spawner Yükseltilemez!!" to player
#
# HER 10 DAKİKADA 1 SUNUCUDAKİ AKTİF OLAN SPAWNERLERİ YENİLER
# AKSİ HALDE SUNUCU KAPATILIP AÇILDIĞINDA SUNUCDAKİ TÜM HOLOGRAMLAR YOK OLUR
every 10 minute:
loop {hologram::*}:
delete holo object "%loop-value%"
create holo object "ItemStack:%{item::%loop-value%}%;&7&m----------&7;&aLevel &6%{level::%loop-value%}%;&7&m----------&7" with id "%loop-value%" at block above above loop-value
stop
#
# Bunu fazla kullanmanızı önermem. (yanlış item ismi yazarsanız spawnerler domuz olur)
command /dagıt [<text>]:
aliases: /dağıt
permission: op
trigger:
if arg-1 is set:
give mob spawner named "&b&lZ&a&lS&3&lP &7%arg-1% &aSpawner" with lore "&aLevel &8> &61" to players
broadcast "&b&lZ&a&lS&3&lP &8> &7Yönetici %player% herkeze %arg 1% spawner verdi!!"
else:
send "&b&lZ&a&lS&3&lP &8> &7Bir eşya girmelisin!!" to player
send "&b&lZ&a&lS&3&lP &8> &7ÖRN: iron_ingot!!" to player
#
# Taş kırdığında 0.5 ihtimalle 1 tane Zcoin çıkıyor.
on break of cobblestone:
chance of 0.5%:
add 1 to {zcoin::%player%}
add 1 to {ztoplam::%player%}
send "&b&lZ&3&lCoin &7> &b&lZ&3&lCoin &aBuldunuz Tebrikler!" to player
send "&b&lZ&3&lCoin &7> &8/&3Zcoin &ayazarak Zcoin miktarını öğrenebilirsin!" to player
#
# Zcoin miktarına bakma, öğrenme, verme, alma vb.
# /Zcoin [Coin vereceğiniz kişi] [+/-] [vereceğiniz coin miktarı] ile birine zcoin eklersiniz veya çıkarırsınız.
# /Zcoin [zcoin miktarına bakacağınız kişi] ilede bir kişinin zcoin miktarına bakabilirsiniz.
command /Zcoin [<player>] [<text>] [<integer>]:
trigger:
if player is op:
if arg 1 is not set:
send "&b&lZ&3&lCoin &3> &7Hesabındaki Zcoinin &3? &6%{zcoin::%player%}%" to player
send "&b&lZ&3&lCoin &3> &7Toplam Zcoin miktarın &3? &6%{ztoplam::%player%}%" to player
if arg 1 is set:
if arg 2 is not set:
send "&b&lZ&3&lCoin &3> &7%arg 1% &3> %{zcoin::%arg 1%}% &3> &aZcoini var" to player
if arg 2 is "+":
if arg 3 is not set:
send "&5 =&b_&5=&b_&5=&b_&5=&b_&b&lZ&3&lCoin&5=&b_&5=&b_&5=&b_&5=&b_" to player
send "&b&lZ&3&lCoin &3> &7/Zcoin <İsim> [+/-] <Miktar> &3> &aSeçilen Oyuncuya Zcoin Ekler ya da Zcoinini Silersiniz" to player
send "&b&lZ&3&lCoin &3> &7/Zcoin <Oyuncu> &3> &aIstedigin Oyuncunun Zcoinine Bakabilirsin" to player
if arg 3 is set:
add arg 3 to {zcoin::%arg 1%}
add arg 3 to {ztoplam::%arg 1%}
send "&b&lZ&3&lCoin &3> &6%arg 1% adlı oyuncuya &a%arg 3% &7Zcoin verdin" to player
send "&b&lZ&3&lCoin &3> &6%player% &7adlı yönetici hesabına &a%arg 3% &7Zcoin verdi." to arg 1
if arg 2 is "-":
if arg 3 is not set:
send "&5 =&b_&5=&b_&5=&b_&5=&b_&b&lZ&3&lCoin&5=&b_&5=&b_&5=&b_&5=&b_" to player
send "&b&lZ&3&lCoin &3> &7/zcoin <İsim> [+/-] <Miktar> &3> &aSeçilen Oyuncuya Zcoin Ekler ya da Zcoinini Silersiniz" to player
send "&b&lZ&3&lCoin &3> &7/zcoin <Oyuncu> &3> &aIstedigin Oyuncunun Zcoinine Bakabilirsin" to player
if arg 3 is set:
remove arg 3 from {zcoin::%arg 1%}
send "&b&lZ&3&lCoin &3> &6%arg 1% adlı oyuncuya &a%arg 3% &7Zcoinini aldın" to player
send "&b&lZ&3&lCoin &3> &6%player% &7adlı yönetici hesabından &a%arg 3% &7Zcoinini aldı." to arg 1
if arg 2 is "sil":
if arg 3 is not set:
set {zcoin::%arg 1%} to 0
set {ztoplam::%arg 1%} to 0
send "&b&lZ&3&lCoin &3> &6%arg 1% adlı oyuncuya &a%arg 3% &7Zcoinini aldın" to player
send "&b&lZ&3&lCoin &3> &6%player% &7adlı yönetici hesabından &a%arg 3% &7Zcoinini aldı." to arg 1
if arg 3 is set:
remove arg 3 from {zcoin::%arg 1%}
remove arg 3 from {ztoplam::%arg 1%}
send "&b&lZ&3&lCoin &3> &6%arg 1% adlı oyuncuya &a%arg 3% &7Zcoinini aldın" to player
send "&b&lZ&3&lCoin &3> &6%player% &7adlı yönetici hesabından &a%arg 3% &7Zcoinini aldı." to arg 1
else:
send "&b&lZ&3&lCoin &3> &7Hesabındaki Zcoinin &3? &6%{zcoin::%player%}%" to player
send "&b&lZ&3&lCoin &3> &7Toplam Zcoin miktarın &3? &6%{ztoplam::%player%}%" to player
stop
/Zcoin [Coin vereceğiniz kişi] [+/-] [vereceğiniz coin miktarı] ile birine zcoin eklersiniz veya çıkarırsınız. (sadece op olanlar kullanabilir)
/Zcoin [zcoin miktarına bakacağınız kişi] ilede bir kişinin zcoin miktarına bakabilirsiniz. (sadece op olanlar kullanabilir)
/Zcoin yazarak kendi zcoin miktarına bakabilirsin.(oyuncular dahil herkes kullanabilir)
ZCoin Yerine Para İle Yükseltilebilir Hali:
Para ile yükseltildiği için zcoin sistemi yoktur!!
Kod:
#
# ZeuSpawner
# GELISMIS HOLOGRAMLI VE LEVELLI ITEMSPAWNER
# YAPIMCI: ZeusPro(CengizHan)
#
#
# SPAWNERLERİ İPEKSİ İLE KIRMALARINI İSTİYORSANIZ BURAYI TRUE YAPINIZ!!
#
variables:
# SPAWNERLERİ İPEKSİ İLE KIRMALARINI İSTİYORSANIZ BURAYI TRUE YAPINIZ!!
{ipeksi::*} = true
# LEVELLERİN ZCOİNLERİNİ AYARLAYA BİLİRSİNİZ
{2::yükseltme::fiyat} = 2000 # 2000 para karşılığı 1 level spawneri 2 level yapıyor.
{3::yükseltme::fiyat} = 4000 # 4000 para karşılığı 2 level spawneri 3 level yapıyor.
{4::yükseltme::fiyat} = 7000 # 7000 para karşılığı 3 level spawneri 4 level yapıyor.
{5::yükseltme::fiyat} = 10000 # 10000 para karşılığı 4 level spawneri 5(MAX) level yapıyor.
#
# Burayı Ellemeyin!!
{zcoin::%player%} = 0
{ztoplam::%player%} = 0
#
# SPAWNER VERME KISMI
# BİR KİŞİYE SPAWNER VERMEK İÇİN /Sp [Spawner Türü] [Spawneri Vereceğiniz Kişinin İsmi] [Vereceğiniz Spawner Sayısı]
# ÖRNEĞİN /Sp iron_ingot ZeusPro 2
command /sp [<text>] [<player>] [<number>]:
trigger:
if command sender is op or console:
if arg-1 is set:
if arg 2 is set:
if arg 3 is set:
give arg-3 of mob spawner named "&b&lZ&a&lS&3&lP &7%arg-1% &aSpawner" with lore "&aLevel &8> &61" to arg-2
send "&b&lZ&a&lS&3&lP &8> &5%arg-3% &7%arg-1% &aSpawner Verildi." to arg-2 and sender
else:
give mob spawner named "&b&lZ&a&lS&3&lP &7%arg-1% &aSpawner" with lore "&aLevel &8> &61" to arg-2
send "&b&lZ&a&lS&3&lP &8> &5%arg-3% &7%arg-1% &aSpawner Verildi." to arg-2 and sender
else:
send "&b&lZ&a&lS&3&lP &8> &7Kişi Girmelisiniz." to sender
else:
send "&b&lZ&a&lS&3&lP &8> &7Kullanım &7/&8Sp &7[&fEşya&7] [&aIsim&7] [&aAdet&7]" to sender
else:
send "&b&lZ&a&lS&3&lP &8> &7Bu komutu kullanamazsın." to sender
#
# YERE SPAWNER KOYDUĞUNDA OLACAKLAR
# ELLEMENİZİ TAVSİYE ETMEM
on place:
if event-block is spawner:
if block below event-location isn't slab:
if uncolored name of player's tool parsed as "ZSP %text% Spawner" is set:
set {_str::*} to uncolored name of player's tool parsed as "ZSP %text% Spawner"
if {_str::1} parsed as entitytype is set:
set {Sahibi::%location of event-block%} to player
set {_esya} to "%((first 1 character of {_str::1}) in upper case)%%(last ((length of {_str::1})-1) characters of {_str::1}) in lower case%"
add "{EntityId:""%{_esya}%""}" to nbt of event-block
else if {_str::1} parsed as material is set:
set {_esya} to {_str::1} in lower case
set {Sahibi::%location of event-block%} to player
add location of event-block to {hologram::*}
set {_parsed::*} to uncolored lore of player's tool parsed as "Level > %number%"
set {_hız} to {_parsed::1}
remove 1 from {_hız}
set {level::%location of event-block%} to 1
set {level1::%location of event-block%} to 2
# SPAWNERİN HIZINI BURDAN AYARLIYORSUNUZ!!
# HER İTEM ÇIKARTTIĞINDA 4 TANE BİRDEN ÇIKARTIYOR!!
# ONA GÖRE DÜZENLEYİN VE İSTEDİĞİNİZ ZAMANIN 2x KATINI YAZIN!!
# ÖRNEĞİN şu an 120 YAZIYOR FAKAT 60 SANİYEDE 4 TANE ÇIKARTIYOR!!
set {hız::%player%::%location of event-block%} to 120
#
set {hızz::%player%::%location of event-block%} to 60
add {_hız} to {level::%location of event-block%}
add {_hız} + 1 to {level1::%location of event-block%}
remove {_hız} * 3 from {hız::%player%::%location of event-block%}
if {level::%location of event-block%} is 5:
set {level1::%location of event-block%} to "MAX"
else:
remove {_hız} * 3 from {hızz::%player%::%location of event-block%}
set {item::%location of event-block%} to {_esya}
set {sp::%location of event-block%::%player%} to player
create holo object "ItemStack:%{_esya}%;&7&m----------&7;&aLevel &6%{level::%location of event-block%}%;&7&m----------&7" with id "%location of event-block%" at block above above event-block
add "{EntityId:""Item"",SpawnData:{Item:{id:""minecraft:%{_esya}%"",Count:1b}},SpawnCount:1,SpawnRange:2,RequiredPlayerRange:20,Delay:1,MinSpawnDelay:%{hız::%{_p}%::%{_loc}%}%0,MaxSpawnDelay:%{hızz::%{_p}%::%{_loc}%}%0,MaxNearbyEntities:9999}" to nbt of event-block
send "&b&lZ&a&lS&3&lP &8> &7Spawneri Başarıyla Koydun." to player
else:
send "&b&lZ&a&lS&3&lP &8> &7Spawneri yarım bloğun üzerine koyamazsın." to player
cancel event
#
# SPAWNERİ KIRDIĞINDA OLACAKLAR
# ELLEMENİZİ TAVSİYE ETMEM!!
on break:
if event-block is spawner:
if {ipeksi::*} is true:
if tool of player is any pickaxe of silk touch:
if player is {Sahibi::%event-location%}:
SpKır(player, event-location, nbt of event-block)
else:
send "&b&lZ&a&lS&3&lP &8> &7Spawnerin sahibi &c%{Sahibi::%location of event-block%}% &7!!" to player
if player has permission "op":
SpKır(player, event-location, nbt of event-block)
else:
send "&b&lZ&a&lS&3&lP &8> &7Spawnerin sahibi &c%{Sahibi::%targeted block's location%}% &7!!" to player
cancel event
else:
send "&b&lZ&a&lS&3&lP &8> &7Spawneri kırmak için ipeksi kazmaya ihtiyacın var!!" to player
if player has permission "op":
SpKır(player, event-location, nbt of event-block)
else:
send "&b&lZ&a&lS&3&lP &8> &7Spawneri Kırabilmek İpeksi Kazmaya İhtiyacın Var &7!!" to player
cancel event
else:
if player is {Sahibi::%location of event-block%}:
SpKır(player, event-location, nbt of event-block)
else:
send "&b&lZ&a&lS&3&lP &8> &7Spawnerin sahibi &c%{Sahibi::%location of event-block%}% &7!!" to player
if player has permission "op":
SpKır(player, event-location, nbt of event-block)
else:
send "&b&lZ&a&lS&3&lP &8> &7Spawnerin sahibi &c%{Sahibi::%targeted block's location%}% &7!!" to player
cancel event
function SpKır(p: player, loc: location, nbt: object):
set {_type} to "%nbt tag ""EntityId"" of ({_nbt})%"
replace all """" with "" in {_type}
if {_type} is "Item":
set {_item} to nbt tag "SpawnData" of {_nbt}
set {_item} to nbt tag "Item" of {_item}
set {_item} to "%nbt tag ""id"" of {_item}%"
replace all """" with "" in {_item}
replace all "minecraft:" with "" in {_item}
drop a mob spawner named "&b&lZ&a&lS&3&lP &7%{_item} in lower case% &aSpawner" with lore "&aLevel &8> &6%{level::%{_loc}%}%" at {_loc}
delete {Sahibi::%{_loc}%}
remove {_loc} from {hologram::*}
delete holo object "%{_loc}%"
delete {item::%{_loc}%}
delete {sp::%{_loc}%::%{_p}%}
send "&b&lZ&a&lS&3&lP &8> &7Spawnerin verildi." to {_p}
else:
drop a mob spawner named "&b&lZ&a&lS&3&lP &7%{_type} in lower case% &aSpawner" at {_loc}
delete {Sahibi::%{_loc}%}
send "&b&lZ&a&lS&3&lP &8> &7Spawnerin verildi." to {_p}
#
# SPAWNERE SAĞ TIKLADIĞINIZDA OLACAKLAR
# SUNUCUNUZA GÖRE RENKLERİ DEĞİŞTİREBİLİRSİNİZ
on right click:
if clicked block is spawner:
if {sp::%targeted block's location%::%player%} is set:
open virtual chest with size 1 named "&b&lZ&6&lSp &8> &7Spawner Menüsü" to player
wait 2 tick
if {level::%location of event-block%} is equal to 5:
make gui slot 1 of player with an experience bottle named "&a&lYükselt" with lore "&7||&7Bu spawner zaten MAX seviyede" to close
else:
make gui slot 1 of player with an experience bottle named "&a&lYükselt" with lore "&7||&7Yükseltince &6%{level1::%location of event-block%}% &7level olucak||&7Yükseltmek için spawneri elinde tutmalısın!||&7Ve &6/yukselt &7yazmalısın!" to close
make gui slot 4 of player with mob spawner named "&b&lBilgi" with lore "&7||&aLevel &8> &6%{level::%location of event-block%}%||&7||&e%{hızz::%player%::%location of event-block%}% &7saniyede &e4 &7 adet çıkartıyor" to close
make gui slot 7 of player with redstone block named "&c&lKapat" to close
else:
send "&b&lZ&a&lS&3&lP &8> &7Spawnerin sahibi &c%{Sahibi::%targeted block's location%}% &7!!" to player
#
# YÜKSELTME SİSTEMİ
# KURCALARSANIZ BOZABİLİRSİNİZ!!
command /Yukselt:
trigger:
if player's tool is spawner:
if {_str::1} parsed as entitytype is set:
send "&b&lZ&a&lS&3&lP &8> &7Bu Spawner Yükseltilemez!!" to player
else if {_str::1} parsed as material is set:
if uncolored lore of player's tool parsed as "Level > %number%" is set:
set {_parse::*} to uncolored lore of player's tool parsed as "Level > %number%"
if {_parse::1} is set:
set {_level} to {_parse::1}
if {_level} isn't 5:
add 1 to {_level}
if player's balance is greater than or equal to {%{_level}%::yükseltme::fiyat}:
remove {%{_level}%::yükseltme::fiyat} from player's balance
remove 1 of player's tool from player
set {_tür} to name of player's tool
give mob spawner named "%{_tür}%" with lore "&aLevel &8> &6%{_level}%" to player
send "&b&lZ&a&lS&3&lP &8> &7Spawneri &6%{_level}% &7Level Yaptın." to player
else:
send "&b&lZ&a&lS&3&lP &8> &7Spawneri yükseltmen için %{%{_level}%::yükseltme::fiyat}% zcoin'in olması lazım!" to player
else:
send "&b&lZ&a&lS&3&lP &8> &7Spawnerin SON Seviye!!" to player
else:
send "&b&lZ&a&lS&3&lP &8> &7Bu Spawner HATALI!!" to player
else:
send "&b&lZ&a&lS&3&lP &8> &7Bu Spawner Yükseltilemez!!" to player
#
# HER 10 DAKİKADA 1 SUNUCUDAKİ AKTİF OLAN SPAWNERLERİ YENİLER
# AKSİ HALDE SUNUCU KAPATILIP AÇILDIĞINDA SUNUCDAKİ TÜM HOLOGRAMLAR YOK OLUR
every 10 minute:
loop {hologram::*}:
delete holo object "%loop-value%"
create holo object "ItemStack:%{item::%loop-value%}%;&7&m----------&7;&aLevel &6%{level::%loop-value%}%;&7&m----------&7" with id "%loop-value%" at block above above loop-value
stop
#
# Bunu fazla kullanmanızı önermem. (yanlış item ismi yazarsanız spawnerler domuz olur)
command /dagıt [<text>]:
aliases: /dağıt
permission: op
trigger:
if arg-1 is set:
give mob spawner named "&b&lZ&a&lS&3&lP &7%arg-1% &aSpawner" with lore "&aLevel &8> &61" to players
broadcast "&b&lZ&a&lS&3&lP &8> &7Yönetici %player% herkeze %arg 1% spawner verdi!!"
else:
send "&b&lZ&a&lS&3&lP &8> &7Bir eşya girmelisin!!" to player
send "&b&lZ&a&lS&3&lP &8> &7ÖRN: iron_ingot!!" to player
#
# Taş kırdığında 0.5 ihtimalle 1 tane Zcoin çıkıyor.
on break of cobblestone:
chance of 0.5%:
add 1 to {zcoin::%player%}
add 1 to {ztoplam::%player%}
send "&b&lZ&3&lCoin &7> &b&lZ&3&lCoin &aBuldunuz Tebrikler!" to player
send "&b&lZ&3&lCoin &7> &8/&3Zcoin &ayazarak Zcoin miktarını öğrenebilirsin!" to player
Yükseltme sistemi olmadığı için zcoin sistemide yoktur!!
Kod:
#
# ZeuSpawner
# GELISMIS HOLOGRAMLI VE LEVELLI ITEMSPAWNER
# YAPIMCI: ZeusPro(CengizHan)
#
#
# SPAWNERLERİ İPEKSİ İLE KIRMALARINI İSTİYORSANIZ BURAYI TRUE YAPINIZ!!
#
variables:
# SPAWNERLERİ İPEKSİ İLE KIRMALARINI İSTİYORSANIZ BURAYI TRUE YAPINIZ!!
{ipeksi::*} = true
#
# SPAWNER VERME KISMI
# BİR KİŞİYE SPAWNER VERMEK İÇİN /Sp [Spawner Türü] [Spawneri Vereceğiniz Kişinin İsmi] [Vereceğiniz Spawner Sayısı]
# ÖRNEĞİN /Sp iron_ingot ZeusPro 2
command /sp [<text>] [<player>] [<number>]:
trigger:
if command sender is op or console:
if arg-1 is set:
if arg 2 is set:
if arg 3 is set:
give arg-3 of mob spawner named "&b&lZ&a&lS&3&lP &7%arg-1% &aSpawner" to arg-2
send "&b&lZ&a&lS&3&lP &8> &5%arg-3% &7%arg-1% &aSpawner Verildi." to arg-2 and sender
else:
give mob spawner named "&b&lZ&a&lS&3&lP &7%arg-1% &aSpawner" to arg-2
send "&b&lZ&a&lS&3&lP &8> &5%arg-3% &7%arg-1% &aSpawner Verildi." to arg-2 and sender
else:
send "&b&lZ&a&lS&3&lP &8> &7Kişi Girmelisiniz." to sender
else:
send "&b&lZ&a&lS&3&lP &8> &7Kullanım &7/&8Sp &7[&fEşya&7] [&aIsim&7] [&aAdet&7]" to sender
else:
send "&b&lZ&a&lS&3&lP &8> &7Bu komutu kullanamazsın." to sender
#
# YERE SPAWNER KOYDUĞUNDA OLACAKLAR
# ELLEMENİZİ TAVSİYE ETMEM
on place:
if event-block is spawner:
if block below event-location isn't slab:
if uncolored name of player's tool parsed as "ZSP %text% Spawner" is set:
set {_str::*} to uncolored name of player's tool parsed as "ZSP %text% Spawner"
if {_str::1} parsed as entitytype is set:
set {Sahibi::%location of event-block%} to player
set {_esya} to "%((first 1 character of {_str::1}) in upper case)%%(last ((length of {_str::1})-1) characters of {_str::1}) in lower case%"
add "{EntityId:""%{_esya}%""}" to nbt of event-block
else if {_str::1} parsed as material is set:
set {_esya} to {_str::1} in lower case
set {Sahibi::%location of event-block%} to player
add location of event-block to {hologram::*}
# SPAWNERİN HIZINI BURDAN AYARLIYORSUNUZ!!
# HER İTEM ÇIKARTTIĞINDA 4 TANE BİRDEN ÇIKARTIYOR!!
# ONA GÖRE DÜZENLEYİN VE İSTEDİĞİNİZ ZAMANIN 2x KATINI YAZIN!!
# ÖRNEĞİN şu an 120 YAZIYOR FAKAT 60 SANİYEDE 4 TANE ÇIKARTIYOR!!
set {hız::%player%::%location of event-block%} to 120
#
set {item::%location of event-block%} to {_esya}
create holo object "ItemStack:%{_esya}%;&7&m----------&7;&aLevel &6%{level::%location of event-block%}%;&7&m----------&7" with id "%location of event-block%" at block above above event-block
add "{EntityId:""Item"",SpawnData:{Item:{id:""minecraft:%{_esya}%"",Count:1b}},SpawnCount:1,SpawnRange:2,RequiredPlayerRange:20,Delay:1,MinSpawnDelay:%{hız::%{_p}%::%{_loc}%}%0,MaxSpawnDelay:%{hızz::%{_p}%::%{_loc}%}%0,MaxNearbyEntities:9999}" to nbt of event-block
send "&b&lZ&a&lS&3&lP &8> &7Spawneri Başarıyla Koydun." to player
else:
send "&b&lZ&a&lS&3&lP &8> &7Spawneri yarım bloğun üzerine koyamazsın." to player
cancel event
#
# SPAWNERİ KIRDIĞINDA OLACAKLAR
# ELLEMENİZİ TAVSİYE ETMEM!!
on break:
if event-block is spawner:
if {ipeksi::*} is true:
if tool of player is any pickaxe of silk touch:
if player is {Sahibi::%event-location%}:
SpKır(player, event-location, nbt of event-block)
else:
send "&b&lZ&a&lS&3&lP &8> &7Spawnerin sahibi &c%{Sahibi::%location of event-block%}% &7!!" to player
if player has permission "op":
SpKır(player, event-location, nbt of event-block)
else:
send "&b&lZ&a&lS&3&lP &8> &7Spawnerin sahibi &c%{Sahibi::%targeted block's location%}% &7!!" to player
cancel event
else:
send "&b&lZ&a&lS&3&lP &8> &7Spawneri kırmak için ipeksi kazmaya ihtiyacın var!!" to player
if player has permission "op":
SpKır(player, event-location, nbt of event-block)
else:
send "&b&lZ&a&lS&3&lP &8> &7Spawneri Kırabilmek İpeksi Kazmaya İhtiyacın Var &7!!" to player
cancel event
else:
if player is {Sahibi::%location of event-block%}:
SpKır(player, event-location, nbt of event-block)
else:
send "&b&lZ&a&lS&3&lP &8> &7Spawnerin sahibi &c%{Sahibi::%location of event-block%}% &7!!" to player
if player has permission "op":
SpKır(player, event-location, nbt of event-block)
else:
send "&b&lZ&a&lS&3&lP &8> &7Spawnerin sahibi &c%{Sahibi::%targeted block's location%}% &7!!" to player
cancel event
function SpKır(p: player, loc: location, nbt: object):
set {_type} to "%nbt tag ""EntityId"" of ({_nbt})%"
replace all """" with "" in {_type}
if {_type} is "Item":
set {_item} to nbt tag "SpawnData" of {_nbt}
set {_item} to nbt tag "Item" of {_item}
set {_item} to "%nbt tag ""id"" of {_item}%"
replace all """" with "" in {_item}
replace all "minecraft:" with "" in {_item}
drop a mob spawner named "&b&lZ&a&lS&3&lP &7%{_item} in lower case% &aSpawner" at {_loc}
delete {Sahibi::%{_loc}%}
remove {_loc} from {hologram::*}
delete holo object "%{_loc}%"
delete {item::%{_loc}%}
delete {sp::%{_loc}%::%{_p}%}
send "&b&lZ&a&lS&3&lP &8> &7Spawnerin verildi." to {_p}
else:
drop a mob spawner named "&b&lZ&a&lS&3&lP &7%{_type} in lower case% &aSpawner" at {_loc}
delete {Sahibi::%{_loc}%}
send "&b&lZ&a&lS&3&lP &8> &7Spawnerin verildi." to {_p}
#
# HER 10 DAKİKADA 1 SUNUCUDAKİ AKTİF OLAN SPAWNERLERİ YENİLER
# AKSİ HALDE SUNUCU KAPATILIP AÇILDIĞINDA SUNUCDAKİ TÜM HOLOGRAMLAR YOK OLUR
every 10 minute:
loop {hologram::*}:
delete holo object "%loop-value%"
create holo object "ItemStack:%{item::%loop-value%}%;&7&m----------&7;&aLevel &6%{level::%loop-value%}%;&7&m----------&7" with id "%loop-value%" at block above above loop-value
stop
#
# Bunu fazla kullanmanızı önermem. (yanlış item ismi yazarsanız spawnerler domuz olur)
command /dagıt [<text>]:
aliases: /dağıt
permission: op
trigger:
if arg-1 is set:
give mob spawner named "&b&lZ&a&lS&3&lP &7%arg-1% &aSpawner" with lore "&aLevel &8> &61" to players
broadcast "&b&lZ&a&lS&3&lP &8> &7Yönetici %player% herkeze %arg 1% spawner verdi!!"
else:
send "&b&lZ&a&lS&3&lP &8> &7Bir eşya girmelisin!!" to player
send "&b&lZ&a&lS&3&lP &8> &7ÖRN: iron_ingot!!" to player
#
# Taş kırdığında 0.5 ihtimalle 1 tane Zcoin çıkıyor.
on break of cobblestone:
chance of 0.5%:
add 1 to {zcoin::%player%}
add 1 to {ztoplam::%player%}
send "&b&lZ&3&lCoin &7> &b&lZ&3&lCoin &aBuldunuz Tebrikler!" to player
send "&b&lZ&3&lCoin &7> &8/&3Zcoin &ayazarak Zcoin miktarını öğrenebilirsin!" to player
Son düzenleme: