13

If I /setworldspawn, and then /spawnpoint, will the player's spawn point be at the location where /setworldspawn or /spawnpoint was set?

4
  • Are these vanilla commands? Or is this a mod/bukkit?
    – Unionhawk
    Oct 28, 2013 at 22:33
  • 1
    @Unionhawk /setworldspawn is new in 1.7, /setspawn has been around in vanilla for a while. Oct 28, 2013 at 22:34
  • @SevenSidedDie Aaaaahhh... It's /spawnpoint. That's what was going wrong on my end.
    – Unionhawk
    Oct 28, 2013 at 22:35
  • @Unionhawk Ah! I need to fix that then. Good eye. ;) Oct 28, 2013 at 22:36

1 Answer 1

18

This depends on who "the player" you're talking about is. The important thing is that the world spawn and a player's spawn are entirely separate things, and these commands each affect one of those, but not the other.

/setworldspawn moves the spawn point encoded in the world: this is where new players and players whose spawn points are invalid (e.g., broken or blocked beds) are spawned. Any player with a valid spawn point already set elsewhere will be unaffected.

/spawnpoint changes your spawn point, just as if you'd used a bed.

So the result of typing /setworldspawn then /spawnpoint would be to change the default spawn point of the world to the coordinates you specified in the first command, and then set your spawnpoint to the coordinates you specified in the second command.

If by "the player" you mean anyone else, then what will happen depends on whether they already have a spawn point set with a bed or with /spawnpoint:

  • If they don't already have their own spawnpoint, their spawnpoint becomes the new world spawnpoint.
  • If they do already have their own spawnpoint, nothing changes for that player.
4
  • 1
    Note: /spawnpoint can set the spawn location for any player, not just that of the player using it. The player you specify needs to be on the server at the time, and you need to be an operator on the server to do it. Mar 23, 2014 at 14:04
  • one thing that is unclear to me - can you set the world spawn point for the end and nether this way?
    – Michael
    Jun 21, 2019 at 23:58
  • @michael That would be a good new question. You should Ask it! Jun 22, 2019 at 18:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .