Jump to content
  • 0

Players spawn facing the wrong direction/angle.


Sturium

Question

Hello, so my issue is that when new players join they face angle 0, even though I did `/setworldspawn ~ ~ ~ -90` to make the angle -90, meaning they look to the left of the place they usually look at (angle 0). But what I realized is that when a player joins, and I type that command, then only he respawns looking at angle -90, but the angle doesn't apply to new players.

 

Server version: 1.19 with viabackwards and viaversion for support from 1.12 to 1.19.


Plugins: image.png.30c338eb342054c94e489d5d728f3dc7.png

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 1
11 hours ago, Sturium said:

Hello, so my issue is that when new players join they face angle 0, even though I did `/setworldspawn ~ ~ ~ -90` to make the angle -90, meaning they look to the left of the place they usually look at (angle 0). But what I realized is that when a player joins, and I type that command, then only he respawns looking at angle -90, but the angle doesn't apply to new players.

 

Server version: 1.19 with viabackwards and viaversion for support from 1.12 to 1.19.


Plugins: image.png.30c338eb342054c94e489d5d728f3dc7.png

You can use skript to teleport the player facing a certain direction when they join. Replace X Y and Z with your coords and the world name to... your world name.

on join:
	wait 1 tick
	teleport player to location(X, Y, Z, world("world"), -90, 0)

 

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Lifestealed | Minecraft Servers
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - Present

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...