xVeryz
Yay Yok, İskelet Yok
- Katılım
- 6 Haziran 2021
- Mesajlar
- 290
- Elmaslar
- 42
- Puan
- 9.170
- Minecraft
- Rotxeein
Discord:
rotxeein0
rotxeein0
m1rxc
edoux.
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!"
maadenci
İ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!"
edoux.
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.
XBrexorX#2521
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
rotxeein0
Ç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?
rotxeein0
Ç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!"
rotxeein0
Ö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
Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!