Bulundu /killtop komutu eklenecek konuya gir detay var

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

salgvural

Odunlara Vur Vur Vur!
Katılım
22 Haziran 2019
Mesajlar
27
Elmaslar
1
Puan
0
Yaş
28
Hocalar merhaba yakında bir sunucu açacağız da bunun için /killtop yazınca menülü şekilde en çok kill alan 10 kişi yer almasını istiyorum
Askyblock pluginindeki istop gibi olacak baltalar fln
 
Böyle bir skript forumda zaten bulunuyor
Kod:
command /top10:
    trigger:
        loop {öldürme::*}:
            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::*}:
            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}
            {_last} isn't loop-value
            send "&8%{_result}%. &7%loop-value%: &6%{öldürme::%loop-value%}%" to player
            set {_last} to loop-value
            if {_result} is 10:
                stop
                
on death:
    victim is player
    attacker is a player
    add 1 to {öldürme::%attacker%}
Skript Sahibi Alpho320
 
Çalışmıyor Kardeşim
 
ben denedim çalışıyordu fakat 1.8 de denemişdim hataları atabilirsin ve sadece oyuncu öldürünce öldürme artar
 
sorun menü ye girmiyor yani karşıma hiç bir şey çıkmıyor sürüm 1.12.2
 
menü yokki -_-
Kod:
open virtual chest with size 2 named "topkill" to player
loop {_high.to.low.list::*}:
    add 1 to {_result}
    {_last} isn't loop-value
    make gui slot {_result} - 1 of player with skull of (loop-value parsed as offline player) named "&8%{_result}%. &7%loop-value%: &6%{öldürme::%loop-value%}%" to nothing
    set {_last} to loop-value
    if {_result} is 10:
        stop
denermisin
 
skripti atarmısın
Gönderi otomatik olarak birleştirildi:

tuske varmı bu arada
 
Eklenti olsa senin için bir sıkıntı olurmu ?
 
Bunu leaderheads eklentisi ile yapabilrisniz yani LeaderHeads Eklentinin klasörüne girin sonra orada "statistics" adlı klasöre gir ve orda vanilla var oradan ayarlayabilrisn kills.yml var ona gir ve ordaki yazıları bunlar ile değiştir

# -----------------------------------------
#
# Statistic config
#
# Name: kills
# Plugin: Vanilla
#
# -----------------------------------------
#
# Explanation of options:
#
# force-update: whether the plugin should update the data
# of this statistic even if no sign is made for its leaderboard or not.
#
# enable-commas: whether to add commas to the format of the statistic (e.g. 9,000,000)
#
# update-interval: the time in seconds between updates of a statistic and leaderboard.
# There's no update-interval for the sub-statistics because these update when the main statistic updates.
#
# sign-lines: the lines on the sign of the leaderboard. Variables: {rank}, {name}, {amount}
#
# menu-lines: the lines on the skulls in the menu of the leaderboard
#
# online-only: whether the plugin should only save this statistic to the database for online players
#
# -----------------------------------------
force-update: false
online-only: true
enable-commas: true
all-time:
sign-lines:
- '&c&m------------'
- '&a{name}'
- '&e{amount} kills'
- '&c&m------------'
update-interval: 30
menu-enabled: true
menu-command: /katiller
menu-size: 90
menu-name: '&8&lKatiller {page}. Sayfa'
menu-lines:
- '&b#&b{rank}'
- ''
- '&a{name}'
- '&c{amount} &eLeş'
- ''
daily:
sign-lines:
- '&c&m------------'
- '&a{name}'
- '&e{amount} kills'
- '&c&m------------'
menu-enabled: true
menu-command: /topkillsdaily
menu-size: 90
menu-name: '&4Top Kills Page {page} Daily'
menu-lines:
- '&f&m----&f< &b{rank} &f>&m----'
- '&c&m------------'
- '&a{name}'
- '&e{amount} kills'
- '&c&m------------'
weekly:
sign-lines:
- '&c&m------------'
- '&a{name}'
- '&e{amount} kills'
- '&c&m------------'
menu-enabled: true
menu-command: /topkillsweekly
menu-size: 90
menu-name: '&4Top Kills Page {page} Weekly'
menu-lines:
- '&f&m----&f< &b{rank} &f>&m----'
- '&c&m------------'
- '&a{name}'
- '&e{amount} kills'
- '&c&m------------'
monthly:
sign-lines:
- '&c&m------------'
- '&a{name}'
- '&e{amount} kills'
- '&c&m------------'
menu-enabled: true
menu-command: /topkillsmonthly
menu-size: 90
menu-name: '&4Top Kills Page {page} Monthly'
menu-lines:
- '&f&m----&f< &b{rank} &f>&m----'
- '&c&m------------'
- '&a{name}'
- '&e{amount} kills'
- '&c&m------------'

bukadardı bu ara komut /katiller istersen değiştirebilirsin
 
çalışmadı :( herhangi bir hata vermiyor fakat katiller yazınca bir menü açılmıyor
 
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