Resul Sever
Odunlara Vur Vur Vur!
- Katılım
- 2 Ocak 2017
- Mesajlar
- 42
- Elmaslar
- 19
- Puan
- 8.760
Serverinde Essentials vb. kullanmayanlar için, warp / ışınlanma skripti.
Admin permi: admin.warp
Ayarlamalar:
Admin komutları:
Hastebin;
Admin permi: admin.warp
Ayarlamalar:
- warptime: bekleme saniyesi
- plugin: #yazının prefixi
Admin komutları:
- /setwarp warp adı - Işınlanma noktası belirler.
- /delwarp warp adı - Işınlanma noktası siler.
- /warp warp adı - Belirlenen ışınlanma noktasına gider.
- /warplist - Belirlenen ışınlanma noktalarını gösterir.
Kod:
options:
warptime: 5 #bekleme saniyesi
plugin: &e[&6&lWarp&e]&a #yazının prefixi
command /setwarp [<text>]:
trigger:
if player has permission "admin.warp":
if {WARP::%arg 1%} is not set:
set {WARP::%arg 1%} to location of player
send "{@plugin} %arg 1% &e oluşturuldu."
else:
send "{@plugin} &4Bu ışınlanma noktası zaten mevcut."
else:
send "{@plugin} &4Bunu yapmaya yetkiniz yok."
command /delwarp [<text>]:
trigger:
if player has permission "admin.warp":
if {WARP::%arg 1%} is set:
delete {WARP::%arg 1%}
send "{@plugin} %arg 1% &e kaldırıldı."
else:
send "{@plugin} &4Bu ışınlanma noktası mevcut değil."
else:
send "{@plugin} &4Bunu yapmaya yetkiniz yok."
command /warplist:
trigger:
set {_s} to size of {WARP::*}
send "&aIşınlanma Noktaları &2(%{_s}%)"
loop {WARP::*}:
send "&a - &e%loop-index%"
command /warp [<text>]:
trigger:
if {WARP::%arg 1%} is set:
send "&cDon't move teleport in &a{@warptime} &4Seconds"
set {_x} to "%x-coordinate of player%"
set {_z} to "%z-coordinate of player%"
set {_seconds} to {@warptime} * 10
loop {_seconds} times:
wait 2 tick
if "%{_x}%" is not "%x-coordinate of player%":
send "{@plugin} &4Hareket ettiğiniz için, ışınlanma gerçekleştirilemedi."
stop
if "%{_x}%" is not "%x-coordinate of player%":
send "{@plugin} &4Hareket ettiğiniz için, ışınlanma gerçekleştirilemedi."
stop
teleport player to {WARP::%arg 1%}
else:
send "{@plugin} /warplist"
Hastebin;
Değerli ziyaretçimiz, içeriği görebilmek için
şimdi giriş yapın veya kayıt olun.