Bulundu Oto Event

  • Konuyu Başlatan Konuyu Başlatan GrahambeLL
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 1.225
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

GrahambeLL

Koydum Çalışma Masasını
Katılım
21 Mart 2017
Mesajlar
72
Elmaslar
4
Puan
0
Yaş
24
belirlenen saatlerde oyuncuları yine belirlenen yere çekip belirlenen saat yada dakika boyunca orada tutup gökten birşeyler yağdıran sure bitince herkesi spawn a atan bir plugin varmı :D
niye çok şey istiyorum gibi geliyor[DOUBLEPOST=1493575890,1493575837][/DOUBLEPOST]Ekleme once belirtilen yere sonra spawn a çekilmesi daha iyi olur /back yazamazlar
 
Kod:
#Kodlama; smt287
#MC-TR.com
#EventSk
#Sürüm 1.0 (canım sıkılınca üstüne bişeyler eklerim belki)

command /event [<text>] [<text>]:
    permission: sk.admin
    permission message: &cBunu yapmak için yetkin yok!
    trigger:
        if arg 1 is not set:
            send " &7> &6/event yerayarla &r- &eevent yerini ayarlar"
            send " &7> &6/event spawnayarla &r- &espawn yerini ayarlar"
            send " &7> &6/event saatayarla <saat> &r- &eevent saat(ler)ini ayarlar"
            send " &7> &6Örnek Saat;&r12:00 - 13:00 - 15:40 - 23:59"
            send " &7> &6/event saatleri &r- &eevent saatlerini gösterir"
            send " &7> &6/event baslat &r- &eeventi başlatır"
        if arg 1 is "yerayarla":
            set {event} to location of player
            execute player command "rain add EVENT"
            send " &7> &aEvent yeri başarıyla ayarlandı!"
        if arg 1 is "saatayarla":
            execute player command "tce set %arg 2%:00 event baslat"
            add arg-2 to {eventsaatleri::*}
            send " &7> &aEvent saati başarıyla ayarlandı!"
            send " &7> &aEvent Saati;&9 %arg 2%"
        if arg 1 is "saatler":
            send "&7> &6Event Saatleri:"
            set {_esn} to 1
            loop {eventsaatleri::*}:
                set {esn.%loop-value%} to {_esn}
                send "%{esn.%loop-value%}%. %loop-value%"
                add 1 to {_esn}
        if arg 1 is "spawnayarla":
            set {spawn} to location of player
            send " &7> &aSpawn yeri başarıyla ayarlandı!"
        if arg 1 is "baslat":
            broadcast " &7> &aEvent 1 dakika içinde başlayacaktır!"
            broadcast " &7> &aEvent başladığında event alanına otomatik olarak çekileceksiniz!"
            wait 1 minute
            set {eventbasladi} to true
            loop all players:
                teleport loop-player to {event}
            broadcast " &7> &aEvent başladı!"
            broadcast " &7> &aEvent 3 dakika içinde bitecektir!"
            execute console command "rain diamond EVENT"
            wait 30 second
            execute console command "rain goldingot EVENT"
            wait 30 second
            execute console command "rain ironingot EVENT"
            wait 30 second
            execute console command "rain emerald EVENT"
            wait 30 second
            execute console command "rain redstone EVENT"
            wait 30 second
            execute console command "rain diamond EVENT"
            wait 30 second
            execute console command "rain goldenapple EVENT"
            delete {eventbasladi}
            broadcast " &7> &aEvent bitmiştir, iyi oyunlar!"
            loop all players:
                teleport loop-player to {spawn}
                wait 0.5 second
                teleport loop-player to {spawn}
                
on command:
    if {eventbasladi} is true:
        command is not "login"
        command is not "register"
        command is not "kayitol"
        command is not "kayit"
        command is not "l"
        command is not "giris"
        command is not "heal"
        command is not "feed"
        if player doesn't have the permission "sk.admin":
            cancel event
            send " &7> &cEventte iken komut kullanamazsın!"
            
on join:
    if {eventbasladi} is true:
        if player doesn't have the permission "sk.admin":
            send " &7> &aEvent aktif olduğu için event alanına yönlendiriliyorsunuz..."
            teleport player to {event}
            wait 2 second
            teleport player to {event}
            
on region exit:
    if "%region at player%" contains "event":
        if player doesn't have the permission "sk.admin":
            teleport player to {event}
            send " &7> &cEvent devam ederken, event alanından ayrılamazsın!"
Buyrun skript ile tamamen otomatik kodladım.
Gerekli eklentiler;
  • Skript
  • Let it rain
  • tce (time command event)
 
Kod:
#Kodlama; smt287
#MC-TR.com
#EventSk
#Sürüm 1.0 (canım sıkılınca üstüne bişeyler eklerim belki)

command /event [<text>] [<text>]:
    permission: sk.admin
    permission message: &cBunu yapmak için yetkin yok!
    trigger:
        if arg 1 is not set:
            send " &7> &6/event yerayarla &r- &eevent yerini ayarlar"
            send " &7> &6/event spawnayarla &r- &espawn yerini ayarlar"
            send " &7> &6/event saatayarla <saat> &r- &eevent saat(ler)ini ayarlar"
            send " &7> &6Örnek Saat;&r12:00 - 13:00 - 15:40 - 23:59"
            send " &7> &6/event saatleri &r- &eevent saatlerini gösterir"
            send " &7> &6/event baslat &r- &eeventi başlatır"
        if arg 1 is "yerayarla":
            set {event} to location of player
            execute player command "rain add EVENT"
            send " &7> &aEvent yeri başarıyla ayarlandı!"
        if arg 1 is "saatayarla":
            execute player command "tce set %arg 2%:00 event baslat"
            add arg-2 to {eventsaatleri::*}
            send " &7> &aEvent saati başarıyla ayarlandı!"
            send " &7> &aEvent Saati;&9 %arg 2%"
        if arg 1 is "saatler":
            send "&7> &6Event Saatleri:"
            set {_esn} to 1
            loop {eventsaatleri::*}:
                set {esn.%loop-value%} to {_esn}
                send "%{esn.%loop-value%}%. %loop-value%"
                add 1 to {_esn}
        if arg 1 is "spawnayarla":
            set {spawn} to location of player
            send " &7> &aSpawn yeri başarıyla ayarlandı!"
        if arg 1 is "baslat":
            broadcast " &7> &aEvent 1 dakika içinde başlayacaktır!"
            broadcast " &7> &aEvent başladığında event alanına otomatik olarak çekileceksiniz!"
            wait 1 minute
            set {eventbasladi} to true
            loop all players:
                teleport loop-player to {event}
            broadcast " &7> &aEvent başladı!"
            broadcast " &7> &aEvent 3 dakika içinde bitecektir!"
            execute console command "rain diamond EVENT"
            wait 30 second
            execute console command "rain goldingot EVENT"
            wait 30 second
            execute console command "rain ironingot EVENT"
            wait 30 second
            execute console command "rain emerald EVENT"
            wait 30 second
            execute console command "rain redstone EVENT"
            wait 30 second
            execute console command "rain diamond EVENT"
            wait 30 second
            execute console command "rain goldenapple EVENT"
            delete {eventbasladi}
            broadcast " &7> &aEvent bitmiştir, iyi oyunlar!"
            loop all players:
                teleport loop-player to {spawn}
                wait 0.5 second
                teleport loop-player to {spawn}
               
on command:
    if {eventbasladi} is true:
        command is not "login"
        command is not "register"
        command is not "kayitol"
        command is not "kayit"
        command is not "l"
        command is not "giris"
        command is not "heal"
        command is not "feed"
        if player doesn't have the permission "sk.admin":
            cancel event
            send " &7> &cEventte iken komut kullanamazsın!"
           
on join:
    if {eventbasladi} is true:
        if player doesn't have the permission "sk.admin":
            send " &7> &aEvent aktif olduğu için event alanına yönlendiriliyorsunuz..."
            teleport player to {event}
            wait 2 second
            teleport player to {event}
           
on region exit:
    if "%region at player%" contains "event":
        if player doesn't have the permission "sk.admin":
            teleport player to {event}
            send " &7> &cEvent devam ederken, event alanından ayrılamazsın!"
Buyrun skript ile tamamen otomatik kodladım.
Gerekli eklentiler;

  • Skript
    Let it rain
    tce (time command event)
TCE 1.4.2 için var 1.8 e kursam sıkıntı olurmu?[DOUBLEPOST=1493583724,1493581174][/DOUBLEPOST]@smt287 event başlıyor yağan birşey yok
 
Serverinin sürümü neyse ona kur
 
tps 20 den 17 ye düştü :p çok hata veriyordu sürüm uymadıgı için pluginlre gümcellendiği zaman kullanırım suan bi köşede dursun
Teşşekürler
 
Ben Kullanacağım
 
Letitrain ve TCE'nin uygun sürümleri;
 

Ekli dosyalar

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst