Çözüldü Komutu kullanan kişi sadece süreyi görüyor yardım.

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

Fisequn

Fırında Isıttığım İlk Taş
Katılım
6 Ocak 2024
Mesajlar
91
Elmaslar
3
Puan
420
Konum
Türkiye
Minecraft
fisequn

Discord:

fisequn.

arkadaşlar bir skriptim var sorunsuz çalışıyor ama sadece komutu kullananda ekranda süre çıkıyor diğer oyuncularda çıkmıyor komut şu:
Kod:
command /bg:
    permission: op
    permission message: "&a&lSUNUCU &f&l> &cErişimin yok"
    trigger:
        set {sayac.durdurulmus} to false
        execute console command "/clear @a"
        execute console command "/kill @a"
        wait 3 second
        set {sayaç} to 450
        while {sayaç} isn't 0:
            send action bar "&e&lKapıların Açılmasına: &f&l%{sayaç}%" to player
            subtract 1 from {sayaç}
            play sound "minecraft:block.note_block.hat" with volume 10 to player
            wait 1 second
        delete {sayaç}
        play sound "entity.ghast.scream" with volume 10 to player
        execute player command "/tm bc &e&lKALE DUVARLARI AÇILDI"
        execute console command "/fill 148 117 -204 100 122 -169 minecraft:air"
        execute console command "/fill 103 116 -173 103 104 -169 minecraft:air"
        execute console command "/fill 145 116 -173 145 104 -169 minecraft:air"
        execute console command "/fill 145 116 -200 145 104 -204 minecraft:air"
        execute console command "/fill 103 116 -200 103 104 -204 minecraft:air"
        execute console command "/fill 145 105 -199 145 116 -174 lime_stained_glass"
        execute console command "/fill 103 105 -199 103 116 -174 lime_stained_glass"
        wait 1 second
        set {sayaç} to 550
        while {sayaç} isn't 0:
            send action bar "&b&lSavunucu &e&lTakımının Kazanmasına: &f&l%{sayaç}%" to player
            subtract 1 from {sayaç}
            wait 1 second
        execute player command "/tp @a 126.34 124.00 -185.79"
        delete {sayaç}
        execute console command "/clear @a"


command /durdur:
    permission: op
    permission message: "&a&lSUNUCU &f&l> &cErişimin yok"
    trigger:
        execute player command "/tm bc &c&lKUŞATMACI TAKIMI KAZANDI"
        set {sayaç} to 1
        message "&a&lSUNUCU &f&l> &eSayaç durdu"
        play sound "minecraft:entity.ghast.hurt" with volume 10 to player
bu komutu ben açtığımda herkeste gözüksün istiyorum
 
Kod:
command /bg:
    permission: op
    permission message: "&a&lSUNUCU &f&l> &cErişimin yok"
    trigger:
        set {sayac.durdurulmus} to false
        execute console command "/clear @a"
        execute console command "/kill @a"
        wait 3 second
        set {sayaç} to 450
        while {sayaç} isn't 0:
            send action bar "&e&lKapıların Açılmasına: &f&l%{sayaç}%" to player
            subtract 1 from {sayaç}
            play sound "minecraft:block.note_block.hat" with volume 10 to player
            wait 1 second
        delete {sayaç}
        play sound "entity.ghast.scream" with volume 10 to player
        execute player command "/tm bc &e&lKALE DUVARLARI AÇILDI"
        execute console command "/fill 148 117 -204 100 122 -169 minecraft:air"
        execute console command "/fill 103 116 -173 103 104 -169 minecraft:air"
        execute console command "/fill 145 116 -173 145 104 -169 minecraft:air"
        execute console command "/fill 145 116 -200 145 104 -204 minecraft:air"
        execute console command "/fill 103 116 -200 103 104 -204 minecraft:air"
        execute console command "/fill 145 105 -199 145 116 -174 lime_stained_glass"
        execute console command "/fill 103 105 -199 103 116 -174 lime_stained_glass"
        wait 1 second
        set {sayaç} to 550
        while {sayaç} isn't 0:
            loop all players:
                   set action bar of loop-player to "&b&lSavunucu &e&lTakımının Kazanmasına: &f&l%{sayaç}%"
            subtract 1 from {sayaç}
            wait 1 second
        execute player command "/tp @a 126.34 124.00 -185.79"
        delete {sayaç}
        execute console command "/clear @a"


command /durdur:
    permission: op
    permission message: "&a&lSUNUCU &f&l> &cErişimin yok"
    trigger:
        execute player command "/tm bc &c&lKUŞATMACI TAKIMI KAZANDI"
        set {sayaç} to 1
        message "&a&lSUNUCU &f&l> &eSayaç durdu"
        play sound "minecraft:entity.ghast.hurt" with volume 10 to player
 
Son düzenleme:
Kod:
command /bg:
    permission: op
    permission message: "&a&lSUNUCU &f&l> &cErişimin yok"
    trigger:
        set {sayac.durdurulmus} to false
        execute console command "/clear @a"
        execute console command "/kill @a"
        wait 3 second
        set {sayaç} to 450
        while {sayaç} isn't 0:
            send action bar "&e&lKapıların Açılmasına: &f&l%{sayaç}%" to player
            subtract 1 from {sayaç}
            play sound "minecraft:block.note_block.hat" with volume 10 to player
            wait 1 second
        delete {sayaç}
        play sound "entity.ghast.scream" with volume 10 to player
        execute player command "/tm bc &e&lKALE DUVARLARI AÇILDI"
        execute console command "/fill 148 117 -204 100 122 -169 minecraft:air"
        execute console command "/fill 103 116 -173 103 104 -169 minecraft:air"
        execute console command "/fill 145 116 -173 145 104 -169 minecraft:air"
        execute console command "/fill 145 116 -200 145 104 -204 minecraft:air"
        execute console command "/fill 103 116 -200 103 104 -204 minecraft:air"
        execute console command "/fill 145 105 -199 145 116 -174 lime_stained_glass"
        execute console command "/fill 103 105 -199 103 116 -174 lime_stained_glass"
        wait 1 second
        set {sayaç} to 550
        while {sayaç} isn't 0:
            set action bar of loop-player to "&b&lSavunucu &e&lTakımının Kazanmasına: &f&l%{sayaç}%"
            subtract 1 from {sayaç}
            wait 1 second
        execute player command "/tp @a 126.34 124.00 -185.79"
        delete {sayaç}
        execute console command "/clear @a"


command /durdur:
    permission: op
    permission message: "&a&lSUNUCU &f&l> &cErişimin yok"
    trigger:
        execute player command "/tm bc &c&lKUŞATMACI TAKIMI KAZANDI"
        set {sayaç} to 1
        message "&a&lSUNUCU &f&l> &eSayaç durdu"
        play sound "minecraft:entity.ghast.hurt" with volume 10 to player
1706372596178.png

bu hatayı verdi
 
Merhaba
Kod:
send action bar "&b&lSavunucu &e&lTakımının Kazanmasına: &f&l%{sayaç}%" to player
bu satırı şöyle değiştirir misin?
Kod:
send action bar "&b&lSavunucu &e&lTakımının Kazanmasına: &f&l%{sayaç}%" to players

Siz burada action bar olayını komutu kullanan oyuncuya gönderiyorsunuz ama players olarak gönderirseniz tüm oyunculara gider.
 
Son düzenleme:
Merhaba
YAML:
send action bar "&b&lSavunucu &e&lTakımının Kazanmasına: &f&l%{sayaç}%" to player
bu satırı şöyle değiştirir misin?
YAML:
send action bar "&b&lSavunucu &e&lTakımının Kazanmasına: &f&l%{sayaç}%" to players
skript üzerinde pek bilgim yok daha mantıklı olabilir skript kendi içinde tüm oyunlara yollar gereksiz döngüyede gerek kalmaz
 
Merhaba
Kod:
send action bar "&b&lSavunucu &e&lTakımının Kazanmasına: &f&l%{sayaç}%" to player
bu satırı şöyle değiştirir misin?
Kod:
send action bar "&b&lSavunucu &e&lTakımının Kazanmasına: &f&l%{sayaç}%" to players

Siz burada action bar olayını komutu kullanan oyuncuya gönderiyorsunuz ama players olarak gönderirseniz tüm oyunculara gider.
teşekkür ederim
 
Çözüldüyse ne mutlu bana. Rica ederim.
set {sayaç} to 550
while {sayaç} isn't 0:
send action bar "&b&lSavunucu &e&lTakımının Kazanmasına: &f&l%{sayaç}%" to players
subtract 1 from {sayaç}
play sound "minecraft:entity.ghast.hurt" with volume 10 to players
wait 1 second
execute player command "/tp @a 126.34 124.00 -185.79"
delete {sayaç}
execute console command "/clear @a"

command /durdur:
permission: op
permission message: "&a&lSUNUCU &f&l> &cErişimin yok"
trigger:
execute player command "/tm bc &c&lKUŞATMACI TAKIMI KAZANDI"
set {sayaç} to 1
message "&a&lSUNUCU &f&l> &eSayaç durdu"
play sound "minecraft:entity.ghast.hurt" with volume 10 to players

birşey daha isteyebilirmiyim yukarıdaki kırmızıyla gösterdiğim kodu /durdur kodu girilince devre dışı bırakmasını istiyorum çalışmamasını bunu yapabilirmisin?
 
set {sayaç} to 550
while {sayaç} isn't 0:
send action bar "&b&lSavunucu &e&lTakımının Kazanmasına: &f&l%{sayaç}%" to players
subtract 1 from {sayaç}
play sound "minecraft:entity.ghast.hurt" with volume 10 to players
wait 1 second
execute player command "/tp @a 126.34 124.00 -185.79"
delete {sayaç}
execute console command "/clear @a"

command /durdur:
permission: op
permission message: "&a&lSUNUCU &f&l> &cErişimin yok"
trigger:
execute player command "/tm bc &c&lKUŞATMACI TAKIMI KAZANDI"
set {sayaç} to 1
message "&a&lSUNUCU &f&l> &eSayaç durdu"
play sound "minecraft:entity.ghast.hurt" with volume 10 to players

birşey daha isteyebilirmiyim yukarıdaki kırmızıyla gösterdiğim kodu /durdur kodu girilince devre dışı bırakmasını istiyorum çalışmamasını bunu yapabilirmisin?
Kod:
command /durdur:
    permission: op
    permission message: "&a&lSUNUCU &f&l> &cErişimin yok"
    trigger:
        execute player command "/tm bc &c&lKUŞATMACI TAKIMI KAZANDI"
        set {sayaç} to 1
        message "&a&lSUNUCU &f&l> &eSayaç durdu"
        play sound "minecraft:entity.ghast.hurt" with volume 0 to player
böyle sesini 0 yaparak durdurmayı dener misin
 
Kod:
command /durdur:
    permission: op
    permission message: "&a&lSUNUCU &f&l> &cErişimin yok"
    trigger:
        execute player command "/tm bc &c&lKUŞATMACI TAKIMI KAZANDI"
        set {sayaç} to 1
        message "&a&lSUNUCU &f&l> &eSayaç durdu"
        play sound "minecraft:entity.ghast.hurt" with volume 0 to player
böyle sesini 0 yaparak durdurmayı dener misin
yok olmadı volume kodu işe yaramıyor büyük ihtimalle 10 da yapsam 1 de yapsam aynı ses
 
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