1

How do I set a (world)-spawn in the nether, so that when a player dies, they respawn in the nether? I am unwilling to use the trick of moving the nether to the overworld. A respawn anchor is nice, but I want them to keep working even after a few deaths. I also don't want to make glowstone accessible to the player (before reaching the overworld).

The player starts in the nether, and the respawn should work similarly to the world spawn. The player should not be able to 'cheat respawn' their way to the overworld without going there first and setting a bed as spawn.

My idea was to set up a respawn anchor in the nether, and a repeating command block which keeps replacing the respawn anchor with a full one in the overworld spawn chunks. Only this doesn't work for new players.

4
  • You can use the /spawnpoint command rather than messing around with respawn anchors. But that probably still won't work for new players.
    – pppery
    Feb 16, 2023 at 1:37
  • Unfortunately, it doesn't seem like it's supported in vanilla java. If you're running the server yourself you could use a mod like GlobalSpawn. The other alternative is quite funny: set up tripwires in the overworld spawn that trigger commandblocks that teleports them to the nether spawn (have not tested if this is possible).
    – necklace
    Feb 16, 2023 at 14:20
  • You can set the spawn point in the Nether using the "setworldspawn" command. Feb 16, 2023 at 15:50
  • @artista_sin_nombre according to the wiki, you cannot: "This command can not be used to set the world spawn in any dimension other than the Overworld. In Java Edition, if executed in another dimension, the command will act as if it succeeded, but the world spawn will not be changed."
    – Plagiatus
    Feb 17, 2023 at 7:42

1 Answer 1

2

For new players in repeating command block:
execute as @a[tag=!joined] in minecraft:the_nether run tp @s x y z

In a conditional chain command block:

execute in minecraft:the_nether spawnpoint @a[tag=!joined] x y z

In a conditional chain command block:

execute as @a[tag=!Joined] run tag @s add joined

this would be more efficent in a datapack but it can still work with just commands

edit: i changed it to allow players to overwrite there spawnpoint that is in the nether

1
  • except that will overwrite players spawn to always be at x y z, even if they make a respawn anchor.
    – Plagiatus
    Mar 17, 2023 at 7:54

You must log in to answer this question.

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