Download Chunky, spark, and Paper reference docs
Generating new terrain while players explore can add load to a server. Pre-generating the intended play area with Chunky can reduce that work during play; use spark to investigate performance issues while they occur. Neither tool guarantees a particular performance result 1 2 3.
Install a compatible Chunky build in Paper’s plugins/ folder and restart. Paper 1.21 and newer bundles spark; consult Paper’s profiling documentation for older versions or a standalone plugin 1 3 5. Run pre-generation while the server is running, preferably during a quiet period, and monitor available disk space and performance.
Pre-generation and performance profiling downloads
Set realistic world borders before running Chunky
Choose a generation area based on your world, expected exploration, and available disk space. Estimate storage with a smaller test area and leave room for growth and backups; actual size varies 2.
For an example border centered at 0 0, /worldborder set 10000 sets a diameter of 10,000 blocks. The matching radius is 5,000 blocks. Run the border commands in the intended world, then select that world and import its border with /chunky worldborder before starting 2.
/worldborder center 0 0
/worldborder set 10000
/chunky world world
/chunky worldborder
/chunky start
/chunky progressMonitor live TPS vs MSPT cleanly with spark
Minecraft normally targets 20 ticks per second, leaving 50 milliseconds per tick. TPS averages can hide brief spikes, so review tick times as well as TPS. Run /spark health with suitable permissions to inspect the server’s metrics, and profile while the problem is occurring 4.
Interpreting spark /spark health metrics on live Paper servers
| Metric | Healthy target | Warning zone | Next step |
|---|---|---|---|
| MSPT (median / 95th) | Under 30 ms | 45 ms to 55 ms+ | Capture a 60s spark profiler trace 4 |
| TPS | 20.0 steady | Under 19.0 during gameplay | Check profiler tree for single hot plugin/chunk 4 |
| GC Stop / Overhead | Minimal brief young GCs | Frequent OldGen pauses | Review garbage collection and heap usage with appropriate diagnostics. |
| Disk free space | Enough space for growth and tested backups | Space is running low for your workload | Pause generation and free space without deleting needed backups. |
Capture 60-second CPU profiles using /spark profiler
When MSPT creeps above 40 ms during crowded peak play, stop guessing which plugin or farm hurts ticks 4. Execute /spark profiler start --timeout 60 from console, let normal gameplay continue undisturbed for one minute, and click the generated web viewer link printed by spark 4.
Expand Server thread inside the interactive call tree: look for high-percentage lines showing entity ticking (Villager, Hopper, Item), chunk generation (ChunkMap), or a specific misbehaving plugin event listener rather than removing random plugins blindly 4.
/spark health
/spark profiler start --timeout 60
/spark heapsummary
/spark tpsAlso pre-generate Nether travel corridors cleanly
Consider pre-generating the Nether and other dimensions players will explore. Select the actual world name with /chunky world <world> and choose an area appropriate to that dimension and its storage budget. Check the selection before starting 2.
Performance readiness launch checklist
After generation, check free disk space and confirm that spark is available. Capture a profile while a performance problem is occurring; review it before changing server settings 4.
Pre-generation and profiling verification steps
- Match
/worldborder setsize cleanly to your plannedChunkyradius 2. - Pre-generate the intended area in each world, using the correct world name and a radius suited to available storage 2.
- Confirm spare SSD headroom remains clean after chunk files settle on disk.
- Confirm spark is available and test its health and profiler commands 3 4.
- Monitor tick-time percentiles under representative load and investigate recurring spikes.
Frequently asked questions
Can I pause Chunky mid-generation if players want to play and resume overnight?
Use /chunky pause to pause the task and /chunky continue to resume it later. Keep backups and monitor logs and disk space 2.
Why does 19.8 TPS still sometimes feel laggy when MSPT hits 55 ms?
If tick spikes jump past 50 milliseconds for several ticks in a row while averaging near 20 TPS over one minute, combat hits and blocks feel rubbery; always watch MSPT percentiles in /spark health.
Does keeping spark installed hurt Paper performance during combat?
Paper 1.21 and later bundles spark. Profiling has some overhead, so measure on your server if performance is a concern.
What happens if Chunky fills 100% of my VPS storage drive?
A full disk can prevent world saves and cause data loss or server errors. Check free space before and during generation, pause Chunky if space runs low, and maintain tested backups.
Final step: scale cleanly with a Velocity proxy
Sources & evidence
- Chunky on Modrinth (Modrinth)
- Chunky Wiki (GitHub / pop4959)
- spark on Modrinth (Modrinth)
- spark Documentation (spark)
- Getting started (PaperMC)



