> ## Documentation Index
> Fetch the complete documentation index at: https://docs.purpify.host/llms.txt
> Use this file to discover all available pages before exploring further.

# Pregenerate a Java world

> Use Chunky to generate Minecraft Java Edition chunks before players explore them.

Pregeneration creates and saves chunks before players explore them. This shifts terrain-generation work to a controlled period but uses additional storage.

## Before you begin

* Use Java server software that supports plugins, such as Paper or another compatible Bukkit-based server.
* Install a Chunky release compatible with the server's Minecraft version.
* Create a [backup](/server/backups).
* Choose a reasonable center and radius based on available storage.

## Pregenerate with Chunky

<Steps>
  <Step title="Install Chunky">
    Follow [Install Java plugins](/java/plugins) and install the compatible Chunky `.jar` in `/plugins`.
  </Step>

  <Step title="Start the server">
    Start the server and confirm that Chunky loads successfully in the console.
  </Step>

  <Step title="Select the world">
    Replace `world` with the active world name.

    ```text theme={"dark"}
    chunky world world
    ```
  </Step>

  <Step title="Set the center and radius">
    Choose the center coordinates and radius in blocks.

    ```text theme={"dark"}
    chunky center 0 0
    chunky radius 5000
    ```
  </Step>

  <Step title="Start generation">
    Run the task and monitor the console and storage usage.

    ```text theme={"dark"}
    chunky start
    ```
  </Step>
</Steps>

Run `chunky help` for the commands supported by the installed Chunky version.

<Warning>
  A large radius can consume substantial storage and server resources. Start with a smaller area and do not assume a completion time.
</Warning>

<Card title="Set a world border" icon="border-all" href="/java/world-border">
  Keep future exploration inside the area you prepared.
</Card>
