options:
xMin: -1000
xMax: 4000
zMin: -1000
zMax: 4000
yMin: 65
yMax: 80
world: world
permissions: ptp.gracz
on first join:
if player has permissions "{@permissions}":
set {_targetx} to a random integer between {@xMin} and {@xMax}
set {_targetz} to a random integer between {@zMin} and {@zMax}
wait 5 ticks
execute console command "/tppos %player% %{_targetx}% {@yMin} %{_targetz}%"
stop
Powinno działać.