traskrow41
# __ __ ____ ____ #
# | \/ | __ ) | __ ) #
# | |\/| | _ \ | _ \ #
# | | | | |_) || |_) | #
# |_| |_|____/ |____/ #
# #
# ########################################################################## #
# #
# Bilgi: Bu Skript Tamamen MBB_Oyun2'ye Aittir! #
# Uyarı: Paylaşılması Yasaktır! #
# Skript Sürümü: Json-Menülü Event Yapma Skripti V1.3.3 #
# Skript Detayı: #
# #
# ########################################################################## #
options:
skript: &bJson-Menülü Event Yapma Skripti
sürüm: &eSürüm: &cv1.3.3
on load:
set {eventdevam} to true
delete {event}
on join:
if player have permission "event.admin":
set {eventgir1::%player%} to false
set {eventgir2::%player%} to false
set {eventgir3::%player%} to false
command /event [<text>] [<text>]:
permission:event.admin
permission message:&7[&6+&7] &4Bunun için yetkin yok.
trigger:
if arg 1 is not set:
if arg 2 is not set:
if {ilk} is false:
send " " to player
send json of " &8» &bÖnerilen Ayarlar &8« " tooltip "&b» &eTıkla" run "/event ayarlar önerilen" to player
send " " to player
send json of "&8» &aManuel Ayarlar (Önerilmez) &8«" tooltip "&b» &eTıkla" run "/event ayarlar kurulum" to player
send " " to player
stop
if {json} is true:
send "&b&m=========&6&lEvent&b&m========="
send json of " &a%{event1}% Event " tooltip "&b» &eTıkla" run "/event event1" to player
send " " to player
send json of " &b%{event2}% Event " tooltip "&b» &eTıkla" run "/event event2" to player
send " " to player
send json of " &d%{event3}% Event " tooltip "&b» &eTıkla" run "/event event3" to player
send " " to player
send json of " &6Oto Event " tooltip "&b» &eTıkla" run "/event otoevent" to player
send " " to player
send json of " &cAyarlar " tooltip "&b» &eTıkla" run "/event ayarlar" to player
send "&b&m=========&6&lEvent&b&m========="
stop
if {menü} is true:
open chest with 3 rows named "&b&lEvent" to player
wait 3 tick
format slot 18 of player with nether star named "{@skript}" with lore "{@sürüm}" to be unstealable
format slot 10 of player with diamond named "&a&l%{event1}% Event" with lore "&b» &eTıkla" to close then run [execute player command "event event1"]
format slot 12 of player with diamond ore named "&b&l%{event2}% Event" with lore "&b» &eTıkla" to close then run [execute player command "event event2"]
format slot 14 of player with diamond block named "&d&l%{event3}% Event" with lore "&b» &eTıkla" to close then run [execute player command "event event3"]
format slot 16 of player with gold ingot named "&6&lOto Event" with lore "&b» &eTıkla" to close then run [execute player command "event otoevent"]
format slot 26 of player with command block named "&c&lAyarlar" with lore "&b» &eBas ve Ayarlara Git." to run [execute player command "event ayarlar"]
wait 1 tick
stop
if arg 1 is "ayarlar":
if arg 2 is not set:
open chest with 3 rows named "&b&lEvent &c&lAyarlar" to player
wait 3 tick
format slot 4 of player with beacon named "&b&lÖnerilen Ayarlar" with lore "&b» &eBas ve Önerilen ayarları seç." to close then run [execute player command "event ayarlar önerilen"]
format slot 18 of player with nether star named "{@skript}" with lore "{@sürüm}" to be unstealable
format slot 11 of player with emerald block named "&a&lMod Değiştirme" with lore "&a» &eMod değiştirmek için tıkla." to run [execute player command "event ayarlar mod"]
format slot 13 of player with gold ingot named "&b&lBilgi" with lore "&b» &eBas ve Bilgileri gör." to close then run [execute player command "event bilgi"]
format slot 15 of player with green wool named "&b&lEvent Ad Değiştirme" with lore "&a» &eEvent Adı değiştirmek için tıkla." to run [execute player command "event ayarlar eventadı"]
format slot 22 of player with redstone named "&cAyarları Sıfırla" with lore "&b» &eBas ve Ayarları Sıfırla." to close then run [execute player command "event ayarlar sıfırla"]
format slot 26 of player with redstone block named "&cGeri Dön!" with lore "&b» &eBas ve Evente geri dön." to run [execute player command "event"]
wait 1 tick
stop
if arg 2 is "önerilen":
set {menü} to true
set {json} to false
set {ilk} to true
set {mod} to "&6Menü"
set {event1} to "Sky"
set {event2} to "Özel"
set {event3} to "Nadir"
send "&a» &eÖnerilen Ayarlara geçilmiştir." to player
send "&a» &eAyarları görmek için &c/event bilgi" to player
wait 0.75 seconds
execute player command "event"
stop
if arg 2 is "kurulum":
send " " to player
send " &c- &4! &aKurulum Rehberi &4! &c-" to player
send "&4» &710 Saniye sonra açılacak menüden ayarlarınızı yapabilirsiniz." to player
send json of "&8» &7Tavsiye edilen ayarları yapmak için &4<IKLA&7." tooltip "&b» &eTıkla" run "/event ayarlar önerilen" to player
send "&4» &7Ayarları her an değiştirmek için &c/event ayarlar &7yazabilirsiniz." to player
send "&8» &7Eventin adları otomatik olarak seçilir kendiniz değiştirebilirsiniz." to player
send "&4» &7Detaylı rehber için; &c/" to player
send " &c- &4! &aKurulum Rehberi &4! &c-" to player
send " " to player
set {event1} to "1."
set {event2} to "2."
set {event3} to "3."
wait 10 seconds
execute player command "/event ayarlar"
stop
if arg 2 is "event1":
if {eventgir1::%player%} is not set:
set {eventgir1::%player%} to true
send ""
send "&eLütfen &c15 saniye &eiçerisinde sohbete &c1. eventin &eadını girin!"
send "&eİptal etmek için '&c-&e' yazınız."
send ""
wait 15 second
delete {eventgir1::%player%}
else:
delete {eventgir1::%player%}
execute player command "event ayarlar event1"
send json of "&4» &eBu bir hata ise tıklayınız." tooltip "&b» &eTıkla" run "/event fix" to player
stop
if arg 2 is "event2":
if {eventgir2::%player%} is not set:
set {eventgir2::%player%} to true
send ""
send "&eLütfen &c15 saniye &eiçerisinde sohbete &c2. eventin &eadını girin!"
send "&eİptal etmek için '&c-&e' yazınız."
send ""
wait 15 second
delete {eventgir2::%player%}
else:
delete {eventgir2::%player%}
execute player command "event ayarlar event2"
send json of "&4» &eBu bir hata ise tıklayınız." tooltip "&b» &eTıkla" run "/event fix" to player
stop
if arg 2 is "event3":
if {eventgir3::%player%} is not set:
set {eventgir3::%player%} to true
send ""
send "&eLütfen &c15 saniye &eiçerisinde sohbete &c3. eventin &eadını girin!"
send "&eİptal etmek için '&c-&e' yazınız."
send ""
wait 15 second
delete {eventgir3::%player%}
else:
delete {eventgir3::%player%}
execute player command "event ayarlar event3"
send json of "&4» &eBu bir hata ise tıklayınız." tooltip "&b» &eTıkla" run "/event fix" to player
stop
if arg 2 is "mod":
open chest with 3 rows named "&b&lEvent &c&lMod" to player
wait 3 tick
format slot 18 of player with nether star named "{@skript}" with lore "{@sürüm}" to be unstealable
format slot 11 of player with emerald block named "&aJson Event Mod" with lore "&a» &eBas ve &aJson Event Mod&ea Gir." to close then run [execute player command "event ayarlar json"]
format slot 13 of player with gold ingot named "&b&lBilgi" with lore "&b» &eBas ve Bilgileri gör." to close then run [execute player command "event bilgi"]
format slot 15 of player with diamond block named "&6Menülü Event Mod" with lore "&b» &eBas ve &6Menülü Event Mod&ea Gir." to close then run [execute player command "event ayarlar menü"]
format slot 22 of player with redstone named "&cMod Ayarlarını Sıfırla" with lore "&b» &eBas ve Ayarları Sıfırla." to close then run [execute player command "event ayarlar modsıfırla"]
format slot 26 of player with redstone block named "&cGeri Dön!" with lore "&b» &eBas ve Ayarlara geri dön." to run [execute player command "event ayarlar"]
wait 1 tick
stop
if arg 2 is "eventadı":
open chest with 3 rows named "&b&lEvent &c&lAdı Değiştirme" to player
wait 3 tick
format slot 18 of player with nether star named "{@skript}" with lore "{@sürüm}" to be unstealable
format slot 11 of player with diamond named "&a%{event1}% Event" with lore "&b» &eTıklayarak &a%{event1}% Event&ein adını ayarlayabilirsin." to close then run [execute player command "event ayarlar event1"]
format slot 13 of player with diamond ore named "&b%{event2}% Event" with lore "&b» &eTıklayarak &b%{event2}% Event&ein adını ayarlayabilirsin." to close then run [execute player command "event ayarlar event2"]
format slot 15 of player with diamond block named "&d%{event3}% Event" with lore "&b» &eTıklayarak &d%{event3}% Event&ein adını ayarlayabilirsin." to close then run [execute player command "event ayarlar event3"]
format slot 22 of player with redstone named "&cEvent Adlarını Sıfırla" with lore "&b» &eBas ve Ayarları Sıfırla." to close then run [execute player command "event ayarlar eventadısıfırla"]
format slot 26 of player with redstone block named "&cGeri Dön!" with lore "&b» &eBas ve Ayarlara geri dön." to run [execute player command "event ayarlar"]
wait 1 tick
stop
if arg 2 is "json":
set {json} to true
send "&a» &eBaşarılı bir şekilde event şekliniz &ajson &eolarak seçildi." to player
send "&a» &eEvent yapmak için &c/event" to player
send json of "&a» &eEvent yapma şeklini tekrar değiştirmek için &c/event ayarlar &eyazınız. &4&lTIKLA!" tooltip "&b» &eTıkla" run "/event ayarlar" to player
set {menü} to false
set {ilk} to true
set {mod} to "&aJson"
wait 0.75 seconds
execute player command "event ayarlar mod"
stop
if arg 2 is "menü":
set {menü} to true
send "&a» &eBaşarılı bir şekilde event şekliniz &6menü &eolarak seçildi." to player
send "&a» &eEvent yapmak için &c/event" to player
send json of "&a» &eEvent yapma şeklini tekrar değiştirmek için &c/event ayarlar &eyazınız. &4&lTIKLA!" tooltip "&b» &eTıkla" run "/event ayarlar" to player
set {json} to false
set {ilk} to true
set {mod} to "&6Menü"
wait 0.75 seconds
execute player command "event ayarlar mod"
stop
if arg 2 is "sıfırla":
set {ilk} to false
set {json} to false
set {menü} to false
set {mod} to "&cBelirsiz."
set {event1} to "1."
set {event2} to "2."
set {event3} to "3."
send "&a» &eBaşarılı bir şekilde tüm event ayarlarınız sıfırlandı." to player
send "&a» &eTüm ayarları yapmak için &c/event ayarlar" to player
wait 0.75 seconds
execute player command "event ayarlar"
stop
if arg 2 is "modsıfırla":
set {ilk} to false
set {json} to false
set {menü} to false
set {mod} to "&cBelirsiz."
send "&a» &eBaşarılı bir şekilde event şekliniz sıfırlandı." to player
send json of "&a» &eEvent yapma şeklini değiştirmek için &c/event ayarlar &eyazınız. &4&lTIKLA!" tooltip "&b» &eTıkla" run "/event ayarlar" to player
wait 0.75 seconds
execute player command "event ayarlar mod"
stop
if arg 2 is "eventadısıfırla":
set {event1} to "1."
set {event2} to "2."
set {event3} to "3."
send "&a» &eBaşarılı bir şekilde event adlarınız sıfırlandı." to player
send "&a» &eEvent adını değiştirmek için &c/event ayarlar" to player
wait 0.75 seconds
execute player command "event ayarlar eventadı"
stop
if arg 1 is "iptal":
if arg 2 is not set:
if {event} is set:
send "&a» &eBaşarılı bir şekilde Event iptal edildi." to player
send "&a» &eNot: &cEvent sayı saymaya devam edebilir ama item vermez." to player
send json of "&a» &eEventi fixlemek için &4&lTIKLA!" tooltip "&b» &eTıkla" run "/event fix" to player
set {eventdevam} to false
else:
send "&c» &eŞu an devam eden bir event yok." to player
stop
if arg 1 is "fix":
if arg 2 is not set:
send "&8» &eEvent fixleniyor... 5 saniye bekleyiniz." to player
wait 5 second
set {eventdevam} to true
delete {event}
delete {eventgir1::%player%}
delete {eventgir2::%player%}
delete {eventgir3::%player%}
send "&a» &eBaşarılı bir şekilde Event fixlendi." to player
stop
if arg 1 is "bilgi":
if arg 2 is not set:
send " " to player
send "&8» &eMod: %{mod}%" to player
send "&8» &eEvent Adları: &a%{event1}% Event&e, &b%{event2}% Event&e, &d%{event3}% Event" to player
send " " to player
stop
if arg 1 is "help", "yardım", "?" or "yardim":
if arg 2 is not set:
send "&c&m---------&c»&7&lHelp&c«&c&m---------" to player
send "&4» &c/event ayarlar &7Eventi kendinize göre ayarlar." to player
send "&8» &c/event bilgi &7Eventin ayarlarını gösterir." to player
send "&4» &c/event yardım &7Event ile ilgili bilgiler verir." to player
send "&8» &c/event iptal &7Eventi iptal eder." to player
send "&4» &c/event fix &7Event bug'a girmişse fixler." to player
send "&8» &c/event &7Event yerini açar." to player
send "&c&m---------&c»&7&lHelp&c«&c&M---------" to player
stop
if arg 1 is "event1":
if arg 2 is not set:
if {event} is not set:
set {event} to true
send json of "&c» &eEventi iptal etmek için &4&lTIKLA!" tooltip "&b» &eTıkla" run "/event iptal" to player
loop all players:
send loop-player title "&c%{event1}% Event" with subtitle "&c&l%player% &bAdlı Yetkili Tarafından &c%{event1}% Event &bBaşlatıldı!" for 5 second
wait 5 second
set {_seconds} to 10
loop 10 times:
loop all players:
send loop-player title "&c%{event1}% Event" with subtitle "&bSon &c%{_seconds}% &bsaniye" for 1 second
wait 1 second
remove 1 from {_seconds}
else:
send "&7[&6+&7] &4Şu an bir event devam ediyor zaten."
send json of "&c» &eHata ise &4&lTIKLA!" tooltip "&b» &eTıkla" run "/event fix" to player
stop
if {eventdevam} is true:
wait 1 second
broadcast "&b» &bElmas Bloklar Dağıtılıyor"
give 192 diamond block to players
wait 1 second
broadcast "&b» &6Altın Bloklar Dağıtılıyor"
give 192 gold block to players
wait 1 second
broadcast "&b» &fDemir Bloklar Dağıtılıyor"
give 192 iron block to players
wait 3 second
loop all players:
send loop-player title "&c%{event1}% Event &bBitmiştir!" with subtitle "&cİyi Oyunlar!"
delete {event}
else:
send players title "&c%{event1}% Event" with subtitle "&cİptal Edildi!"
delete {event}
set {eventdevam} to true
stop
if arg 1 is "event2":
if arg 2 is not set:
if {event} is not set:
set {event} to true
send json of "&c» &eEventi iptal etmek için &4&lTIKLA!" tooltip "&b» &eTıkla" run "/event iptal" to player
loop all players:
send loop-player title "&c%{event2}% Event" with subtitle "&c&l%player% &bAdlı Yetkili Tarafından &c%{event2}% Event &bBaşlatıldı!" for 5 second
wait 5 second
set {_seconds} to 10
loop 10 times:
loop all players:
send loop-player title "&c%{event2}% Event" with subtitle "&bSon &c%{_seconds}% &bsaniye" for 1 second
wait 1 second
remove 1 from {_seconds}
else:
send "&7[&6+&7] &4Şu an bir event devam ediyor zaten."
send json of "&c» &eHata ise &4&lTIKLA!" tooltip "&b» &eTıkla" run "/event fix" to player
stop
if {eventdevam} is true:
wait 1 second
broadcast "&b» &bElmas Bloklar Dağıtılıyor"
give 256 diamond block to players
wait 1 second
broadcast "&b» &6Altın Bloklar Dağıtılıyor"
give 256 gold block to players
wait 1 second
broadcast "&b» &fDemir Bloklar Dağıtılıyor"
give 256 iron block to players
wait 3 second
loop all players:
send loop-player title "&c%{event2}% Event &bBitmiştir!" with subtitle "&cİyi Oyunlar!"
delete {event}
else:
send players title "&c%{event2}% Event" with subtitle "&cİptal Edildi!"
delete {event}
set {eventdevam} to true
stop
if arg 1 is "event3":
if arg 2 is not set:
if {event} is not set:
set {event} to true
send json of "&c» &eEventi iptal etmek için &4&lTIKLA!" tooltip "&b» &eTıkla" run "/event iptal" to player
loop all players:
send loop-player title "&c%{event3}% Event" with subtitle "&c&l%player% &bAdlı Yetkili Tarafından &c%{event3}% Event &bBaşlatıldı!" for 5 second
wait 5 second
set {_seconds} to 10
loop 10 times:
loop all players:
send loop-player title "&c%{event3}% Event" with subtitle "&bSon &c%{_seconds}% &bsaniye" for 1 second
wait 1 second
remove 1 from {_seconds}
else:
send "&7[&6+&7] &4Şu an bir event devam ediyor zaten."
send json of "&c» &eHata ise &4&lTIKLA!" tooltip "&b» &eTıkla" run "/event fix" to player
stop
if {eventdevam} is true:
wait 1 second
broadcast "&b» &bElmas Bloklar Dağıtılıyor"
give 320 diamond block to players
wait 1 second
broadcast "&b» &6Altın Bloklar Dağıtılıyor"
give 320 gold block to players
wait 1 second
broadcast "&b» &fDemir Bloklar Dağıtılıyor"
give 320 iron block to players
wait 3 second
loop all players:
send loop-player title "&c%{event3}% Event &bBitmiştir!" with subtitle "&cİyi Oyunlar!"
delete {event}
else:
send players title "&c%{event3}% Event" with subtitle "&cİptal Edildi!"
delete {event}
set {eventdevam} to true
stop
if arg 1 is "otoevent":
if arg 2 is not set:
if {event} is not set:
set {event} to true
send json of "&c» &eEventi iptal etmek için &4&lTIKLA!" tooltip "&b» &eTıkla" run "/event iptal" to player
loop all players:
send loop-player title "&cOto Event" with subtitle "&c&lCONSOLE &bTarafından &cOto Event &bBaşlatıldı!" for 5 second
wait 5 second
set {_seconds} to 5
loop 5 times:
loop all players:
send loop-player title "&cOto Event" with subtitle "&bSon &c%{_seconds}% &bsaniye" for 1 second
wait 1 second
remove 1 from {_seconds}
else:
send "&7[&6+&7] &4Şu an bir event devam ediyor zaten."
send json of "&c» &eHata ise &4&lTIKLA!" tooltip "&b» &eTıkla" run "/event fix" to player
stop
if {eventdevam} is true:
wait 1 second
broadcast "&b» &bElmas Bloklar Dağıtılıyor"
give 8 diamond block to players
wait 1 second
broadcast "&b» &6Altın Bloklar Dağıtılıyor"
give 8 gold block to players
wait 1 second
broadcast "&b» &fDemir Bloklar Dağıtılıyor"
give 8 iron block to players
wait 3 second
loop all players:
send loop-player title "&cOto Event &bBitmiştir!" with subtitle "&cİyi Oyunlar!"
delete {event}
else:
send players title "&cOto Event" with subtitle "&cİptal Edildi!"
delete {event}
set {eventdevam} to true
stop
on chat:
if {eventgir1::%player%} is true:
cancel event
if message is not "-":
set {event1} to colored message
send ""
send "&a» &e1. Event adı (&a%{event1}% Event&e) başarıyla ayarlandı."
send ""
delete {eventgir1::%player%}
wait 0.75 seconds
execute player command "event ayarlar eventadı"
else:
delete {eventgir1::%player%}
send ""
send "&c» &eBaşarıyla iptal ettiniz."
send ""
wait 0.75 seconds
execute player command "event ayarlar eventadı"
stop
on chat:
if {eventgir2::%player%} is true:
cancel event
if message is not "-":
set {event2} to colored message
send ""
send "&a» &e2. Event adı (&b%{event2}% Event&e) başarıyla ayarlandı."
send ""
delete {eventgir2::%player%}
wait 0.75 seconds
execute player command "event ayarlar eventadı"
else:
delete {eventgir2::%player%}
send ""
send "&c» &eBaşarıyla iptal ettiniz."
send ""
wait 0.75 seconds
execute player command "event ayarlar eventadı"
stop
on chat:
if {eventgir3::%player%} is true:
cancel event
if message is not "-":
set {event3} to colored message
send ""
send "&a» &e3. Event adı (&d%{event3}% Event&e) başarıyla ayarlandı."
send ""
delete {eventgir3::%player%}
wait 0.75 seconds
execute player command "event ayarlar eventadı"
else:
delete {eventgir3::%player%}
send ""
send "&c» &eBaşarıyla iptal ettiniz."
send ""
wait 0.75 seconds
execute player command "event ayarlar eventadı"
stop
every 15 minutes:
broadcast "&c» &eSkript yapımcısı &bMBB_Oyun2&e'dir."
broadcast "&c» &eGüncellemeler için &c[ Forum/Event Skripti]"
every 60 minutes:
execute console command "event otoevent"
Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!