In the old MSpawns plugin when you used /sethub or /setlobby, apart from saving the block location, it saved the position in which the body appeared, i.e. if I used the command looking at a statue, the players when joining them appeared looking at the statue.
It is very useful for servers that only have one path to follow, but if you appear with your back to the spawn it looks a bit weird.
I would also like this to apply to other commands such as /warp or /home.
Here is the line of code that I believe is responsible for that in the MSpawns plugin:
In the old MSpawns plugin when you used /sethub or /setlobby, apart from saving the block location, it saved the position in which the body appeared, i.e. if I used the command looking at a statue, the players when joining them appeared looking at the statue.
It is very useful for servers that only have one path to follow, but if you appear with your back to the spawn it looks a bit weird.
I would also like this to apply to other commands such as /warp or /home.
Here is the line of code that I believe is responsible for that in the MSpawns plugin:
I'm not sure if it's that line, here is the direct link to the code https://github.com/EvolSoft/MSpawns/blob/master/src/MSpawns/Commands/SetHub.php