- Katılım
- 6 Haziran 2021
- Mesajlar
- 217
- Elmaslar
- 32
- Puanlar
- 2.170
- Minecraft
- Rotxeein
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.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!"
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İsim yerine UUID kullanırsanız daha sağlıklı olur.
Sorununuz veya sorunuz eğer çözüldü ise lütfen konunun ön ekini bulundu olarak değiştirirmisiniz?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
Ç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!Sorununuz veya sorunuz eğer çözüldü ise lütfen konunun ön ekini bulundu olarak değiştirirmisiniz?
Çok teşekkür ederim. Hemen deniyorum çok iyi çalışıyor gerçekten çok teşekkürler!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!"
Önerin için çok teşekkür ederim fakat bana tam anlattığım gibi bir şey lazımdı ve buldum çok teşekkürler yinede!ChestLock eklentisini deneyebilirsiniz