Back to Blog
spawn chunksspawn protectionTPSserver optimizationpaperserver.propertiesperformance

Minecraft Server Spawn Protection & Spawn Chunks: How to Optimize the Most Loaded Area of Your Server

Published on September 04, 2026

# Minecraft Server Spawn Protection & Spawn Chunks: How to Optimize the Most Loaded Area of Your Server

When server admins talk about lag, they usually focus on view distance, entity counts, or plugins. But there's one area that is always loaded, always ticking, and almost never optimized: the spawn area.

Spawn chunks are permanently loaded — no matter how many players are online. That means every entity, every hopper, every redstone clock, and every villager sitting around your world spawn is eating CPU cycles around the clock. If your server is lagging and you haven't looked at your spawn setup, you're missing a big piece of the puzzle.

---

What Are Spawn Chunks?

Minecraft keeps a fixed set of chunks around the world spawn point permanently loaded in memory. These are called spawn chunks. In vanilla Minecraft, this is a 19×19 chunk area (radius of 9 chunks around spawn). On Paper and Spigot servers, the behavior is slightly different — by default, spawn chunks are still force-loaded unless you explicitly disable it.

Unlike player-loaded chunks, spawn chunks:

  • Never unload, even when no players are nearby
  • Continue to tick entities, block entities, and redstone
  • Use server RAM and CPU constantly
  • Can silently drain your TPS without appearing in basic diagnostics

---

spawn-protection in server.properties

Don't confuse spawn chunks with spawn protection. These are two separate settings.

spawn-protection in server.properties defines a radius (in blocks) around the world spawn where only operators can place or break blocks:

spawn-protection=16

For most servers — especially those with permission plugins like LuckPerms — this setting is redundant or actively problematic. It can block non-OP players from building in areas you *want* them to build in. If you're running a survival server with proper permissions, set this to:

spawn-protection=0

This doesn't affect spawn chunks — it's purely a build-protection radius.

---

How to Disable or Reduce Spawn Chunk Loading

On Paper, you can control whether the server keeps spawn chunks loaded via paper-world.yml (Paper 1.19+) or paper.yml (older versions):

# paper-world.yml (per-world or default)

chunks:

keep-spawn-loaded: true

keep-spawn-loaded-range: 2

Set keep-spawn-loaded: false if you don't need the spawn area to always be active. This is ideal for:

  • Servers where spawn is just a lobby
  • Networks where players immediately teleport away
  • Servers using a separate lobby plugin or BungeeCord/Velocity

Reducing keep-spawn-loaded-range from the default to 2 or even 1 means fewer spawn chunks are kept loaded, reducing constant RAM and CPU usage.

Warning: If you have automated farms, shops, or villager breeders at spawn that rely on always-on chunk loading, disabling this will break them. Always test changes in a staging environment first.

---

Moving Your World Spawn Away from Problem Areas

If your spawn has grown organically and now contains dozens of entities, item frames, armor stands, and redstone machines — the best long-term fix is to clean up the spawn area or move world spawn to a fresh location.

You can set the world spawn with:

/setworldspawn <x> <y> <z>

Best practices for spawn placement:

  • Keep spawn in a flat, simple area with minimal entities
  • Avoid placing automated farms or redstone contraptions within 128 blocks of spawn
  • Use a lobby world (separate world) for your main spawn if you're running a multi-world setup — this isolates the always-loaded chunks from your survival world

---

What to Watch Out for in Spawn Chunks

Here's what commonly causes hidden lag in spawn chunks:

1. Item Frames and Armor Stands

Item frames (especially filled ones) and armor stands are entities. Dozens of them at spawn — common in shop setups — add up fast. Use Glow Item Frames and consider swapping entity-based displays for block-based alternatives where possible.

2. Hoppers

As covered in our hopper optimization guide, hoppers tick constantly. Any hopper-based sorting system or shop at spawn is running 24/7. Configure hopper-cooldown in spigot.yml:

hopper-alt-ticking: true

ticks-per:

hopper-transfer: 8

hopper-check: 8

3. Villagers

Villagers are among the most expensive entities to tick. Any villager-based trading hall at or near spawn is constantly running pathfinding and AI — even with no players nearby. Move trading halls out of spawn chunks, or use Paper's disable-villager-travelling-to-wrongly-positioned-pois option to reduce unnecessary AI.

4. Chunk Tickets and Force-Loaded Chunks

Plugins sometimes force-load chunks near spawn using the /forceload command or the API. Run /forceload query to see which chunks are permanently loaded and remove unnecessary ones:

/forceload query

---

Diagnosing Spawn Chunk Lag

If you suspect spawn chunks are causing performance issues, use Spark to get a detailed thread profile:

/spark profiler --timeout 60

Look for entity ticking and block entity processing in threads that don't correspond to active player locations. If your main thread is spending time on chunks with no players nearby, spawn chunks are a likely culprit.

Tools like [PulseNode](https://pulsenode.tech) can help correlate TPS drops with time-of-day and server load patterns, making it easier to identify whether the constant background processing from spawn chunks is eating into your performance budget — especially on servers with variable player counts.

---

Quick Optimization Checklist

  • [ ] Set spawn-protection=0 in server.properties if you have proper permission management
  • [ ] Set keep-spawn-loaded: false in paper-world.yml if spawn doesn't need to be always active
  • [ ] Reduce keep-spawn-loaded-range to 2 or lower
  • [ ] Audit entities at spawn: remove unnecessary armor stands, item frames, villagers
  • [ ] Move automated farms and hopper systems away from the spawn area
  • [ ] Run /forceload query and remove unneeded force-loaded chunks
  • [ ] Profile with Spark to confirm spawn chunk impact

---

Final Thoughts

Spawn chunks are one of the most overlooked performance factors on Minecraft servers. Because they run silently in the background, the lag they cause doesn't always show up obviously in TPS charts or player complaints — it just quietly eats into your server's performance headroom.

Taking 30 minutes to audit and clean up your spawn area can yield significant TPS improvements, especially on servers that have been running for a while with organically grown spawn builds. Start with the paper-world.yml settings, clean up entities, and profile before and after with Spark to measure the difference.

---

*Want to keep an eye on your server's performance over time? [PulseNode](https://pulsenode.tech) provides AI-powered monitoring so you can catch spawn chunk issues — and other performance problems — before your players notice them.*

Optimize your server performance?

PulseNode monitors your Minecraft server in real-time and gives you AI-powered optimization tips.

Start for free
Minecraft Server Spawn Protection & Spawn Chunks: How to Optimize the Most Loaded Area of Your Server — PulseNode Blog | PulseNode