başlık neden ingilizce sormayın spigotmcye böyle koydum ._. ve skript bilgim aşırı fazla değil o yüzden cevap kısmında bana ders vermeye çalışmayın yavaş yavaş her şeyi öğrenmeye çalışıyorum.
/xraymessage - xraymessage.onoff
destek için discord adresim BRKN#0929
BB Kod (Rich):
command /xraymessage [<text>]:
permission: xraymessage.onoff
permission message: &4Hey, Xray mesajlarını kapatıp açmak için yeterli yetkin yok!
trigger:
if arg-1 is "off":
remove "%player%" from {xraymessage::*}
send "&cBaşarıyla kapatıldı!"
if arg-1 is "on":
add "%player%" to {xraymessage::*}
send "&aBaşarıyla açıldı!"
if arg-1 is not set:
open chest with 1 rows named "&0Xray Mesajlarını Aç/Kapat" to player
wait 3 ticks
format slot 0 of player with * stained glass pane named "&aChat Mesajlarını Aktif Etme" with lore "&7Buraya tıkla!" to run [execute player command "/xraymessage on"]
format slot 8 of player with red stained glass pane named "&cChat Mesajlarını Deaktif Etme" with lore "&7Buraya tıkla!" to run [execute player command "/xraymessage off"]
on first join:
add "%player%" to {xraymessage::*}
send "&aXray mesajlarını alıyorsun. Kapatmak için &c/xraymessage off &akomutunu gir." to player
on block break:
loop {xraymessage::*}:
set {_x} to loop-value parsed as player
if event-block is diamond ore:
send "&f%player% &7adlı oyuncu az önce &bElmas Cevheri &7kırdı." to {_x}
else if event-block is gold ore:
send "&f%player% &7adlı oyuncu az önce &eAltın Cevheri &7kırdı." to {_x}
else if event-block is iron ore:
send "&f%player% &7adlı oyuncu az önce &fDemir Cevheri &7kırdı." to {_x}
else if event-block is emerald ore:
send "&f%player% &7adlı oyuncu az önce &aZümrüt Cevheri &7kırdı." to {_x}
else if event-block is ancient debris:
send "&f%player% &7adlı oyuncu az önce &4Antik Kalıntı &7kırdı." to {_x}
/xraymessage - xraymessage.onoff
destek için discord adresim BRKN#0929
Son düzenleme: