Skip to content
In-house anti-DDoS, included on VPS, game servers and web hosting · hosted in France · cancel anytime See our plans
CloudFive
Log in

01

Why pre-generate the map

A Minecraft world is divided into chunks, columns of 16 × 16 blocks. As long as nobody has been to an area, its chunks do not exist: the server creates them when a player gets close. This generation (terrain, caves, biomes, structures) takes a lot of computing.

When several players explore at the same time, especially with elytra, the server has to generate hundreds of chunks a minute. The result: TPS drops, blocks take time to appear and everyone feels lag.

A chunk that has already been generated is simply read from disk. By generating the whole playable area in advance, you move this work to a time when it bothers no one. It is one of the most effective settings in the guide optimizing a Minecraft server, along with the view distance set in server.properties.

02

Install Chunky

Chunky exists for the main server software. Download it from Modrinth, Hangar or CurseForge, in the version that matches your server and your Minecraft version:

  • Paper, Purpur or Spigot: the plugin version, to drop into the plugins folder.
  • Fabric: the Fabric version, in the mods folder, with Fabric API.
  • Forge or NeoForge: the matching version, in the mods folder.

Restart the server. Chunky is installed on the server only: players have nothing to add. If you are new to plugins or mods, see essential Minecraft plugins and installing mods on a Minecraft server.

03

Start a pre-generation

Commands are typed in game (with the slash, as an operator) or in the server console (without the slash). A pre-generation takes three settings:

chunky world world
chunky center 0 0
chunky radius 5000
chunky start
  • chunky world: the world to generate. On Paper, the main world is called world (or the level-name value); on Fabric and Forge, you use the dimension name, such as minecraft:overworld.
  • chunky center: the center of the area, in X and Z coordinates. chunky spawn puts the center on the world spawn point.
  • chunky radius: the radius in blocks. With 5000, the area runs from −5000 to 5000 on each axis, that is 10,000 × 10,000 blocks.
  • chunky start: starts generating. If a task already exists for that world, Chunky asks you to confirm with chunky confirm.

While it generates:

  • chunky progress shows progress, speed and an estimate of the time left;
  • chunky pause pauses the task and saves where it stopped;
  • chunky continue resumes it, including after a server restart;
  • chunky cancel stops it for good (chunks already generated stay);
  • chunky silent turns off progress messages in the console.
04

Shape, Nether, End and world border

Shape. By default, Chunky generates a square. chunky shape circle switches to a circle, which skips the less-visited corners and cuts the number of chunks by about a fifth for the same radius.

The Nether and the End. Each world is generated separately: repeat the commands with chunky world world_nether then chunky world world_the_end on Paper. In the Nether, one block travelled equals eight blocks in the normal world: a radius eight times smaller is often enough (625 for a 5000 world).

The world border. Pre-generating is pointless if players can go beyond it: they would hit lag again as soon as they leave the area. Set a border of the same size:

worldborder center 0 0
worldborder set 10000

Careful: /worldborder set takes the diameter (the total width), while Chunky takes the radius. A Chunky radius of 5000 therefore matches a border of 10,000. The other way round, chunky worldborder takes the center and size of a border already in place.

The ChunkyBorder add-on, by the same author, creates a border that follows Chunky's selection exactly, including a circle (its commands are in its documentation). It also allows a different border for each world.

05

Disk space, duration and good practice

  • Disk space: a large radius can take up several gigabytes, especially with world generation mods or datapacks. Size grows with the square of the radius: doubling the radius multiplies the area, and so the space, by four. Run a test on a small radius first, measure the size of the world's region folder, then estimate.
  • Without players: generation keeps the processor busy and slows the server down. Run it before opening, at night, or while access is closed with a whitelist (see Minecraft server whitelist).
  • A sensible size: there is no need to generate a huge map for a dozen players. Start with the area they actually explore and expand later: Chunky skips chunks that already exist.
  • Minecraft updates: a version's new generation features (biomes, structures) only appear in chunks created after the update. A fully pre-generated map will not get them.
  • A backup first: on an existing world, keep a copy before starting a large generation.
06

On CloudFive

On our Minecraft hosting plans, Paper, Purpur, Fabric, Forge, NeoForge and Modrinth modpacks install in one click. You upload Chunky through the file manager or over SFTP, run the commands from the console in the client area manager.cloudfive.fr, and backups let you keep a copy of the world before you start.

Servers run in France on Ryzen 9 9950X, with DDR5 memory and NVMe storage, with Anti-DDoS Premium included. Plans are monthly, with no commitment, from €8, with support in French 7 days a week. To size the memory, see how much RAM for a Minecraft server.

07

Frequently asked questions

What is Minecraft map pre-generation for?

It creates the chunks of an area in advance, so the server no longer has to generate them while players explore. Generation takes a lot of computing; once it is done, chunks are simply read from disk and exploration lag goes away.

How do I use Chunky on a Minecraft server?

Install Chunky in plugins or mods, restart, then type chunky world world, chunky center 0 0, chunky radius 5000 and chunky start. The chunky progress command shows progress, and chunky pause and chunky continue pause and resume the task.

What radius should I choose with Chunky?

Start with the area your players actually explore, a few thousand blocks for a small server, and expand later if needed. Run a test on a small radius to measure disk space: the size is multiplied by four when the radius doubles.

Do I need a world border after pre-generating?

Yes, otherwise players can leave the generated area and hit lag again. Use /worldborder set with the diameter, that is twice the Chunky radius, or the ChunkyBorder add-on, which follows the shape of the selection exactly.

Can people play while Chunky generates the map?

They can, but generation keeps the processor busy and slows the server down. It is better to run it before opening or at night; chunky pause stops it when players arrive and chunky continue resumes it.

Support CloudFive AI

An answer right away, a real team behind it.

CloudFive AI answers you at any hour, in seconds. When it doesn’t know, or as soon as you ask, the team that runs the machines takes over. No offshore call centre.

  • TicketThe team replies in under 2 hours, 7 days a week.
  • CloudFive AIAt any hour, on ia.cloudfive.fr, Discord and in your customer area.
  • DiscordThe team, the AI and other customers, in the help channel.
  • Your data stays with usAI runs on our servers in France; e-mails, IPs and passwords are masked.
A ticket in the customer area: a customer’s question about a Minecraft plugin, and the CloudFive team’s reply
A real ticket in the customer area, answered by the team (demo account; shown in French).
CUSTOMER AREA · APP

Your servers.
At your fingertips.

Restart a server, watch its resources live, pay an invoice or open a ticket — and get an alert when something goes wrong.

  • The status of all your services at a glance
  • Blocked attacks, filtered traffic, monthly peak
  • A notification when a server goes down or an invoice is due

App coming soon · in the meantime, everything works in your browser at manager.cloudfive.fr

The CloudFive app: the list of your services, with their status
The CloudFive app: the home screen, your services’ status, blocked attacks and an invoice to pay