Mineuniverse

Spawn protection

Spawn protection prevents players from building around world spawn, undoing any attempts at placing or breaking blocks.

1 min read Updated
Gameplay Java Edition Server
Advertisement Remove ads with Premium →
Contents (4)
  1. Description
  2. History
  3. Issues
  4. References
This feature is exclusive to Java Edition.

Spawn protection prevents players from building around world spawn, undoing any attempts at placing or breaking blocks.

Description

Spawn protection only exists in dedicated servers and does not apply in singleplayer worlds or LAN worlds. Spawn protection only applies in the Overworld, since the world spawn is always in the Overworld.

The spawn-protection field in server.properties determines the side length of the square spawn protection area as 2x+1. Setting this to 0 or a negative value disables the spawn protection. A value of 1 protects a 3×3 square centered on the spawn point, 2 protects 5×5, 3 protects 7×7, etc. The area that it protects is (spawn-protection×2 + 1)×(spawn-protection×2 + 1).

Operators (in the ops.json) can bypass the spawn protection.

If there are no operators at all in the server, spawn protection does not apply.

There are several indirect ways to bypass spawn protection, namely activating pistons, dispensers, explosives and using mob griefing.

History

Java Edition Beta
1.3 Added spawn protection. The radius is always 16 (protecting a 33×33 area).
Java Edition
1.4.212w40a Added spawn-protection to server.properties.
Spawn protection no longer applies if the server does not have any ops.
1.513w05a Setting spawn-protection to 0 now disables spawn protection, instead of protecting a 1×1 area.[1]
1.814w17a Added the world border. It is stated that terrain outside of this border should be treated the same as spawn protection, although the implementation is flawed.

Issues

Issues relating to "Spawn protection" are maintained on the bug tracker. Issues should be reported and viewed there.

References

  1. ↑ MC-666 – Spawn Protection not working properly – resolved as "Fixed".
Advertisement Remove ads with Premium →

More in Java Edition

View all 57 →
Simple BlockSimple block is a feature that places a block based on a block state provider.Simple Random SelectorSimple random selector is a technical feature that randomly chooses a feature from a list with each having an equal chance.Small End IslandsSmall End IslandsThe small End islands is a biome used to generate outer End islands.Social interactionsSocial interactionsThe Social Interactions screen is a graphical interface used to disable chatting with certain players, and report players for messages, skins, usernames…Spectral ArrowSpectral ArrowA spectral arrow is a type of arrow that inflicts the Glowing effect on hit in addition to dealing damage.Strider JockeyStrider JockeyA strider jockey is the appearance of a strider being ridden by a zombified piglin.‌[JE only] The zombified piglin rider wields a warped fungus on a stick…Striding HeroStriding HeroStriding Hero is a collection of skins released during the Community Celebration that matches the map of the same name. Primarily released for Java…Sweeping EdgeSweeping Edge is an enchantment applied to swords that increases sweep attack damage. This only affects the damage of the sweep attack against other…
Advertisement Remove ads with Premium →

Related mods

No Op Spawn Protection No Op Spawn Protection Mod · 26K downloads Random Spawn Protection Plugin · 14.2K downloads Common Protection API: Spawn Protection Integration Common Protection API: Spawn Protection Integration Mod · 4.9K downloads Better Spawn Protection Better Spawn Protection Mod · 1.7K downloads
Explore the Minecraft Wiki
Blocks, items, mobs, biomes and game mechanics — all in one place.
Wiki home