> ## 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.

# Set a Java world border

> Choose the center and diameter of the Minecraft Java Edition world border from the Purpify console.

Use the `worldborder` command to choose the center and diameter of the playable Java world.

## Set the border

<Steps>
  <Step title="Choose the center">
    Decide which `X` and `Z` coordinates should sit at the center. World spawn is a practical choice for many servers.
  </Step>

  <Step title="Open the console">
    Start the server and open its console view.
  </Step>

  <Step title="Set the center">
    Replace the example coordinates with your chosen values.

    ```text theme={"dark"}
    worldborder center 0 0
    ```
  </Step>

  <Step title="Set the diameter">
    Replace `10000` with the complete border diameter in blocks.

    ```text theme={"dark"}
    worldborder set 10000
    ```
  </Step>

  <Step title="Verify in-game">
    Join and confirm that the border surrounds the intended area before inviting players.
  </Step>
</Steps>

<Warning>
  Shrinking a border can leave builds or players outside the playable area. Create a backup and check important coordinates first.
</Warning>

<Columns cols={2}>
  <Card title="Find the world seed" icon="seedling" href="/java/world-seed">
    Display the seed used by the active world.
  </Card>

  <Card title="Pregenerate the world" icon="globe" href="/java/pregenerate-world">
    Generate chunks inside a chosen area before exploration.
  </Card>
</Columns>
