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

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

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.
| improve this answer | |
  • 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. – Billy Mailman Mar 23 '14 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 '19 at 23:58
  • @michael That would be a good new question. You should Ask it! – SevenSidedDie Jun 22 '19 at 18:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.