Bulundu ZAMAN MARKET SKRİPTİ

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

mehmet242442

Bir Kömür Göründü Kaptanım!
Katılım
10 Aralık 2017
Mesajlar
160
Elmaslar
26
Puan
13.620
Minecraft
apple3bule4

Discord:

Klaus Mikaelson#3333

Merhaba arkadaşlar serverimde aktif olan oyunculara ödül vermek için böyle bir skript istedim skript:

Her 1 saatde 2 Zaman puanı alacak oyuncu ve /zamanspal1-2-3 böyle komut olucak belirli bir puana skeleton zombie blaze spawner alıcak spawner plugini silkspawners

-/zaman oyuncu ismi puanı göstericek oyuncunun

-/zaman top en yüksek 10 kişinin zaman puanını gösterecek

Not: Araştırdım 1 tane buldum her 60 dakikada veriyordu her oyuncuya adam 60 dk sonra gelse gene alırdı ondan istek konusu açtım
 
Kod:
on join:
    if {zamancoin::%player%} is not set:
        set {zamancoin::%player%} to 0
        set {zaman::%player%} to 0

       

every second:
    loop all players:
        add 1 to {zaman::%loop-player%}
        if {zaman::%loop-player%} is 60:
            set {zaman::%loop-player%} to 0
            add 2 to {zamancoin::%loop-player%}

command /zaman [<text>] [<offline player>]:
    trigger:
        if arg 1 is set:
            if arg 1 is "bak":
                if arg 2 is set:
                    if {zamancoin::%arg 2%} is set:
                        send "&a%arg 2% &7adlı oyuncunun coini: &a%{zamancoin::%arg 2%}%" to player
                    else:
                        send "&7Bu oyuncunun coini yok" to player
                else:
                    execute player command "zaman bak %player%"
            else if arg 1 is "top":
                loop {zamancoin::*}:
                    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
                set {_result} to 0
               
                send " &6Top 10" to player
                loop {_high.to.low.list::*}:
                    add 1 to {_result}
                    send "&6%loop-value%: &e%{zamancoin::%loop-value%}% Zaman Coin"
                    wait 2 tick
                    if {_result} is 10:
                        stop
        else:
            send "&8Zaman Komutları" to player
            send "&7/zaman bak <oyuncu ismi>" to player
            send "&7/zaman top" to player
           
command /zamanspal1:
    trigger:
        if {zamancoin::%player%} is bigger than 4:
            remove 5 from {zamancoin::%player%}
            execute console command "ss give %player% skeleton 1"
            send "&a5 &7zaman coine &b1 adet iskelet spawner &7satın aldın." to player
        else:
            send "&7Yeterli coin bulunamadı." to player

Buyur, umarım işine yarar bu skript. Denemedim ben hata yapmış olabilirim. Çalışırsa lütfen geri dönüş yapar mısın?
 
Son düzenleme:
Kod:
on join:
    if {zamancoin::%player%} is not set:
        set {zamancoin::%player%} to 0
        set {zaman::%player%} to 0

      

every second:
    loop all players:
        add 1 to {zaman::%loop-player%}
        if {zaman::%loop-player%} is 60:
            set {zaman::%loop-player%} to 0
            add 2 to {zamancoin::%loop-player%}

command /zaman [<text>] [<offline player>]:
    trigger:
        if arg 1 is set:
            if arg 1 is "bak":
                if arg 2 is set:
                    if {zamancoin::%arg 2%} is set:
                        send "&a%arg 2% &7adlı oyuncunun coini: &a%{zamancoin::%arg 2%}%" to player
                    else:
                        send "&7Bu oyuncunun coini yok" to player
                else:
                    execute player command "zaman bak %player%"
            else if arg 1 is "top":
                loop {zamancoin::*}:
                    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
                set {_result} to 0
              
                send " &6Top 10" to player
                loop {_high.to.low.list::*}:
                    add 1 to {_result}
                    send "&6%loop-value%: &e%{zamancoin::%loop-value%}% Zaman Coin"
                    wait 2 tick
                    if {_result} is 10:
                        stop
        else:
            send "&8Zaman Komutları" to player
            send "&7/zaman bak <oyuncu ismi>" to player
            send "&7/zaman top" to player
          
command /zamanspal1:
    trigger:
        if {zamancoin::%player%} is bigger than 4:
            remove 5 from {zamancoin::%player%}
            execute console command "ss give %player% skeleton 1"
            send "&a5 &7zaman coine &b1 adet iskelet spawner &7satın aldın." to player
        else:
            send "&7Yeterli coin bulunamadı." to player

Buyur, umarım işine yarar bu skript. Denemedim ben hata yapmış olabilirim. Çalışırsa lütfen geri dönüş yapar mısın?
Severim açık değil deniyemiyeceğim
Ama çalışır ya
 
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