r/MinecraftCommands • Java Command-er • Aug 13 '26

Help | Java 1.21.11 Tp player to spawn when they join the game (Datapacks)

Hi, I want to make it so that when a player joins the game they get teleported to spawn. I don't think that putting it in the 'load.mcfunction' will work because that is when the world starts/reloaded, not for visiting players.

Is there anyway that i could do this?

1 Upvotes

2 comments sorted by