Performance
Pre-generate your world with Chunky
Generate the map before your players explore it and remove one of the biggest causes of lag. The four commands you need and how big to go.
- 4 min read
- Beginner
- Updated
Every time a player walks somewhere new, the server has to invent that terrain on the spot. It's one of the heaviest jobs a server does, and with a few people exploring in different directions it's a classic cause of lag spikes. The fix is to generate the map once, ahead of time.
Install Chunky#
Chunky exists as a plugin (Paper, Spigot, Purpur) and as a mod (Fabric, Forge, NeoForge). Download the one that matches your server from Modrinth or Hangar, drop it in plugins or mods, and restart. If you've never done that before, the plugin guide covers it.
The four commands#
Run these in the console, one after the other:
chunky world worldchunky center 0 0chunky radius 5000chunky startThe console prints progress as it goes. You can stop and pick up later with chunky pause and chunky continue, or give up with chunky cancel.
How big should you go?#
- A small friends SMP: a radius of 2500 to 3000 blocks is plenty
- A public survival server: 5000 is a common choice
- Bigger than that: check your plan's storage first. A 5000 block radius already takes a few gigabytes on disk
Pre-generation only helps if players stay inside the area, so set a world border to match. The border command takes the full width, which is twice the radius.
worldborder set 10000Still stuck? Ask a human.
Our Discord is where the QuishHost community hangs out. Ask anything about your server and we'll help, whether you host with us or not.
