Tell me more ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

I have a small server for my friends and I that does not use Bukkit. I can't seem to figure out how to move the spawn away from the default position. How can I do this?

share|improve this question

3 Answers

to set your spawn location write /spawnpoint

share|improve this answer
3  
Are you sure? On a vanilla server? – deutschZuid Apr 11 at 8:23

You could try MCEdit, which allows you to modify spawn points within your level.dat file inside your world folder. Not sure if it has been updated yet.

Also, there is a height cap I believe for MCEdit, which prevents you from setting your spawn points below a certain y coordinate (I believe it's -173).

share|improve this answer
1  
Negative 173? As in, 173 blocks below the bottom of the map? As in, below y = -63 where you start taking huge damage from The Void and rapidly die? Somehow I doubt the cap will be a problem for the OP. – Yamikuronue Jan 25 '12 at 13:27
Sea level I believe. Not sure, used it once, and my memory is fuzzy. – Retrosaur Jan 25 '12 at 22:52
1  
Sea level is layer 62 now, with the top of the map layer 127 and the bottom layer 0. A little digging reveals that the game itself won't spawn you below layer 64 (which is where your head is when you're standing on 62); instead, it'll declare the spawn point invalid and spawn you randomly. This manifests most obviously in a new flat map where the whole map is layer y=4; you won't have a set spawn point if you die, you'll just spawn somewhere random because there are no valid spawn locations. (continuing) – Yamikuronue Jan 26 '12 at 14:19
1  
(Continued) In actuality, the algorithm is a little more complex: it'll check level 63 and 64, looking for solid blocks, then count upwards until it finds air. If there's nothing solid at 63 and 64, it moves you elsewhere where it thinks it can find land. minecraftforum.net/topic/617959-mcedit-spawn-fail – Yamikuronue Jan 26 '12 at 14:20

On a purely vanilla server, you can't. There are no built-in tools or commands to move the spawn point. However, without necessarily using mods like Bukkit, you can still use external tools to modify the level.dat file to change the spawn point.

You can use a program like NBTEdit or NBTExplorer (or NEINedit if on a Mac) to open your level.dat file inside your world folder. Then change the values for SpawnX, SpawnY, and SpawnZ to the coordinates you'd like for your new spawn.

Note that moving the spawn will also move the protected block radius, so keep that in mind.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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