Çözüldü Bakiye Sıralaması Skripti

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

CellatFaruk

Odunlara Vur Vur Vur!
Katılım
31 Mart 2019
Mesajlar
43
Elmaslar
6
Puan
1.985
Minecraft
MertCKA

Discord:

MertCKA #4895

Arkadaşlar sunucumda bir bakiye sıralaması kullanmak istiyorum. Bir tane skript buldum ama o skriptte sıfırlama özelliği yok. Sizden ricam ekleyebilir misiniz ? /resetpay yazınca bütün para istatistikler sıfılansın
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!"]
 
Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.

Merhabalar bunu kullana bilirsin.​
oyuncuların parasını sıfırlıyor bu ama ben sadece sıralamayı sıfırlamak istiyorum onu nasıl yapabilirim ?
Gönderi otomatik olarak birleştirildi:

Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.
Bu eklentiyi kullanabilirsin otomatik olarak yenilenmektedir
bunda da sıralamayı sıfırlama kodu yok gui si falan güzel ama üsteki skript hazır zaten ona sadece sırlamayı sıfırlama komutu eklense yeter bana :
 
oyuncuların parasını sıfırlıyor bu ama ben sadece sıralamayı sıfırlamak istiyorum onu nasıl yapabilirim ?
Gönderi otomatik olarak birleştirildi:


bunda da sıralamayı sıfırlama kodu yok gui si falan güzel ama üsteki skript hazır zaten ona sadece sırlamayı sıfırlama komutu eklense yeter bana :
essantials üzerinden tüm eco set yaparak herkesin bakiyesini sıfırlayabilirsin
 
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