mojira.dev
MC-75256

Spawnprotection is also spawn randomization size

The spawn-protection option in server.properties appears to also be the area size that players will spawn in.

Documentation implies that players will spawn in a 20x20 area around the worldspawn point. When the spawn-protection is set to a high value (400) players are able to spawn that many blocks away from the set spawn point. Setting the value low (5) will spawn players as expected.

My world has a custom spawn point inside a labyrinth. I'd like to be able to use the spawn-protection value to prevent breaking through the labyrinth but need to be able to control where players spawn.

Comments 3

Tested by changing value in server.properties. Removing playerdata file and restarting server.

Eg:
alex@greypower:~/Minecraft/Left-Rights/playerdata$ vi ../../server.properties
alex@greypower:~/Minecraft/Left-Rights/playerdata$ rm 9303e419-9684-4368-8e25-3fc77bcd62ad.dat

Same issue in 1.8.1 pre5 server. The intended approx 20 x 20 block centered around spawn point as the randomized spawn area changes when spawn protection is changed and or world border is expanded causing undesirable expanded randomization of spawn, mostly to the north east in the case of the world border.

Expected results: Spawn protection area and World border to be separate from the expected 20 x 20 randomized spawn area.

William Martin

michael

Unconfirmed

Minecraft 1.8.1

Minecraft 15w51a

Retrieved