Çözüldü ADAKIT SKRIPTI SIFIRLAMA-

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

ArrowAlperen

Bir Kömür Göründü Kaptanım!
Katılım
31 Temmuz 2019
Mesajlar
114
Elmaslar
83
Puan
6.455
Konum
Bursa
Minecraft
BlackyHD
SIFIRLAMA DERKEN /ADAKITSIFIRLA KOMUTUNU VERMEYIN ÇÜNKÜ O BENDE VAR
BEN SUNUCUMU SIFIRLADIM ESKİ ADAKİT SKRİPTİMİ KULLANIYOM ÇOGUNDA ADAKIT ALINMIŞ DİYOR BUNU TEK TEK /ADAKITSIFIRLA İLE YAPMAK İSTEMİYORUM BENİM ARKADAŞIM BİR DEĞİŞİKLİK YAPIP HERKESİN ADAKİTİNİ SIFIRLIYORDU NASIL YAPILIYOR YARDIMCI OLURMUSUNUZ

Kod:
command /adakit:
    trigger:
        if {hediyesp::%player%} isn't set:
            execute console command "tm message %player% &e&l► &aADA KIT VERILDI!"
            execute console command "itemsp ver %player% bronweze 4"
            execute console command "itemsp ver %player% bsteeelwee 4"
            execute console command "itemsp ver %player% borentere 1"
            execute console command "itemsp ver %player% cakderbon 1"
            execute console command "cc give P blok 5 %player%"   
            execute console command "cc give P aper 5 %player%"
            execute console command "cc give P spawner 1 %player%"
            execute console command "cc give P para 1 %player%"
            execute console command "cc give P başlangıç 1 %player%"               
            give 128 redsandstone named "&cKırmızı Kum Taşı" to player
            give 64 sea lantern named "&eFener" to player       
            give 32 sponge named "&eSünger" to player
            give 32 emerald_ore named "&eZümrüt Cevheri" to player
            give 32 diamond_ore named "&eElmas Cevheri" to player
            execute console command "tm msg %player% &e&l► &aAdakit verildi."
            set {hediyesp::%player%} to "1"
        else:
            execute console command "tm message %player% &bAda Kitini Tekrar Alamazsın."
 
Oyunucların verilerini sıfırladıysanız eğer, sunucu yeni giriş yapıyor diyip; {hediyesp::%player%} silicek ve tekrar alabilecek.

Kod:
on first join:
    delete {hediyesp::%player%} to player
    stop

Eğer olmazsa söyleyin, aklımda farklı bi yöntem var. Onu deneriz :D
 
Kod:
command /adakit:
    trigger:
        if {hediyespp::%player%} isn't set:
            execute console command "tm message %player% &e&l► &aADA KIT VERILDI!"
            execute console command "itemsp ver %player% bronweze 4"
            execute console command "itemsp ver %player% bsteeelwee 4"
            execute console command "itemsp ver %player% borentere 1"
            execute console command "itemsp ver %player% cakderbon 1"
            execute console command "cc give P blok 5 %player%"   
            execute console command "cc give P aper 5 %player%"
            execute console command "cc give P spawner 1 %player%"
            execute console command "cc give P para 1 %player%"
            execute console command "cc give P başlangıç 1 %player%"               
            give 128 redsandstone named "&cKırmızı Kum Taşı" to player
            give 64 sea lantern named "&eFener" to player       
            give 32 sponge named "&eSünger" to player
            give 32 emerald_ore named "&eZümrüt Cevheri" to player
            give 32 diamond_ore named "&eElmas Cevheri" to player
            execute console command "tm msg %player% &e&l► &aAdakit verildi."
            set {hediyespp::%player%} to "1"
        else:
            execute console command "tm message %player% &bAda Kitini Tekrar Alamazsın."

Buyur.
 
Oyunucların verilerini sıfırladıysanız eğer, sunucu yeni giriş yapıyor diyip; {hediyesp::%player%} silicek ve tekrar alabilecek.

Kod:
on first join:
    delete {hediyesp::%player%} to player
    stop

Eğer olmazsa söyleyin, aklımda farklı bi yöntem var. Onu deneriz :D
olmadı :( zaten verileri sıfırlamamıştım
 
Skriptde ki bütün {hediyesp::%player%} değerlerini başka bi' değer ile değiştirirsen bence olur. Örn: {hediyespawner::%player%}
 
olmadı :( zaten verileri sıfırlamamıştım
Kod:
command /adakit:
    trigger:
        if {hediyespp::%player%} isn't set:
            execute console command "tm message %player% &e&l► &aADA KIT VERILDI!"
            execute console command "itemsp ver %player% bronweze 4"
            execute console command "itemsp ver %player% bsteeelwee 4"
            execute console command "itemsp ver %player% borentere 1"
            execute console command "itemsp ver %player% cakderbon 1"
            execute console command "cc give P blok 5 %player%"  
            execute console command "cc give P aper 5 %player%"
            execute console command "cc give P spawner 1 %player%"
            execute console command "cc give P para 1 %player%"
            execute console command "cc give P başlangıç 1 %player%"              
            give 128 redsandstone named "&cKırmızı Kum Taşı" to player
            give 64 sea lantern named "&eFener" to player      
            give 32 sponge named "&eSünger" to player
            give 32 emerald_ore named "&eZümrüt Cevheri" to player
            give 32 diamond_ore named "&eElmas Cevheri" to player
            execute console command "tm msg %player% &e&l► &aAdakit verildi."
            set {hediyespp::%player%} to "1"
        else:
            execute console command "tm message %player% &bAda Kitini Tekrar Alamazsın."

Buyur.
Denedin mi ?
 
Kod:
command /adakit:
    trigger:
        if {hediyespp::%player%} isn't set:
            execute console command "tm message %player% &e&l► &aADA KIT VERILDI!"
            execute console command "itemsp ver %player% bronweze 4"
            execute console command "itemsp ver %player% bsteeelwee 4"
            execute console command "itemsp ver %player% borentere 1"
            execute console command "itemsp ver %player% cakderbon 1"
            execute console command "cc give P blok 5 %player%"  
            execute console command "cc give P aper 5 %player%"
            execute console command "cc give P spawner 1 %player%"
            execute console command "cc give P para 1 %player%"
            execute console command "cc give P başlangıç 1 %player%"              
            give 128 redsandstone named "&cKırmızı Kum Taşı" to player
            give 64 sea lantern named "&eFener" to player      
            give 32 sponge named "&eSünger" to player
            give 32 emerald_ore named "&eZümrüt Cevheri" to player
            give 32 diamond_ore named "&eElmas Cevheri" to player
            execute console command "tm msg %player% &e&l► &aAdakit verildi."
            set {hediyespp::%player%} to "1"
        else:
            execute console command "tm message %player% &bAda Kitini Tekrar Alamazsın."

Buyur.
hediyesp yazan yeri değiştirmişsiniz bende hep öyle değiştirsem olur mu?
 
hediyesp yazan yeri değiştirmişsiniz bende hep öyle değiştirsem olur mu?
Olur ama şöyle de yapabilirsin:

Kod:
command /sifirlaveri:
    trigger:
        player is op #Eğer oyuncu op ise
        delete {VERİİSMİ::*} # VERİİSMİ olan veriyi sil

Örneğin;

Kod:
command /sifirlaveri:
    trigger:
        player is op
        delete {hediyespp::*}
 
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