Çözüldü Hologram ve Skript

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

RecklessZed

Somon Balığı Selam Vermeye Geldi
Katılım
17 Ağustos 2020
Mesajlar
19
Elmaslar
8
Puan
0
Yaş
26

Discord:

1 Reckless#9210

Dostlarım sunucum da sıralama skripti var bunu nasıl holograma aktarabilirim bir liste oluşturabilirim.

Sıralama Skripti

JavaScript:
command /sıralama [<text>]:
    trigger:
        loop {killlistesi.oldurme::*}:
            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
        send "&7&m-----------------------------"
        send "              &8[&6En iyi &e10 &6kişi&8]     "
        send " "
        loop {_high.to.low.list::*}:
            add 1 to {_result}
            send "&a%loop-value%&8: &e%{killlistesi.oldurme::%loop-value%}% Öldürme" to player
            if {_result} is 10:
                stop
 
Sana başka bir skript vereyim. Skript bana ait değildir.
Kod:
on death of a player:
    if attacker is a player:   
        if {killlistesi::%attacker%} is not set:
            set {killlistesi.oldurme::%attacker%} to 0   
        add 1 to {killlistesi.oldurme::%attacker%}
        stop

command /kl:
    trigger:
        loop {killlistesi.oldurme::*}:
            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
        send "&7&m--------------------"
        send "              &8[&aKill&7Listesi&8]     "
        send " "
        loop {_high.to.low.list::*}:
            add 1 to {_result}
            send "&a%loop-value%&8: &e%{killlistesi.oldurme::%loop-value%}% Öldürme" to player
            if {_result} is 10:
                stop
            
command /klreset:
    permission: killlistesi.reset
    trigger:
        delete {killlistesi.oldurme::*}
        delete {_high.to.low.list::*}
        delete {_size}
        delete {_n}
        delete {_high.to.low.list::%{_n}%}

"KİLL" kelimesinin Türkçe karşılığı;
Kelime dilimizde öldürme anlamı taşımaktadır.

Özellikler;
Bu skript sayesinde Scoreboard eklentisine ve komutuna ihtiyaç duymayacaksınız. Sizlerin kaç oyuncu öldürdüğünüzü sağ taraftaki listede gösterir. Bir sunucuda oyuncu öldürdüğünüz andan itibaren sayılmaya başlanır.

Komutlar ve Yetkiler;
Bu skriptte komutları kısa kullandım. Ana komut /kl komutudur. Bu komut sağ tarafta çıkacak olan listeyi oluşturur. Birde /klreset komutu vardır. Bu komutta listeyi sıfırlamaya yarar ve yetkisi de killlistesi.reset'dir.​
 
Sana başka bir skript vereyim. Skript bana ait değildir.
Kod:
on death of a player:
    if attacker is a player:  
        if {killlistesi::%attacker%} is not set:
            set {killlistesi.oldurme::%attacker%} to 0  
        add 1 to {killlistesi.oldurme::%attacker%}
        stop

command /kl:
    trigger:
        loop {killlistesi.oldurme::*}:
            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
        send "&7&m--------------------"
        send "              &8[&aKill&7Listesi&8]     "
        send " "
        loop {_high.to.low.list::*}:
            add 1 to {_result}
            send "&a%loop-value%&8: &e%{killlistesi.oldurme::%loop-value%}% Öldürme" to player
            if {_result} is 10:
                stop
           
command /klreset:
    permission: killlistesi.reset
    trigger:
        delete {killlistesi.oldurme::*}
        delete {_high.to.low.list::*}
        delete {_size}
        delete {_n}
        delete {_high.to.low.list::%{_n}%}

"KİLL" kelimesinin Türkçe karşılığı;
Kelime dilimizde öldürme anlamı taşımaktadır.

Özellikler;
Bu skript sayesinde Scoreboard eklentisine ve komutuna ihtiyaç duymayacaksınız. Sizlerin kaç oyuncu öldürdüğünüzü sağ taraftaki listede gösterir. Bir sunucuda oyuncu öldürdüğünüz andan itibaren sayılmaya başlanır.

Komutlar ve Yetkiler;
Bu skriptte komutları kısa kullandım. Ana komut /kl komutudur. Bu komut sağ tarafta çıkacak olan listeyi oluşturur. Birde /klreset komutu vardır. Bu komutta listeyi sıfırlamaya yarar ve yetkisi de killlistesi.reset'dir.​
Hocam aynı skriptler zaten ikiside siz benim isteğimi anlamamışsınız :(
 
Dostlarım sunucum da sıralama skripti var bunu nasıl holograma aktarabilirim bir liste oluşturabilirim.

Sıralama Skripti

JavaScript:
command /sıralama [<text>]:
    trigger:
        loop {killlistesi.oldurme::*}:
            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
        send "&7&m-----------------------------"
        send "              &8[&6En iyi &e10 &6kişi&8]     "
        send " "
        loop {_high.to.low.list::*}:
            add 1 to {_result}
            send "&a%loop-value%&8: &e%{killlistesi.oldurme::%loop-value%}% Öldürme" to player
            if {_result} is 10:
                stop
Kod:
function addHline(l:location,t:text):
    spawn a armor stand at {_l}
    spawned entity.setMarker(true)
    spawned entity.setGravity(false)
    spawned entity.setVisible(false)
    spawned entity.setCustomName({_t})
    spawned entity.setCustomNameVisible(true)
command /sıralama [<text>]:
    trigger:
        loop {killlistesi.oldurme::*}:
            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}
            set {_} to location 6 meters above player
            addHline(location ((loop-index)*0.5) meter below {_},"&a%loop-value%&8: &e%{killlistesi.oldurme::%loop-value%}% Öldürme")
            if {_result} is 10:
                stop
test etmedim, sk-mirror addonu gerekir
 
Kod:
function addHline(l:location,t:text):
    spawn a armor stand at {_l}
    spawned entity.setMarker(true)
    spawned entity.setGravity(false)
    spawned entity.setVisible(false)
    spawned entity.setCustomName({_t})
    spawned entity.setCustomNameVisible(true)
command /sıralama [<text>]:
    trigger:
        loop {killlistesi.oldurme::*}:
            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}
            set {_} to location 6 meters above player
            addHline(location ((loop-index)*0.5) meter below {_},"&a%loop-value%&8: &e%{killlistesi.oldurme::%loop-value%}% Öldürme")
            if {_result} is 10:
                stop
test etmedim, sk-mirror addonu gerekir
Deneyeceğim teşekkürler.
 
Başarılı Uğraşılmış bir çalışma
 
Deneyeceğim teşekkürler.
Kod:
function addHline(l:location,t:text):
    spawn a armor stand at {_l}
    spawned entity.setMarker(true)
    spawned entity.setGravity(false)
    spawned entity.setVisible(false)
    spawned entity.setCustomName({_t})
    spawned entity.setCustomNameVisible(true)
command /sıralama [<text>]:
    trigger:
        loop {killlistesi.oldurme::*}:
            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}
            set {_} to location 6 meters above player
            addHline(location ((loop-index)*0.5) meter below {_},"&a%loop-value%&8: &e%{killlistesi.oldurme::%loop-value%}% Öldürme")
            if {_result} is 10:
                stop
test etmedim, sk-mirror addonu gerekir
Hata verdi hocam
1598297848327.png
 
Birde nasıl yapacağız düzeltildikden sonra
Gönderi otomatik olarak birleştirildi:

şu 1.8ler bu hata yüksek sürüm olaydı kesin olmazdı kimse düzeltmezse yakında bakarım
Beklemedeyim
Gönderi otomatik olarak birleştirildi:

Birde nasıl yapacağız düzeltildikden sonra
Gönderi otomatik olarak birleştirildi:


Beklemedeyim
+++
 
Son düzenleme:
Birde nasıl yapacağız düzeltildikden sonra
Gönderi otomatik olarak birleştirildi:


Beklemedeyim
Gönderi otomatik olarak birleştirildi:


+++
Kod:
function addHlinee(l:location,t:text):
    spawn a armor stand at {_l}
    spawned entity.setMarker(true)
    spawned entity.setGravity(false)
    spawned entity.setVisible(false)
    spawned entity.setCustomName({_t})
    spawned entity.setCustomNameVisible(true)
command /sıralama [<text>]:
    trigger:
        loop {killlistesi.oldurme::*}:
            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}
            set {_} to location 6 meters above player
            set {_s} to location (({_result})*0.5) meter below {_}
            addHlinee({_s},("&a%loop-value%&8: &e%{killlistesi.oldurme::%loop-value%}% Öldürme"))
            if {_result} is 10:
                stop
 
Kod:
function addHlinee(l:location,t:text):
    spawn a armor stand at {_l}
    spawned entity.setMarker(true)
    spawned entity.setGravity(false)
    spawned entity.setVisible(false)
    spawned entity.setCustomName({_t})
    spawned entity.setCustomNameVisible(true)
command /sıralama [<text>]:
    trigger:
        loop {killlistesi.oldurme::*}:
            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}
            set {_} to location 6 meters above player
            set {_s} to location (({_result})*0.5) meter below {_}
            addHlinee({_s},("&a%loop-value%&8: &e%{killlistesi.oldurme::%loop-value%}% Öldürme"))
            if {_result} is 10:
                stop
Dostum sen harikasın <3
Gönderi otomatik olarak birleştirildi:

Kod:
function addHlinee(l:location,t:text):
    spawn a armor stand at {_l}
    spawned entity.setMarker(true)
    spawned entity.setGravity(false)
    spawned entity.setVisible(false)
    spawned entity.setCustomName({_t})
    spawned entity.setCustomNameVisible(true)
command /sıralama [<text>]:
    trigger:
        loop {killlistesi.oldurme::*}:
            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}
            set {_} to location 6 meters above player
            set {_s} to location (({_result})*0.5) meter below {_}
            addHlinee({_s},("&a%loop-value%&8: &e%{killlistesi.oldurme::%loop-value%}% Öldürme"))
            if {_result} is 10:
                stop
Fakat otomatik nasıl yenilenecek?
 
Son düzenleme:
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