Çözüldü Adakit Sıfırlama

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

Atalente

Bir Kömür Göründü Kaptanım!
Katılım
8 Ekim 2019
Mesajlar
164
Elmaslar
58
Puan
2.110
Minecraft
Equettin

Discord:

Efe#0001

Minecraft sunucumda 2. sezona geçildide adakitleri herkesin nasıl sıfırlayacağım?
 
skripti sil komutunu değiştir tekrar koy dene



Kod:
command /adakitsifirla [<player>]:
    trigger:
        if arg-1 isn't set:
            if player has permission "op":
                set {adakitaldi.%player%} to 0
                wait 1 tick
                execute console command "tm msg %player% {@adakitx}\n&aADAKIT &eHakkınız Sıfırlandı&e."
        if arg-1 is set:
            if player has permission "op":
                set {adakitkaldi.%arg-1%} to 0
                wait 1 tick
                execute console command "tm msg %arg-1% {@adakitx}\n&aADAKIT &eHakkınız Sıfırlandı&e."
 
skripti sil komutunu değiştir tekrar koy dene



Kod:
command /adakitsifirla [<player>]:
    trigger:
        if arg-1 isn't set:
            if player has permission "op":
                set {adakitaldi.%player%} to 0
                wait 1 tick
                execute console command "tm msg %player% {@adakitx}\n&aADAKIT &eHakkınız Sıfırlandı&e."
        if arg-1 is set:
            if player has permission "op":
                set {adakitkaldi.%arg-1%} to 0
                wait 1 tick
                execute console command "tm msg %arg-1% {@adakitx}\n&aADAKIT &eHakkınız Sıfırlandı&e."
anlamadım?
 
Birde şuanki skript di denermisin boşluk hatası vardı galiba ondan hata verdi

Kod:
command /adakitsifirla [<player>]:
    trigger:
        if arg-1 isn't set:
            if player has permission "op":
                set {adakitaldi.%player%} to 0
                wait 1 tick
                execute console command "tm msg %player% {@adakitx}\n&aADAKIT &eHakkınız Sıfırlandı&e."
        if arg-1 is set:
            if player has permission "op":
                set {adakitkaldi.%arg-1%} to 0
                wait 1 tick
                execute console command "tm msg %arg-1% {@adakitx}\n&aADAKIT &eHakkınız Sıfırlandı&e."
 
Birde şuanki skript di denermisin boşluk hatası vardı galiba ondan hata verdi

Kod:
command /adakitsifirla [<player>]:
    trigger:
        if arg-1 isn't set:
            if player has permission "op":
                set {adakitaldi.%player%} to 0
                wait 1 tick
                execute console command "tm msg %player% {@adakitx}\n&aADAKIT &eHakkınız Sıfırlandı&e."
        if arg-1 is set:
            if player has permission "op":
                set {adakitkaldi.%arg-1%} to 0
                wait 1 tick
                execute console command "tm msg %arg-1% {@adakitx}\n&aADAKIT &eHakkınız Sıfırlandı&e."
tüm oyuncuların adakitini nasıl sıfırlayacağım?
 
ne hatası geldi ayrıca şuan sunucuda yüklü olan adakit skriptini atarmısın
options:
adakit: &6&lADAKIT &8&l| #Chata Gelen Başlık
adakitx: &6&lADAKIT #Ekrana Gelen Başlık
hata: &c&lHATA &8&l| #Chata Gelen Başlık
hatax: &c&lHATA #Ekrana Gelen Başlık

command:
if command is "adakit":
if {adakit::%player%} is 1:
set {adakit::%player%} to 0
else:
if {adakitaldi::%player%} is 0:
cancel event
execute console command "tm msg %player% &e&l/AdaKit &b&lKomutunu Tekrar Kullan&8."
set {adakit::%player%} to 1
wait 20 real seconds
set {adakit::%player%} to 0
stop
else:
cancel event
execute console command "tm msg %player% {@hatax}\n&7Hakkın Dolmuştur&8."
send "{@hata} &b&lADAKIT&7&l'ini Alma Hakkın Dolmuştur&8." to player

command /adakit:
trigger:
set {adakitaldi::%player%} to 1
execute console command "tm msg %player% &b&lHediyeler Veriliyor"
wait 2 second
execute console command "itemsp ver %player% zümrütblok 3" and "itemsp ver %player% zumrut 3" and "itemsp ver %player% elmasblok 3" and "itemsp ver %player% elmas 3" and "itemsp ver %player% altinblok 3" and "itemsp ver %player% altin 3" and "itemsp ver %player% demir 3" and "itemsp ver %player% demirblok 3"
execute console command "cc give p mvip 2 %player%"
execute console command "cc give p mvip+ 2 %player%"
execute console command "cc give p event 2 %player%"
give 64 153 to player
give 80 129 to player
give 128 121 to player
give 128 19 to player
give 128 179 to player
give 128 168:2 to player
give 128 169 to player
wait 2 seconds
execute console command "tm msg %player% &b&lBaşarıyla &e&lAdakit &b&lVerildi&8."


on first join:
set {adakitaldi::%player%} to 0

on join:
if {adakitaldi::%player%} is not set:
set {adakitaldi::%player%} to 0
Gönderi otomatik olarak birleştirildi:

Onu bilmiyorum ama bi araştırıyım bulursam geri dönüş yapıcağım.
tamam
 
Kod:
command /adakitsıfırla:
    permission: adakit.sifirla
    trigger:
        loop all players:
            set {adakitaldi::%loop-player%} to 0
        broadcast "Adakitler sıfırlandı!"

Bu da benden olsun :). Skriptin sağlıksızdı. Biraz düzelttim.
Kod:
command /adakit:
    trigger:
        adakitVer(player)
      
command /adakitsıfırla:
    permission: op
    trigger:
        adakitSifirla()
      
      
      
function adakitVer(p: Player):
    if {adakit::%{_p}%} is true:
        execute console command "tm msg %{_p}% &b&lHediyeler Veriliyor"
        wait 2 second
        execute console command "itemsp ver %{_p}% zümrütblok 3" and "itemsp ver %{_p}% zumrut 3" and "itemsp ver %{_p}% elmasblok 3" and "itemsp ver %{_p}% elmas 3" and "itemsp ver %{_p}% altinblok 3" and "itemsp ver %{_p}% altin 3" and "itemsp ver %{_p}% demir 3" and "itemsp ver %{_p}% demirblok 3"
        execute console command "cc give p mvip 2 %{_p}%"
        execute console command "cc give p mvip+ 2 %{_p}%"
        execute console command "cc give p event 2 %{_p}%"
        give 64 of quartz ore to {_p}
        give 80 of emerald ore to {_p}
        give 128 of end stone to {_p}
        give 128 of sponge to {_p}
        give 128 of red sandstone to {_p}
        give 128 of dark prismarine to {_p}
        give 128 of sea lantern to {_p}
        wait 2 seconds
        execute console command "tm msg %{_p}% &b&lBaşarıyla &e&lAdakit &b&lVerildi&8."
        set {adakit::%{_p}%} to false
    else:
        execute console command "tm msg %{_p}% &cAdakitini zaten almışsın!"
  
  
  
on first join:
    set {adakit::%player%} to true
  
function adakitSifirla():
    loop all players:
        set {adakit::%loop-player%} to true
 
Son düzenleme:
yardımcı olcak yok mu tüm sunucunun adakitini sıfırlamak istiyorum yanlış sıfırlama scripti atıyorsunuz.
 
Kod:
command /adakitsifirla [<player>]:
    trigger:
        if arg-1 isn't set:
            if player has permission "op":
                set {adakitaldi.%player%} to 0
                wait 1 tick
                execute console command "tm msg %player% {@adakitx}\n&aADAKIT &eHakkınız Sıfırlandı&e."
        if arg-1 is set:
            if player has permission "op":
                set {adakitkaldi.%arg-1%} to 0
                wait 1 tick
                execute console command "tm msg %arg-1% {@adakitx}\n&aADAKIT &eHakkınız Sıfırlandı&e."

Bana ait değildir.

Kod:
command /adakitsıfırla [<player>]:
    permission: adakit.sıfırla
    trigger:
        delete {e.%arg 1%}

Olmassa bunu deneyiniz.
 
Kod:
command /adakitsifirla [<player>]:
    trigger:
        if arg-1 isn't set:
            if player has permission "op":
                set {adakitaldi.%player%} to 0
                wait 1 tick
                execute console command "tm msg %player% {@adakitx}\n&aADAKIT &eHakkınız Sıfırlandı&e."
        if arg-1 is set:
            if player has permission "op":
                set {adakitkaldi.%arg-1%} to 0
                wait 1 tick
                execute console command "tm msg %arg-1% {@adakitx}\n&aADAKIT &eHakkınız Sıfırlandı&e."

Bana ait değildir.

Kod:
command /adakitsıfırla [<player>]:
    permission: adakit.sıfırla
    trigger:
        delete {e.%arg 1%}

Olmassa bunu deneyiniz.
tüm sunucunun adakitini sıfırlıyor değil mi?
 
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