Çözüldü birisini öldürdüğümüz zaman rütbe atlamasını scoreboardda göstermek istiyorum

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

exps

Birisi mi Spawnlandı?
Katılım
1 Nisan 2024
Mesajlar
8
Elmaslar
0
Puan
105
Konum
ev
birisini öldürdüğümüz zaman rütbe atlamasını scoreboardda göstermek istiyorum mesela 100 kill olduğu zaman rütbe atlasın gibi
 
Kod:
on death of a player:
    if {deaths.%victim%} is not set:
        set {deaths.%victim%} to 1
    else:
        add 1 to {deaths.%victim%}
    
    if {deaths.%victim%} is greater than or equal to 10:
        execute console command "/lp user %victim% permission set your.permission.node"

Bu Skript İşe Yarar Diye Düşünüyorum
 
Kod:
on death of a player:
    if {deaths.%victim%} is not set:
        set {deaths.%victim%} to 1
    else:
        add 1 to {deaths.%victim%}
   
    if {deaths.%victim%} is greater than or equal to 10:
        execute console command "/lp user %victim% permission set your.permission.node"

Bu Skript İşe Yarar Diye Düşünüyorum
nereye yazıcam bunu
 
Kod:
on death of a player:
    if {deaths.%victim%} is not set:
        set {deaths.%victim%} to 1
    else:
        add 1 to {deaths.%victim%}
   
    if {deaths.%victim%} is greater than or equal to 10:
        execute console command "/lp user %victim% permission set your.permission.node"

Bu Skript İşe Yarar Diye Düşünüyorum
bu skript sadece 10 ölmesi olanlara bir perm veriyor.
 
JavaScript:
options:
    100: Azimli
    200: Tecrübeli
    300: Kraliçe
    400: Kral
    500: Cellat

on death of player:
    attacker is a player
    if {kills::%attacker%} is set:
        add 1 to {kills::%attacker%}
        if {kills::%attacker%} is greater than or equal to 100:
            execute console command "lp user %attacker% parent set {@100}"
        else if {kills::%attacker%} is greater than or equal to 200:
            execute console command "lp user %attacker% parent set {@200}"
        else if {kills::%attacker%} is greater than or equal to 300:
            execute console command "lp user %attacker% parent set {@300}"
        else if {kills::%attacker%} is greater than or equal to 400:
            execute console command "lp user %attacker% parent set {@400}"
        else if {kills::%attacker%} is greater than or equal to 500:
            execute console command "lp user %attacker% parent set {@500}"
    else:
        set {kills::%attacker%} to 1

Eğer işinize yaradıysa Elmas verirseniz sevinirim.
 
JavaScript:
options:
    100: Azimli
    200: Tecrübeli
    300: Kraliçe
    400: Kral
    500: Cellat

on death of player:
    attacker is a player
    if {kills::%attacker%} is set:
        add 1 to {kills::%attacker%}
        if {kills::%attacker%} is greater than or equal to 100:
            execute console command "lp user %attacker% parent set {@100}"
        else if {kills::%attacker%} is greater than or equal to 200:
            execute console command "lp user %attacker% parent set {@200}"
        else if {kills::%attacker%} is greater than or equal to 300:
            execute console command "lp user %attacker% parent set {@300}"
        else if {kills::%attacker%} is greater than or equal to 400:
            execute console command "lp user %attacker% parent set {@400}"
        else if {kills::%attacker%} is greater than or equal to 500:
            execute console command "lp user %attacker% parent set {@500}"
    else:
        set {kills::%attacker%} to 1

Eğer işinize yaradıysa Elmas verirseniz sevinirim.
nereye yazıcaz bunu
 
plugins\Skript\scripts\rankup.sk
Eğer böyle bir dosyanız yoksa oluşturup içerisine yazabilirsiniz.
proscoreboard pluginini kullanıyorum dosyanın içinde sadece config var dosyanın içinde yeni bi şeymi açayım
 
Skript kullanmaya gerek yok,
Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.
bu eklentiyi kullanarak istediğiniz kadar rank oluşturabilir, seviye atladıkça oyunculara ödüller verebilir ve seviye atlamak için koşullar ekleyebilirsiniz. Eklenti PlaceholderAPI destekliyor; oyuncuların seviyesini Scoreboard, menü vb. alanlarda gösterebilirsiniz.
 
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