Bulundu Shulker kilit!

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

xVeryz

Yay Yok, İskelet Yok
Katılım
6 Haziran 2021
Mesajlar
290
Elmaslar
42
Puan
9.170
Minecraft
Rotxeein

Discord:

rotxeein0

Merhaba! benim istediğim özellik bir shulker'a sahip kullanıcı o shulker'i yere koyduğu zaman o shulkeri sadece o açabilsin ve o kırabilirsin. Yani kim koydu ise sahibi o olsun!

NOT: YAPANLARA YAPAMAYANLARA ÇOK TEŞEKKÜR EDERLER YARDIM EDENLERE TEŞEKKÜRLER!!!!
 
ChestLock eklentisini deneyebilirsiniz
 
JavaScript:
on place:
    if "%event-block%" contains " shulker box":
        send "&aBu shulker artık korunuyor &e(&f%x-coordinate of event-block%, %y-coordinate of event-block%, %z-coordinate of event-block%&e)"
        set {shulkerKilit::%location of event-block%} to player's display name
 
on break:
    if "%event-block%" contains " shulker box":
        if player is op:
            send "&f&2%{shulkerKilit::%location of event-block%}% &aadlı oyuncunun shulker'ını kırdın &e(&f%x-coordinate of event-block%, %y-coordinate of event-block%, %z-coordinate of event-block%&e)"
            clear {shulkerKilit::%location of event-block%}
            stop
        if {shulkerKilit::%location of event-block%} = player's display name:
            send "&aShulker korumasını kaldırdın &e(&f%x-coordinate of event-block%, %y-coordinate of event-block%, %z-coordinate of event-block%&e)"
            clear {shulkerKilit::%location of event-block%}
            stop
        else:
            cancel event
            send "&4Hata &7> &fBu shulker &e%{shulkerKilit::%location of event-block%}% &ftarafından koruma altında!"
 
on right click:
    if "%event-block%" contains " shulker box":
        if player is op:
            stop
        if {shulkerKilit::%location of event-block%} = player's display name:
            stop
        else:
            cancel event
            send "&4Hata &7> &fBu shulker &e%{shulkerKilit::%location of event-block%}% &ftarafından koruma altında!"
 
JavaScript:
on place:
    if "%event-block%" contains " shulker box":
        send "&aBu shulker artık korunuyor &e(&f%x-coordinate of event-block%, %y-coordinate of event-block%, %z-coordinate of event-block%&e)"
        set {shulkerKilit::%location of event-block%} to player's display name
 
on break:
    if "%event-block%" contains " shulker box":
        if player is op:
            send "&f&2%{shulkerKilit::%location of event-block%}% &aadlı oyuncunun shulker'ını kırdın &e(&f%x-coordinate of event-block%, %y-coordinate of event-block%, %z-coordinate of event-block%&e)"
            clear {shulkerKilit::%location of event-block%}
            stop
        if {shulkerKilit::%location of event-block%} = player's display name:
            send "&aShulker korumasını kaldırdın &e(&f%x-coordinate of event-block%, %y-coordinate of event-block%, %z-coordinate of event-block%&e)"
            clear {shulkerKilit::%location of event-block%}
            stop
        else:
            cancel event
            send "&4Hata &7> &fBu shulker &e%{shulkerKilit::%location of event-block%}% &ftarafından koruma altında!"
 
on right click:
    if "%event-block%" contains " shulker box":
        if player is op:
            stop
        if {shulkerKilit::%location of event-block%} = player's display name:
            stop
        else:
            cancel event
            send "&4Hata &7> &fBu shulker &e%{shulkerKilit::%location of event-block%}% &ftarafından koruma altında!"
İsim yerine UUID kullanırsanız daha sağlıklı olur.
 
İsim yerine UUID kullanırsanız daha sağlıklı olur.
Haklısınız ama "Bu shulker x tarafından koruma altında!" mesajını verebilmek için böyle yaptım. yine de bu hâliyle de sorun çıkmaz, sanırım
 
Haklısınız ama "Bu shulker x tarafından koruma altında!" mesajını verebilmek için böyle yaptım. yine de bu hâliyle de sorun çıkmaz, sanırım
Sorununuz veya sorunuz eğer çözüldü ise lütfen konunun ön ekini bulundu olarak değiştirirmisiniz?
 
Sorununuz veya sorunuz eğer çözüldü ise lütfen konunun ön ekini bulundu olarak değiştirirmisiniz?
Çok özür dilerim. Uzun zamandır cevap gelmemişti bende artık gelmez diyerek girmedim fakat şimdi bakıyım dedim. Şimdi deniyorum scripti!
 
JavaScript:
on place:
    if "%event-block%" contains " shulker box":
        send "&aBu shulker artık korunuyor &e(&f%x-coordinate of event-block%, %y-coordinate of event-block%, %z-coordinate of event-block%&e)"
        set {shulkerKilit::%location of event-block%} to player's display name
 
on break:
    if "%event-block%" contains " shulker box":
        if player is op:
            send "&f&2%{shulkerKilit::%location of event-block%}% &aadlı oyuncunun shulker'ını kırdın &e(&f%x-coordinate of event-block%, %y-coordinate of event-block%, %z-coordinate of event-block%&e)"
            clear {shulkerKilit::%location of event-block%}
            stop
        if {shulkerKilit::%location of event-block%} = player's display name:
            send "&aShulker korumasını kaldırdın &e(&f%x-coordinate of event-block%, %y-coordinate of event-block%, %z-coordinate of event-block%&e)"
            clear {shulkerKilit::%location of event-block%}
            stop
        else:
            cancel event
            send "&4Hata &7> &fBu shulker &e%{shulkerKilit::%location of event-block%}% &ftarafından koruma altında!"
 
on right click:
    if "%event-block%" contains " shulker box":
        if player is op:
            stop
        if {shulkerKilit::%location of event-block%} = player's display name:
            stop
        else:
            cancel event
            send "&4Hata &7> &fBu shulker &e%{shulkerKilit::%location of event-block%}% &ftarafından koruma altında!"
Çok teşekkür ederim. Hemen deniyorum çok iyi çalışıyor gerçekten çok teşekkürler!
 
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