Çözüldü Sıralama

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

Demacor

Örümcek Hoşt!
Katılım
24 Ocak 2019
Mesajlar
363
Elmaslar
45
Puan
0
Yaş
22
Minecraft
Demacor
Merhaba arkadaşlar ben sunucumda bir sıralama yapmak istiyorum fakat o sıralama paraya yönelik (essentials balance) yönelik olacak
bir citizens olacak onun üstünde
örn:
1. Demacor [ 120k ]
2. ..... [ 100k ]
3. .... [ 98k ]

gibisinden fakat bu güncellenecek

birde bu yapılan skript sunucuyu laga sokarmı? sokarsada plugini var mı?
şimdiden teşekkür ederim
 
Moderatör tarafından düzenlendi:
Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.
Bunu kullanabilirsiniz. Skript kısmına gelirsek yapılabilir ama güncelleme süresine göre lag yapabilir.
 
Şu işinizi görür mü ? Deneyebilirsin,

Kod:
on join:
    set {Para.mctr.onay::%player%} to player's balance   
command /toppara:
    aliases: topmoney
    trigger:
        set {_1st.point} to 0
        set {_2nd.point} to 0
        set {_3rd.point} to 0
        set {_4th.point} to 0
        set {_5th.point} to 0
        loop {Para.mctr.onay::*}:
            if loop-value is more than {_1st.point}:
                set {_5th} to {_4th}
                set {_5th.point} to {_4th.point}
                set {_4th} to {_3rd}
                set {_4th.point} to {_3rd.point}
                set {_3rd} to {_2nd}
                set {_3rd.point} to {_2nd.point}
                set {_2nd} to {_1st}
                set {_2nd.point} to {_1st.point}
                set {_1st} to loop-index
                set {_1st.point} to loop-value
            else if loop-value is more than {_2nd.point}:
                set {_5th} to {_4th}
                set {_5th.point} to {_4th.point}
                set {_4th} to {_3rd}
                set {_4th.point} to {_3rd.point}
                set {_3rd} to {_2nd}
                set {_3rd.point} to {_2nd.point}
                set {_2nd} to loop-index
                set {_2nd.point} to loop-value
            else if loop-value is more than {_3rd.point}:
                set {_5th} to {_4th}
                set {_5th.point} to {_4th.point}
                set {_4th} to {_3rd}
                set {_4th.point} to {_3rd.point}
                set {_3rd} to loop-index
                set {_3rd.point} to loop-value
            else if loop-value is more than {_4th.point}:
                set {_5th} to {_4th}
                set {_5th.point} to {_4th.point}
                set {_4th} to loop-index
                set {_4th.point} to loop-value
            else if loop-value is more than {_5th.point}:
                set {_5th} to loop-index
                set {_5th.point} to loop-value
        close player's inventory
        open chest with 1 rows named "&bTOP-PARA" to player
        wait 3 ticks
        format slot 0 of player with emerald named "&1Oyuncu -> &a&l%{_1st}%" with lore "&2&l%{_1st.point}% TL" to close then run [execute player command "/msg %{_1st}% Tebrikler Sunucuda En Çok Parası Olan 1. Kişisin!"]
        format slot 2 of player with diamond named "&1Oyuncu -> &b&l%{_2nd}%" with lore "&1&l%{_2nd.point}% TL" to close then run [execute player command "/msg %{_2st}% Tebrikler Sunucuda En Çok Parası Olan 2. Kişisin!"]
        format slot 4 of player with gold ingot named "&1Oyuncu -> &e&l%{_3rd}%" with lore "&6&l%{_3rd.point}% TL" to close then run [execute player command "/msg %{_3st}% Tebrikler Sunucuda En Çok Parası Olan 3. Kişisin!"]
        format slot 6 of player with iron ingot named "&1Oyuncu -> &f&l%{_4th}%" with lore "&7&l%{_4th.point}% TL" to close then run [execute player command "/msg %{_4st}% Tebrikler Sunucuda En Çok Parası Olan 4. Kişisin!"]
        format slot 8 of player with coal named "&1Oyuncu -> &8&l%{_5th}%" with lore "&0&l%{_5th.point}%TL" to close then run [execute player command "/msg %{_5st}% Tebrikler Sunucuda En Çok Parası Olan 5. Kişisin!"]
 
Şu işinizi görür mü ? Deneyebilirsin,

Kod:
on join:
    set {Para.mctr.onay::%player%} to player's balance  
command /toppara:
    aliases: topmoney
    trigger:
        set {_1st.point} to 0
        set {_2nd.point} to 0
        set {_3rd.point} to 0
        set {_4th.point} to 0
        set {_5th.point} to 0
        loop {Para.mctr.onay::*}:
            if loop-value is more than {_1st.point}:
                set {_5th} to {_4th}
                set {_5th.point} to {_4th.point}
                set {_4th} to {_3rd}
                set {_4th.point} to {_3rd.point}
                set {_3rd} to {_2nd}
                set {_3rd.point} to {_2nd.point}
                set {_2nd} to {_1st}
                set {_2nd.point} to {_1st.point}
                set {_1st} to loop-index
                set {_1st.point} to loop-value
            else if loop-value is more than {_2nd.point}:
                set {_5th} to {_4th}
                set {_5th.point} to {_4th.point}
                set {_4th} to {_3rd}
                set {_4th.point} to {_3rd.point}
                set {_3rd} to {_2nd}
                set {_3rd.point} to {_2nd.point}
                set {_2nd} to loop-index
                set {_2nd.point} to loop-value
            else if loop-value is more than {_3rd.point}:
                set {_5th} to {_4th}
                set {_5th.point} to {_4th.point}
                set {_4th} to {_3rd}
                set {_4th.point} to {_3rd.point}
                set {_3rd} to loop-index
                set {_3rd.point} to loop-value
            else if loop-value is more than {_4th.point}:
                set {_5th} to {_4th}
                set {_5th.point} to {_4th.point}
                set {_4th} to loop-index
                set {_4th.point} to loop-value
            else if loop-value is more than {_5th.point}:
                set {_5th} to loop-index
                set {_5th.point} to loop-value
        close player's inventory
        open chest with 1 rows named "&bTOP-PARA" to player
        wait 3 ticks
        format slot 0 of player with emerald named "&1Oyuncu -> &a&l%{_1st}%" with lore "&2&l%{_1st.point}% TL" to close then run [execute player command "/msg %{_1st}% Tebrikler Sunucuda En Çok Parası Olan 1. Kişisin!"]
        format slot 2 of player with diamond named "&1Oyuncu -> &b&l%{_2nd}%" with lore "&1&l%{_2nd.point}% TL" to close then run [execute player command "/msg %{_2st}% Tebrikler Sunucuda En Çok Parası Olan 2. Kişisin!"]
        format slot 4 of player with gold ingot named "&1Oyuncu -> &e&l%{_3rd}%" with lore "&6&l%{_3rd.point}% TL" to close then run [execute player command "/msg %{_3st}% Tebrikler Sunucuda En Çok Parası Olan 3. Kişisin!"]
        format slot 6 of player with iron ingot named "&1Oyuncu -> &f&l%{_4th}%" with lore "&7&l%{_4th.point}% TL" to close then run [execute player command "/msg %{_4st}% Tebrikler Sunucuda En Çok Parası Olan 4. Kişisin!"]
        format slot 8 of player with coal named "&1Oyuncu -> &8&l%{_5th}%" with lore "&0&l%{_5th.point}%TL" to close then run [execute player command "/msg %{_5st}% Tebrikler Sunucuda En Çok Parası Olan 5. Kişisin!"]
Skript çalıştı fakat sıralama çalışmıyor, <none> olarak gözüküyor
 
Çözüldüğüne göre konu kilit. İyi forumlar.
 
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