- En iyi cevaplar
- 0
Merhaba dostlar.
Bugün benim tahminince CustomJoinItems yerine geçen ufak bir skripti paylaşıyorum.
CustomJoinItems pluginini çoktandır kullanmıyordum,yüksek ihtimalle bu skripte benziyordu,hatam varsa affola.
Uzatmadan kod:
Bugün benim tahminince CustomJoinItems yerine geçen ufak bir skripti paylaşıyorum.
CustomJoinItems pluginini çoktandır kullanmıyordum,yüksek ihtimalle bu skripte benziyordu,hatam varsa affola.
Uzatmadan kod:
Kod:
options:
p: &a&lCommandItem &8&l>
command /commanditem [<text>] [<text>]:
permission: commanditem.admin
trigger:
arg-1 isn't set:
send "&b&l&m-------------&r &a&lCommandItem &b&l&m-------------"
send "{@p} &eElinde bulunan iteme komut vermek için&8&l;%nl%&b/commanditem komutver &3<komut>"
send "{@p} &eKomut verilmiş itemin komutunu silmek için&8&l;%nl%&b/commanditem komutsil"
send "{@p} &eKomut verilmiş itemin tıklama türünü ayarlamak için&8&l;%nl%&b/commanditem tür-ayarla &c<&7sol,sağ&c>"
send "&b&l&m-------------&r &a&lCommandItem &b&l&m-------------"
arg-1 is "komutver":
arg-2 is set:
set {komutu::%player's tool%} to arg-2
send "{@p} &3%player's tool% &eisimli eşyaya &3%arg-2% &ekomutu atandı!"
arg-1 is "komutsil":
{komutu::%player's tool%} is set:
delete {komutu::%player's tool%}
send "{@p} &3%player's tool% &eisimli eşyanın komutu silindi!"
else:
send "{@p} &eBu eşyanın bir komutu yok!"
arg-1 is "tür-ayarla":
{komutu::%player's tool%} is set:
arg-2 is "sol":
set {tıklama.türü.%player's tool%} to "right"
send "{@p} &3%player's tool% &eisimli eşyanın tıklama türü &6Sol Tıklama &eolarak ayarlandı!"
arg-2 is "sağ":
set {tıklama.türü.%player's tool%} to "left"
send "{@p} &3%player's tool% &eisimli eşyanın tıklama türü &6Sağ Tıklama &eolarak ayarlandı!"
else:
send "{@p} &eBu eşyanın bir komutu yok!"
rightclick:
{tıklama.türü.%player's tool%} is "right":
{komutu::%player's tool%} is set:
{komutu::%player's tool%} is "snowball":
make player shoot a snowball at speed 15
else:
run player command "%{komutu::%player's tool%}%" as op
leftclick:
{tıklama.türü.%player's tool%} is "left":
{komutu::%player's tool%} is set:
run player command "%{komutu::%player's tool%}%" as op