Çözüldü Kit Skript

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

Murder

Bir Kömür Göründü Kaptanım!
Katılım
29 Temmuz 2018
Mesajlar
124
Elmaslar
10
Puan
0
Yaş
26
Konum
Türkiye
Minecraft
TheMurderK

Discord:

SametIRIK#3064

Arkadaşlar Süreli Kit Yaparmısınız 3 Kit Olucak ;

/kitmuhtar ; 168 saat [1 hafta]
p2 elmas set , keskinlik 2 elmas kılıç , v2 kazma , v2 balta , v2 kürek , v2 çapa , 2 tane altın elma [ençli değil] , 20 tane biftek


/kitoyuncu ; 120 saat [5 gün]
deri set , keskinlik 1 taş kılıç , v1 kazma , v1 balta , v1 kürek , v1 çapa , 20 tane biftek


/kityemek ; 120 saat [5 gün]
20 biftek , 64 elma [normal elma]



böyle bir skript yaparmısınız !
ben plugin istemiyorum lütfen plugin önerisinde bulunmayınız !
 
Son düzenleme:
Arkadaşlar Süreli Kit Yaparmısınız 3 Kit Olucak ;

/kitmuhtar ; 168 saat [1 hafta]
p2 elmas set , keskinlik 2 elmas kılıç , v2 kazma , v2 balta , v2 kürek , v2 çapa , 2 tane altın elma [ençli değil] , 20 tane biftek


/kitoyuncu ; 120 saat [5 gün]
deri set , keskinlik 1 taş kılıç , v1 kazma , v1 balta , v1 kürek , v1 çapa , 20 tane biftek


/kityemek ; 120 saat [5 gün]
20 biftek , 64 elma [normal elma]



böyle bir skript yaparmısınız !
Essentials plugini ile yapabilirsin
 
Sadece muhtar kitini yaptım gerisini set yap

Kod:
command /kitmuhtar:
    trigger:
        set {_difference} to difference between {fixyenileme.%player%} and now
        if {_difference} is less than 168 hor:
            set  {_difference} to difference between {_difference} and 168 hor
            message "{@p} &fBu Komut Tekrar Kullanmak İçin Lütfen &3168 &fSaat Bekle"
        set {fixyenileme.%player%} to now
        give 1 diamond helmet of protection 2 to player
        give 1 diamond chesplate of protection 2 to player
        give 1 diamond leggings of protection 2 to player
        give 1 diamond boots  of protection 2to player
        give 1 diamond sword of sharpness 2 to player
        give 1 diamond Pickaxe of Efficiency 2 to player
        give 1 diamond shovel of Efficiency 2 to player
        give 1 diamond Hoe  of Efficiency 2 to player
        give 1 diamond Axe of Efficiency 2 to player
 
Sadece muhtar kitini yaptım gerisini set yap

Kod:
command /kitmuhtar:
    trigger:
        set {_difference} to difference between {fixyenileme.%player%} and now
        if {_difference} is less than 168 hor:
            set  {_difference} to difference between {_difference} and 168 hor
            message "{@p} &fBu Komut Tekrar Kullanmak İçin Lütfen &3168 &fSaat Bekle"
        set {fixyenileme.%player%} to now
        give 1 diamond helmet of protection 2 to player
        give 1 diamond chesplate of protection 2 to player
        give 1 diamond leggings of protection 2 to player
        give 1 diamond boots  of protection 2to player
        give 1 diamond sword of sharpness 2 to player
        give 1 diamond Pickaxe of Efficiency 2 to player
        give 1 diamond shovel of Efficiency 2 to player
        give 1 diamond Hoe  of Efficiency 2 to player
        give 1 diamond Axe of Efficiency 2 to player
Tamam Teşekkürler
 
Artık her server essentials kullanıyor ve essentials kullanmanı öneririm neyse
kod ben yazmadım editledim
Kod:
options:
    p: &6Sunucu &bIsmi |

command /kit [<text>]
    trigger:
        if arg 1 "muhtar"
        set {_difference} to difference between {fixyenileme.%player%} and now
        if {_difference} is less than 168 hor:
            set  {_difference} to difference between {_difference} and 168 hor
            message "{@p} &fBu Komut Tekrar Kullanmak İçin Lütfen &3168 &fSaat Bekle"
        set {fixyenileme.%player%} to now
        give 1 diamond helmet of protection 2 to player
        give 1 diamond chesplate of protection 2 to player
        give 1 diamond leggings of protection 2 to player
        give 1 diamond boots  of protection 2to player
        give 1 diamond sword of sharpness 2 to player
        give 1 diamond Pickaxe of Efficiency 2 to player
        give 1 diamond shovel of Efficiency 2 to player
        give 1 diamond Hoe  of Efficiency 2 to player
        give 1 diamond Axe of Efficiency 2 to player
devamını getirirsin daa kolaylaştırdım sadece kısalttım kodları
 
Artık her server essentials kullanıyor ve essentials kullanmanı öneririm neyse
kod ben yazmadım editledim
Kod:
options:
    p: &6Sunucu &bIsmi |

command /kit [<text>]
    trigger:
        if arg 1 "muhtar"
        set {_difference} to difference between {fixyenileme.%player%} and now
        if {_difference} is less than 168 hor:
            set  {_difference} to difference between {_difference} and 168 hor
            message "{@p} &fBu Komut Tekrar Kullanmak İçin Lütfen &3168 &fSaat Bekle"
        set {fixyenileme.%player%} to now
        give 1 diamond helmet of protection 2 to player
        give 1 diamond chesplate of protection 2 to player
        give 1 diamond leggings of protection 2 to player
        give 1 diamond boots  of protection 2to player
        give 1 diamond sword of sharpness 2 to player
        give 1 diamond Pickaxe of Efficiency 2 to player
        give 1 diamond shovel of Efficiency 2 to player
        give 1 diamond Hoe  of Efficiency 2 to player
        give 1 diamond Axe of Efficiency 2 to player
devamını getirirsin daa kolaylaştırdım sadece kısalttım kodları
Tamam Teşekkürler
Gönderi otomatik olarak birleştirildi:

Aslında Bende Essentialsı Kullanmayı Seviyorum Ama Tek Sebeb Yüzünden Sevmiyorum ;
1- Türkçeleştirilmiyor
 
Tamam Teşekkürler
Gönderi otomatik olarak birleştirildi:

Aslında Bende Essentialsı Kullanmayı Seviyorum Ama Tek Sebeb Yüzünden Sevmiyorum ;
1- Türkçeleştirilmiyor
Birazcık araştırsaydın Türkçeleştirilebilir bir eklenti olduğunu öğrenirdin.
 
Birazcık araştırsaydın Türkçeleştirilebilir bir eklenti olduğunu öğrenirdin.
@motto Sen beni bi bilsen yemin ederimki bu essentials için geceleri hiç uyumadım o kadar aradımki hiç bişey bulamadım her yerleri araştırdım ama yine bişe bulamadım o yüzden sevmiyorum artık
 
Kod:
#ErQy571

on join:
    if {kitmuhtarbekle::%player%} is not set:
        set {kitmuhtarbekle::%player%} to 0
    if {kitoyuncubekle::%player%} is not set:
        set {kitoyuncubekle::%player%} to 0
    if {kityemekbekle::%player%} is not set:
        set {kityemekbekle::%player%} to 0
    if {kitmuhtaroffline::%player%} is not set:
        set {kitmuhtaroffline::%player%} to 0
    if {kitoyuncuoffline::%player%} is not set:
        set {kitoyuncuoffline::%player%} to 0
    if {kityemekoffline::%player%} is not set:
        set {kityemekoffline::%player%} to 0
    if {kitmuhtaroffline::%player%} is 1:
        send "&aArtık Muhtar kitini kullanabilirsin." to player
        set {kitmuhtaroffline::%player%} to 0
    if {kitoyuncuoffline::%player%} is 1:
        send "&aArtik Oyuncu kitini kullanabilirsin." to player
        set {kitoyuncuoffline::%player%} to 0
    if {kityemekoffline::%player%} is 1:
        send "&aArtik Yemek kitini kullanabilirsin." to player
        set {kityemekoffline::%player%} to 0



command /kitmuhtar:
    description: Muhtar kitini verir.
    trigger:
        if {kitmuhtarbekle::%player%} is 0:
            set {kitmuhtarbekle::%player%} to 1
            give 1 diamond helmet of protection 2 to player
            give 1 diamond chestplate of protection 2 to player
            give 1 diamond leggings of protection 2 to player
            give 1 diamond boots of protection 2 to player
            give 1 diamond sword of sharpness 2 to player
            give 1 diamond pickaxe of efficiency 2 to player
            give 1 diamond axe of efficiency 2 to player
            give 1 diamond shovel of efficiency 2 to player
            give 1 diamond hoe of efficiency 2 to player
            give 2 golden apple to player
            give 20 steak to player
            wait 168 hours
            set {kitmuhtarbekle::%player%} to 0
            if player is offline:
                set {kitmuhtaroffline::%player%} to 1
            if player is online:
                send "&aArtık Muhtar kitini kullanabilirsin." to player
        else:
            send "&cMuhtar kitini süresi dolmadan alamazsın." to player
            
command /kitoyuncu:
    description: Oyuncu kitini verir.
    trigger:
        if {kitoyuncubekle::%player%} is 0:
            set {kitoyuncubekle::%player%} to 1
            give 1 leather helmet to player
            give 1 leather chestplate to player
            give 1 leather leggings to player
            give 1 leather boots to player
            give 1 stone sword of sharpness 1 to player
            give 1 stone pickaxe of efficiency 1 to player
            give 1 stone axe of efficiency 1 to player
            give 1 stone shovel of efficiency 1 to player
            give 1 stone hoe of efficiency 1 to player
            give 20 steak to player
            wait 120 hours
            set {kitoyuncubekle::%player%} to 0
            if player is offline:
                set {kitoyuncuoffline::%player%} to 1
            if player is online:
                send "&aArtik Oyuncu kitini kullanabilirsin." to player
        else:
            send "&cOyuncu kitini süresi dolmadan alamazsın." to player
            
command /kityemek:
    description: Yemek kitini verir.
    trigger:
        if {kityemekbekle::%player%} is 0:
            give 20 steak to player
            give 64 apple to player
            wait 120 hours
            set {kityemekbekle::%player%} to 0
            if player is offline:
                set {kityemekoffline::%player%} to 1
            if player is online:
                send "&aArtik Yemek kitini kullanabilirsin." to player
        else:
            send "&cYemek kitini süresi dolmadan alamazsın." to player

Al sanırım çalışır bu, kopyalamadan önce bir kaç kez sayfayı yenileyip kopyala. Çok aceleyle yazdığım için hata olabilir.
 
Son düzenleme:
Kod:
command /kit-admin [<text>] [<text>] [<number>]:
    permission: ads
    trigger:
        arg-1 is "oluştur":
            arg-2 is set:
                {kitler::%arg-2%} isn't set:
                    set {kitler::%arg-2%} to arg-2
                    send "oluşturuldu"
                else:
                    send "zaten bu var"
            else:
                send "kit adı girmedin"
        arg-1 is "sil":
            arg-2 is set:
                {kitler::%arg-2%} is set:
                    delete {kitler::%arg-2%}
                    delete {kit.alanlar::%arg-2%::*}
                    send "silindi"
                else:
                    send "böyle bir kit yok"
            else:
                send "kit ad gir"
        arg-1 is "invset":
            arg-2 is seT:
                {kitler::%arg-2%} is set:
                    set {_env.s} to 0
                    wait 2 ticks
                    loop 36 times:
                        set {%arg-2%.inv.%{_env.s}%} to slot {_env.s} of player
                        add 1 to {_env.s}
                    set {%arg-2%.kask} to player's helmet
                    set {%arg-2%.zırh} to player's chestplate
                    set {%arg-2%.pant} to player's leggings
                    set {%arg-2%.bot} to player's boots
                    send "ayarlandı"
                else:
                    send "yok bu"
            else:
                send "ad gir"
        arg-1 is "süreayarla":
            arg-2 is set:
                {kitler::%arg-2%} is set:
                    arg-3 is set:
                        set {cooldown::%arg-2%} to arg-3
                        send "ayarlandı"
                    else:
                        send "sayı gir"
                else:
                    send "kit yok"
            else:
                send "ad gir"
        arg-1 is "liste":
            {kitler::*} is set:
                send "%{kitler::*}%"
            else:
                send "hiç kit yok"
command /kit [<text>]:
    trigger:
        arg-1 is set:
            arg-1 isn't "<none>":
                {kitler::%arg-1%} is set:
                    player has permission "kit.%arg-1%":
                        {kit.alanlar::%arg-1%::%player%} isn't set:
                            {%arg-1%::süre::%player%} isn't set:
                                set {_s} to 0
                                loop 36 times:
                                    set slot {_s} of player to {%arg-1%.inv.%{_s}%}
                                    add 1 to {_s}
                                set player's helmet to {%arg-1%.kask}
                                set player's chestplate to {%arg-1%.zırh}
                                set player's leggings to {%arg-1%.pant}
                                set player's boots to {%arg-1%.bot}
                                set {kit.alanlar::%arg-1%::%player%} to player
                                set {%arg-1%::süre::%player%} to {cooldown::%arg-1%}
                            else:
                                send "{@p} &csZaten %arg-1% adlı kiti almışsın,%{%arg-1%::süre::%player%}% saat sonra tekrar dene."
                        else:
                            send "{@p} &cZaten %arg-1% adlı kiti almışsın,%{%arg-1%::süre::%player%}% saat sonra tekrar dene."
                    else:
                        send "{@p} &c%arg-1% adlı kite sahip olmak için %arg-1% olmalısın."
                else:
                    send "{@p} &cBöyle bir kit yok."
            else:
                send "{@p} &cBöyle bir kit yok."
every a hour:
    loop {kitler::*}:
        {kit.alanlar::%loop-value%::*} is set:
            loop {kit.alanlar::%loop-value%::*}:
                remove 1 from {%loop-value-1%::süre::%loop-value-2%}
                if {%loop-value-1%::süre::%loop-value-2%} < 1:
                    delete {%loop-value-1%::süre::%loop-value-2%}
                    delete {kit.alanlar::%loop-value-1%::%loop-value-2%}
Herşeyi skriptden ayarlayabilirsin.
Denenmedi.
 
Ben simdi hangisini kullanimki bir suru var skript ☺ herkeze cok tesekkur ederim
Gönderi otomatik olarak birleştirildi:

Kod:
#ErQy571

on join:
    if {kitmuhtarbekle::%player%} is not set:
        set {kitmuhtarbekle::%player%} to 0
    if {kitoyuncubekle::%player%} is not set:
        set {kitoyuncubekle::%player%} to 0
    if {kityemekbekle::%player%} is not set:
        set {kityemekbekle::%player%} to 0
    if {kitmuhtaroffline::%player%} is not set:
        set {kitmuhtaroffline::%player%} to 0
    if {kitoyuncuoffline::%player%} is not set:
        set {kitoyuncuoffline::%player%} to 0
    if {kityemekoffline::%player%} is not set:
        set {kityemekoffline::%player%} to 0
    if {kitmuhtaroffline::%player%} is 1:
        send "&aArtık Muhtar kitini kullanabilirsin." to player
        set {kitmuhtaroffline::%player%} to 0
    if {kitoyuncuoffline::%player%} is 1:
        send "&aArtik Oyuncu kitini kullanabilirsin." to player
        set {kitoyuncuoffline::%player%} to 0
    if {kityemekoffline::%player%} is 1:
        send "&aArtik Yemek kitini kullanabilirsin." to player
        set {kityemekoffline::%player%} to 0



command /kitmuhtar:
    description: Muhtar kitini verir.
    trigger:
        if {kitmuhtarbekle::%player%} is 0:
            set {kitmuhtarbekle::%player%} to 1
            give 1 diamond helmet of protection 2 to player
            give 1 diamond chestplate of protection 2 to player
            give 1 diamond leggings of protection 2 to player
            give 1 diamond boots of protection 2 to player
            give 1 diamond sword of sharpness 2 to player
            give 1 diamond pickaxe of efficiency 2 to player
            give 1 diamond axe of efficiency 2 to player
            give 1 diamond shovel of efficiency 2 to player
            give 1 diamond hoe of efficiency 2 to player
            give 2 golden apple to player
            give 20 steak to player
            wait 168 hours
            set {kitmuhtarbekle::%player%} to 0
            if player is offline:
                set {kitmuhtaroffline::%player%} to 1
            if player is online:
                send "&aArtık Muhtar kitini kullanabilirsin." to player
        else:
            send "&cMuhtar kitini süresi dolmadan alamazsın." to player
           
command /kitoyuncu:
    description: Oyuncu kitini verir.
    trigger:
        if {kitoyuncubekle::%player%} is 0:
            set {kitoyuncubekle::%player%} to 1
            give 1 leather helmet to player
            give 1 leather chestplate to player
            give 1 leather leggings to player
            give 1 leather boots to player
            give 1 stone sword of sharpness 1 to player
            give 1 stone pickaxe of efficiency 1 to player
            give 1 stone axe of efficiency 1 to player
            give 1 stone shovel of efficiency 1 to player
            give 1 stone hoe of efficiency 1 to player
            give 20 steak to player
            wait 120 hours
            set {kitoyuncubekle::%player%} to 0
            if player is offline:
                set {kitoyuncuoffline::%player%} to 1
            if player is online:
                send "&aArtik Oyuncu kitini kullanabilirsin." to player
        else:
            send "&cOyuncu kitini süresi dolmadan alamazsın." to player
           
command /kityemek:
    description: Yemek kitini verir.
    trigger:
        if {kityemekbekle::%player%} is 0:
            give 20 steak to player
            give 64 apple to player
            wait 120 hours
            set {kityemekbekle::%player%} to 0
            if player is offline:
                set {kityemekoffline::%player%} to 1
            if player is online:
                send "&aArtik Yemek kitini kullanabilirsin." to player
        else:
            send "&cYemek kitini süresi dolmadan alamazsın." to player

Al sanırım çalışır bu, kopyalamadan önce bir kaç kez sayfayı yenileyip kopyala. Çok aceleyle yazdığım için hata olabilir.
On join filan yaziyor onlar ne oluyo tam olarak anlatirmisin bide despriction ne ?
 
Ben simdi hangisini kullanimki bir suru var skript ☺ herkeze cok tesekkur ederim
Gönderi otomatik olarak birleştirildi:


On join filan yaziyor onlar ne oluyo tam olarak anlatirmisin bide despriction ne ?
oyuncu sunucuya girince belirli variablesleri sıfırlıyor
 
Ben simdi hangisini kullanimki bir suru var skript ☺ herkeze cok tesekkur ederim
Gönderi otomatik olarak birleştirildi:


On join filan yaziyor onlar ne oluyo tam olarak anlatirmisin bide despriction ne ?
On join bugların olmaması içindir, çok önemli bir yer değil fakat silme. Ve eğer benim cevabımla çözüme kavuştuysan en iyi cevap olarak seçersen sevinirim :)
Gönderi otomatik olarak birleştirildi:

oyuncu sunucuya girince belirli variablesleri sıfırlıyor
Doğrudur.
 
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