I want all mine players on the minecraft server to spawn at the hub, so spawn, assuming the hub is at coordinates 1 1 but if you go down at coordinates 35 30 from the server, you should spawn at coordinates 1 1 (if you are again it is jointed) does this work with a plugin or a command?
/ set worldspawn [coordinates]
*No guarantee
He wants you to be back at 1 1 when you rejoint.
So hard to understand the Faze jz… XD
Stand on the exact point where you want the spawn.
Then enter the command / set worldspawn if that doesn't work try the following (have the comments not all in your head
/ setworldspawn
/ set worldspawn ~ ~ ~
~ This stands for the respective coordinate on which you are located the x / y / z value
I don't know about exact server plugins, I never managed one myself, but the command definitely sets the worldspawn
With one command:
First you need a scoreboard that counts when the player leaves the game.
/ scoreboard objectives add leave_game minecraft.custom: minecraft.leave_game
Then you can teleport the player to the coordinates with these two commands:
/ execute as @a [scores = {leave_game = 1.}] run teleport @s 1 1 1
/ execute as @a [scores = {leave_game = 1.}] run scoreboard players reset @s leave_game