SPI
SPI command
Works like SetPlayerPos but additionally accepts a yaw and pitch to orient the view, using the x, y, z coordinates plus the given angles.
Argument information
<X>type: numberThe X coordinate.
<Y>type: numberThe Y coordinate.
<Z>type: numberThe Z coordinate (height).
<Yaw>type: textThe horizontal facing angle, in degrees.
<Pitch>type: textThe vertical facing angle, in degrees.
Command builder
X
Y
Z
Yaw
Pitch
Examples
This console command teleports you to the world coordinates X -371471, Y -408636, Z -13584 and orients your view to a yaw of -173.80 and a pitch of -12.91.
Using cheats on a server
On a multiplayer server, authenticate first with enablecheats <password>, and prefix admin commands with admincheat instead of cheat.
