Skriptimde hata var.

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

EgeStrqfes

Birisi mi Spawnlandı?
Katılım
6 Ocak 2021
Mesajlar
7
Elmaslar
2
Puan
3.735
Yaş
26
Minecraft
EgeStrqfes

Discord:

EgeStrqfes#6222

Merhabalar, ejderha skripti araştırdık fakat bir hata veriyor.

options: p: &8[&6Lerajderha&8] ejderha-can: 10000 ejderha-isim: &6&lLerajderha on load: send "{@p} &7Etkinlik aktif!" to console on unload: send "{@p} &7Etkinlik kapatıldı." to console command /ejderha [<text>] [<text>]: trigger: if player has permission "minecraftturkiye.ejderha": if arg 1 is not set: send "" send "&e/ejderha başlat &8[&7Etkinliği başlatır.&8]" send "&e/ejderha eventyeri &8[&7Etkinlik yerini ayarlar.&8]" send "&e/ejderha oyuncuyeri &8[&7Etkinlikde oyuncunun doğacağı yeri ayarlar.&8]" send "" if arg 1 is "başlat" or "baslat": if {ejderha::lokasyon} is set: if {ejderha::oyunculoc} is set: send all players title "&6EJDERHA EVENTI" with subtitle "&710 saniye sonra Lerajderha canlanacak!" for 3 seconds broadcast "{@p} &7Etkinliğe gitmek için: &e/ejderhagir" set {ejderha::giris} to "Açık" wait 10 seconds spawn ender dragon at {ejderha::lokasyon} send all players title "&6EJDERHA EVENTI" with subtitle "&7Ejderha doğdu katılmak için: &e/ejderhagir" broadcast "{@p} &7Etkinliğe gitmek için: &e/ejderhagir" wait 3 seconds send all players title "&6EJDERHA EVENTI" set health of last spawned ender dragon to {@ejderha-can} set maximum health of last spawned ender dragon to {@ejderha-can} set {ejderha::durum} to "Aktif" else: send "{@p} &7Oyuncu yeri ayarlı değil, ayarlamak için: &e/ejderha oyuncuyeri" else: send "{@p} &7Ejderha doğma yeri ayarlı değil ayarlamak için: &e/ejderha eventyeri" if arg 1 is "eventyeri": send "{@p} &7Event yeri ayarlandı." set {ejderha::lokasyon} to location of player if arg 1 is "oyuncuyeri": send "{@p} &7Oyuncu yeri ayarlandı." set {ejderha::oyunculoc} to location of player command /ejderhagir: trigger: if {ejderha::giris} is "Açık": teleport player to {ejderha::oyunculoc} execute console command "tm message %player% &7Etkinlik alanına başarılı bir sekilde ışınlandınız." else if {ejderha::giris} is "Kapalı": wait 2 seconds execute console command "tm message %player% &7Etkinlik şu an aktif değil!" on damage of ender dragon: add damage to {hasar-e::%attacker%} add damage to {hasar-t::%attacker%} import: org.bukkit.event.entity.EntityCreatePortalEvent on EntityCreatePortalEvent: cancel event on death of ender dragon: execute console command "sıra" set {ejderha::giris} to "Kapalı" set {ejderha::durum} to "Kapalı" wait 3 seconds broadcast "" broadcast " &6&lEJDERHA ÖLDÜRÜLDÜ!" broadcast "" broadcast " &7En çok hasar veren oyuncular;" broadcast " &e%{hasar1}%" broadcast " &e%{hasar2}%" broadcast " &e%{hasar3}%" broadcast "" wait 2 seconds broadcast "{@p} &7Ödüller teslim edildi!" execute console command "crazycrates give p para 1 %{1}%" execute console command "give %{1}% 57 2" execute console command "give %{1}% 133 2" execute console command "crazycrates give p para 1 %{2}%" execute console command "give %{2}% 57 2" execute console command "crazycrates give p para 1 %{3}%" add 1 to {ejderhak::%attacker%} add 1 to {ejderha-katilma::%attacker%} delete {hasar-e::*} delete {hasar-t::*} delete {hasar1} delete {hasar2} delete {hasar3} delete {1} delete {2} delete {3} command /sıra: permission: op trigger: loop {hasar-e::*}: add 1 to {_size} if {_low.to.high.list::%loop-value%} is not set: set {_low.to.high.list::%loop-value%} to loop-index else: set {_n} to 0 loop {_size} times: set {_n} to {_n}+1 {_low.to.high.list::%loop-value-1%.%{_n}%} is not set set {_low.to.high.list::%loop-value-1%.%{_n}%} to loop-index stop loop wait 1 tick set {_n} to size of {_low.to.high.list::*} loop {_low.to.high.list::*}: set {_high.to.low.list::%{_n}%} to loop-value set {_n} to {_n}-1 wait 1 tick loop {_high.to.low.list::*}: add 1 to {_result} if {_result} is 1: set {1} to loop-value set {hasar1} to "&71. &f%loop-value% &e%{hasar-e::%loop-value%}%" if {_result} is 2: set {hasar2} to "&72. &f%loop-value% &e%{hasar-e::%loop-value%}%" set {2} to loop-value if {_result} is 3: set {hasar3} to "&73. &f%loop-value% &e%{hasar-e::%loop-value%}%" set {3} to loop-value stop on portal enter: if "%region at player%" contains "ejderha": if {ejderha::giris} is "Açık": teleport player to {ejderha::oyunculoc} wait 2 seconds execute console command "tm message %player% &7Etkinlik alanına başarılı bir şekilde ışınlandınız!" stop else if {ejderha::giris} is "Kapalı": execute console command "mv tp %player% world_the_end" wait 2 seconds execute console command "tm message %player% &7Etkinlik şu an aktif değil!" stop on break: if world is "world_the_end": cancel event on place: if world is "world_the_end": cancel event

Üstteki koddaki;

import:
org.bukkit.event.entity.EntityCreatePortalEvent

kısmı hatalı yardımlar için teşekkürler.
 
Merhabalar, ejderha skripti araştırdık fakat bir hata veriyor.

options: p: &8[&6Lerajderha&8] ejderha-can: 10000 ejderha-isim: &6&lLerajderha on load: send "{@p} &7Etkinlik aktif!" to console on unload: send "{@p} &7Etkinlik kapatıldı." to console command /ejderha [<text>] [<text>]: trigger: if player has permission "minecraftturkiye.ejderha": if arg 1 is not set: send "" send "&e/ejderha başlat &8[&7Etkinliği başlatır.&8]" send "&e/ejderha eventyeri &8[&7Etkinlik yerini ayarlar.&8]" send "&e/ejderha oyuncuyeri &8[&7Etkinlikde oyuncunun doğacağı yeri ayarlar.&8]" send "" if arg 1 is "başlat" or "baslat": if {ejderha::lokasyon} is set: if {ejderha::oyunculoc} is set: send all players title "&6EJDERHA EVENTI" with subtitle "&710 saniye sonra Lerajderha canlanacak!" for 3 seconds broadcast "{@p} &7Etkinliğe gitmek için: &e/ejderhagir" set {ejderha::giris} to "Açık" wait 10 seconds spawn ender dragon at {ejderha::lokasyon} send all players title "&6EJDERHA EVENTI" with subtitle "&7Ejderha doğdu katılmak için: &e/ejderhagir" broadcast "{@p} &7Etkinliğe gitmek için: &e/ejderhagir" wait 3 seconds send all players title "&6EJDERHA EVENTI" set health of last spawned ender dragon to {@ejderha-can} set maximum health of last spawned ender dragon to {@ejderha-can} set {ejderha::durum} to "Aktif" else: send "{@p} &7Oyuncu yeri ayarlı değil, ayarlamak için: &e/ejderha oyuncuyeri" else: send "{@p} &7Ejderha doğma yeri ayarlı değil ayarlamak için: &e/ejderha eventyeri" if arg 1 is "eventyeri": send "{@p} &7Event yeri ayarlandı." set {ejderha::lokasyon} to location of player if arg 1 is "oyuncuyeri": send "{@p} &7Oyuncu yeri ayarlandı." set {ejderha::oyunculoc} to location of player command /ejderhagir: trigger: if {ejderha::giris} is "Açık": teleport player to {ejderha::oyunculoc} execute console command "tm message %player% &7Etkinlik alanına başarılı bir sekilde ışınlandınız." else if {ejderha::giris} is "Kapalı": wait 2 seconds execute console command "tm message %player% &7Etkinlik şu an aktif değil!" on damage of ender dragon: add damage to {hasar-e::%attacker%} add damage to {hasar-t::%attacker%} import: org.bukkit.event.entity.EntityCreatePortalEvent on EntityCreatePortalEvent: cancel event on death of ender dragon: execute console command "sıra" set {ejderha::giris} to "Kapalı" set {ejderha::durum} to "Kapalı" wait 3 seconds broadcast "" broadcast " &6&lEJDERHA ÖLDÜRÜLDÜ!" broadcast "" broadcast " &7En çok hasar veren oyuncular;" broadcast " &e%{hasar1}%" broadcast " &e%{hasar2}%" broadcast " &e%{hasar3}%" broadcast "" wait 2 seconds broadcast "{@p} &7Ödüller teslim edildi!" execute console command "crazycrates give p para 1 %{1}%" execute console command "give %{1}% 57 2" execute console command "give %{1}% 133 2" execute console command "crazycrates give p para 1 %{2}%" execute console command "give %{2}% 57 2" execute console command "crazycrates give p para 1 %{3}%" add 1 to {ejderhak::%attacker%} add 1 to {ejderha-katilma::%attacker%} delete {hasar-e::*} delete {hasar-t::*} delete {hasar1} delete {hasar2} delete {hasar3} delete {1} delete {2} delete {3} command /sıra: permission: op trigger: loop {hasar-e::*}: add 1 to {_size} if {_low.to.high.list::%loop-value%} is not set: set {_low.to.high.list::%loop-value%} to loop-index else: set {_n} to 0 loop {_size} times: set {_n} to {_n}+1 {_low.to.high.list::%loop-value-1%.%{_n}%} is not set set {_low.to.high.list::%loop-value-1%.%{_n}%} to loop-index stop loop wait 1 tick set {_n} to size of {_low.to.high.list::*} loop {_low.to.high.list::*}: set {_high.to.low.list::%{_n}%} to loop-value set {_n} to {_n}-1 wait 1 tick loop {_high.to.low.list::*}: add 1 to {_result} if {_result} is 1: set {1} to loop-value set {hasar1} to "&71. &f%loop-value% &e%{hasar-e::%loop-value%}%" if {_result} is 2: set {hasar2} to "&72. &f%loop-value% &e%{hasar-e::%loop-value%}%" set {2} to loop-value if {_result} is 3: set {hasar3} to "&73. &f%loop-value% &e%{hasar-e::%loop-value%}%" set {3} to loop-value stop on portal enter: if "%region at player%" contains "ejderha": if {ejderha::giris} is "Açık": teleport player to {ejderha::oyunculoc} wait 2 seconds execute console command "tm message %player% &7Etkinlik alanına başarılı bir şekilde ışınlandınız!" stop else if {ejderha::giris} is "Kapalı": execute console command "mv tp %player% world_the_end" wait 2 seconds execute console command "tm message %player% &7Etkinlik şu an aktif değil!" stop on break: if world is "world_the_end": cancel event on place: if world is "world_the_end": cancel event

Üstteki koddaki;

import:
org.bukkit.event.entity.EntityCreatePortalEvent


Hatanın ekran görüntüsünü atsaydiniz bir de
 
Skript addonlarınızı kontrol ediniz.
 
Skript addonlarınızı kontrol ediniz.
Sizden ricam discord gelebilir misiniz eklesem ? Çünkü hepsi güncel ama yine de çalışmıyor. Ve mümkünse 2-3 sorum daha var.
 
1.8 ise sürümünüz skript-mirror yükleyin eğer 1.16.5 üstü ise skript-reflect yükleyin çözülecektir.
 
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