2

How would you set a player's spawn point when they die? I'm making a map where the way to move on to the next level is by dying. Basically, what I want is a command that will set the player's spawn point to the next level upon death.

2 Answers 2

2

Place a pressure plate down, and under it place a Command Block saying

/spawnpoint @p ~ ~1 ~.

if you want to make it more precise on whom it teleports, you can use

/execute @a[x=?,y=?,z=?,r=0] ~ ~ ~ spawnpoint @s ~ ~ ~

0

When player enters death room, make a pressure plate linked to command block that sets their spawnpoint to the next room.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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