J
Jarseption
Ziyaretçi
Rastgele diyor belirli yer demiyor ?Oyuna ilk girdiği yerde doğmasını istiyorsanız Multiverse-Core Authme ve Essentials'dan ayarlayabilirsiniz.
Essentialsla yapmak için, Spawnın olduğu yere gidip /setspawn komutunu yazın.
Authme ile yapmak için /authmesetspawn ve /authmefirstsetspawn komutunu kullanabilirsiniz.
Multiverse-core ile yapmak için /mv setspawn komutunu kullanabilirsiniz.
Rastgele diyormuş, dalgınlıkla yanlış okumuşum :DRastgele diyor belirli yer demiyor ?
Oyuncular Öldüğünde Yada Oyuna İlk Defa Girdiklerinde Her Seferinde Rastgele Yerde Doğmasını İstiyorum Bunu Nasıl Yapabilirim. Ama Belli Bi Alan İçinde Olsun Yani Çok Fazlada Uzağa Gitmesin.
on first join:
if world is not "world":
send "&c[ M.A.L.I.A ] Not the right world to random TP"
else:
set {_POSITION::OLD} to player's location
while player's location is {_POSITION::OLD}:
set {_POSITION::RANDOM} to location at random number between 9999 and -9999, 0, 400 # X, Y, Z
loop blocks above {_POSITION::RANDOM}:
if loop-block and block above loop-block are air:
if block under loop-block is not air or water block or lava block:
set {_POSITION::RANDOM} to location of loop-block
teleport player to {_POSITION::RANDOM}
stop loop
Öldüğünde Ve Giriş Yaptığındada Olmasını İstiyorum Ekleyebilirmisin. :)Kod:on first join: if world is not "world": send "&c[ M.A.L.I.A ] Not the right world to random TP" else: set {_POSITION::OLD} to player's location while player's location is {_POSITION::OLD}: set {_POSITION::RANDOM} to location at random number between 9999 and -9999, 0, 400 # X, Y, Z loop blocks above {_POSITION::RANDOM}: if loop-block and block above loop-block are air: if block under loop-block is not air or water block or lava block: set {_POSITION::RANDOM} to location of loop-block teleport player to {_POSITION::RANDOM} stop loop
Bana ait değildir.
On death, on joinÖldüğünde Ve Giriş Yaptığındada Olmasını İstiyorum Ekleyebilirmisin. :)
Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!