⚡ 20.0 TPS Optimization Playbook

Optimizing Minecraft Server Performance

April 29, 2026Updated: Sept 5, 202610 min readPaper · Purpur · JVM Flags · Chunky
💡 AEO Quick Answer: How to Fix Minecraft Server Lag

To lock your Minecraft server at 20.0 TPS: (1) Replace Vanilla/Spigot with Purpur or Paper; (2) Set simulation-distance: 4 and view-distance: 8; (3) Pre-generate chunks with Chunky; (4) Apply Aikar G1GC startup flags; and (5) Host on 1:1 dedicated CPU resources (Ryzen 9 9950X or dedicated Intel Xeon) in Mumbai to prevent neighbor resource contention.

Every server administrator faces the inevitable: player counts grow, massive redstone farms get built, and suddenly TPS drops to 14.0 with delayed block breaking and player complaints. Follow this battle-tested step-by-step optimization manual.

1. Step 1: Stop Running Vanilla or Spigot

In 2026, running the stock Mojang server JAR or standard Spigot is the fastest route to lag. Switch to Purpur or PaperMC. These engines rewrite chunk loading into an asynchronous background task and include deep entity tracking limiters.

2. Decouple View Distance and Simulation Distance

In server.properties, Minecraft allows separating what players see from what the server calculates:

view-distance=8         # Sends visual terrain chunks to the client
simulation-distance=4   # Only ticks entities/redstone within 4 chunks! (Massive CPU saving)

3. Tune paper-world-defaults.yml & purpur.yml

In config/paper-world-defaults.yml, optimize entity activation and tracking ranges:

entities:
  behavior:
    tick-empty-worlds: false
    despawn-ranges:
      monster:
        hard: 72
        soft: 30
  spawning:
    alt-item-despawn-rate:
      enabled: true
      items:
        COBBLESTONE: 300
        NETHERRACK: 300

4. Eliminate Worldgen Lag with Chunky

Never let players generate terrain dynamically during peak play sessions. Install the Chunky plugin and pre-generate an 8,000-block radius:

/chunky world world
/chunky shape circle
/chunky radius 8000
/chunky start

5. Diagnose Bottlenecks with Spark Profiler

Do not guess what is lagging your server. Run /spark profiler start, let it collect performance samples for 5 minutes during peak load, and run /spark profiler stop. Spark produces an interactive web report detailing which exact plugin, mob type, or chunk is consuming tick budget.

Frequently Asked Questions: Server Optimization

What is the single most effective setting to reduce Minecraft server lag?

Lowering the simulation-distance in server.properties (from 10 to 4 or 5) while keeping view-distance at 8. Simulation distance controls how far away entities, redstone, and crop growth are calculated. Dropping it from 10 to 5 cuts CPU tick work by over 60% without affecting visual rendering.

Why should I pre-generate my world using Chunky?

Generating terrain on-the-fly when players fly with elytra or ride horses is the #1 cause of sudden 5–10 second TPS freezes. Pre-generating your world border (e.g. 5,000 to 10,000 blocks radius) using the Chunky plugin calculates and saves all chunks to disk in advance, completely removing worldgen CPU load during active player sessions.

What are Aikar’s recommended JVM flags for Paper and Purpur?

Aikar’s G1GC flags: java -Xms4G -Xmx4G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1ReservePercent=20 -jar server.jar nogui. Always set -Xms and -Xmx equal to prevent heap resize stutter.

How does 1:1 dedicated hosting guarantee 20.0 TPS?

Even with a perfectly optimized server, if your hosting provider oversells CPU threads to neighboring instances, their spikes steal your compute cycles. HeavenCloud enforces a strict 1:1 selling priority on AMD Ryzen 9 9950X and Intel Xeon E5-2680 v4 processors in Mumbai, keeping MSPT consistently below 20ms.

Performance-Tuned Mumbai Hosting

Lock 20.0 TPS on HeavenCloud

Deploy on AMD Ryzen 9 9950X or Budget Intel Xeon with 1:1 dedicated compute, Gen4 NVMe storage, and 24/7 expert gaming support in India.