merhaba. essentials iile ilgili sorum var.
warp için cooldown nasıl yapabilirim ve ekranda nasıl ışınlanıyor diyip 5 den geriye nasıl sayabilirim.
options:
delay: 5
on command "/warp":
cancel event
if arg-1 is not set:
send "&cKullanım: /warp <warp_adı>"
stop
set {_loc} to player's location
send "&eIşınlanıyorsun..."
loop {@delay} times:
set {_time} to {@delay} - loop-number + 1
send title "&aIşınlanıyorsun..." with subtitle "&7%{_time}%" to player for 1 second
wait 1 second
if distance between player's location and {_loc} > 0.5:
send title "&c✗" with subtitle "&7Hareket ettin!" to player
send "&cIşınlanma iptal edildi!"
stop
set {_startLoc} to player's location
make console execute "essentials:warp %arg-1% %player%"
wait 3 ticks
if distance between player's location and {_startLoc} < 1:
send "&c[Essentials] '%arg-1%' adında bir warp bulunamadı!"
else:
send title "&aBaşarılı!" to player
play sound "entity.enderman.teleport" to player
bunu ne yapmam gerekiyor çünkü ne yapmam gerektiği hakkında herhangi bir fkrim yokKod:options: delay: 5 on command "/warp": cancel event if arg-1 is not set: send "&cKullanım: /warp <warp_adı>" stop set {_loc} to player's location send "&eIşınlanıyorsun..." loop {@delay} times: set {_time} to {@delay} - loop-number + 1 send title "&aIşınlanıyorsun..." with subtitle "&7%{_time}%" to player for 1 second wait 1 second if distance between player's location and {_loc} > 0.5: send title "&c✗" with subtitle "&7Hareket ettin!" to player send "&cIşınlanma iptal edildi!" stop set {_startLoc} to player's location make console execute "essentials:warp %arg-1% %player%" wait 3 ticks if distance between player's location and {_startLoc} < 1: send "&c[Essentials] '%arg-1%' adında bir warp bulunamadı!" else: send title "&aBaşarılı!" to player play sound "entity.enderman.teleport" to player
hallettim çok teşekkür ederim.Kod:options: delay: 5 on command "/warp": cancel event if arg-1 is not set: send "&cKullanım: /warp <warp_adı>" stop set {_loc} to player's location send "&eIşınlanıyorsun..." loop {@delay} times: set {_time} to {@delay} - loop-number + 1 send title "&aIşınlanıyorsun..." with subtitle "&7%{_time}%" to player for 1 second wait 1 second if distance between player's location and {_loc} > 0.5: send title "&c✗" with subtitle "&7Hareket ettin!" to player send "&cIşınlanma iptal edildi!" stop set {_startLoc} to player's location make console execute "essentials:warp %arg-1% %player%" wait 3 ticks if distance between player's location and {_startLoc} < 1: send "&c[Essentials] '%arg-1%' adında bir warp bulunamadı!" else: send title "&aBaşarılı!" to player play sound "entity.enderman.teleport" to player
Merhaba, önceliklebunu ne yapmam gerekiyor çünkü ne yapmam gerektiği hakkında herhangi bir fkrim yok
Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!