Hi
very short question how do you do that a compass to a player shows in minecraft what the command would be and I'm happy about every answer
The command
/ execute at USERNAME run setworldspawn ~ ~ ~
Enter in a command block and set it to repeat.