---
title: "How to Set Up a World Border on a Minecraft Server | ZCS"
description: "Learn how to set a Minecraft world border, understand diameter vs. radius, pre-generate terrain with Chunky, and solve common border problems."
url: "https://www.zcraftstudios.com/blog/worldborder-setup-guide"
updated: "2026-10-20T07:15:13.005688+00:00"
source: "ZCraft Studios"
---

> Site index for AI agents: https://www.zcraftstudios.com/llms.txt (full reference: https://www.zcraftstudios.com/llms-full.txt). Every page is available as Markdown by adding `.md` to its URL or sending `Accept: text/markdown`.

1. [Home](https://www.zcraftstudios.com/)
2. [Blog](https://www.zcraftstudios.com/blog)
3. How to Set Up a World Border on a Minecraft Server

[ All posts](https://www.zcraftstudios.com/blog)

# How to Set Up a World Border on a Minecraft Server

ZCraft StudiosOct 3, 2026Updated Oct 20, 2026

Learn how to set a Minecraft world border, understand diameter vs. radius, pre-generate terrain with Chunky, and solve common border problems.

## In this guide

- [Before you change anything](#before-you-change-anything)
- [Step 1: Check the current border](#step-1-check-the-current-border)
- [Step 2: Choose and set the center](#step-2-choose-and-set-the-center)
- [Step 3: Set the border diameter](#step-3-set-the-border-diameter)
- [Step 4: Test what players see](#step-4-test-what-players-see)
- [Step 5: Expand the border gradually (optional)](#step-5-expand-the-border-gradually-optional)
- [Step 6: Pre-generate terrain with Chunky](#step-6-pre-generate-terrain-with-chunky)
- [Step 7: Decide whether you need a border plugin](#step-7-decide-whether-you-need-a-border-plugin)
- [Troubleshooting](#troubleshooting)
- [Frequently asked questions](#frequently-asked-questions)
- [Final checklist](#final-checklist)
- [Official documentation and links](#official-documentation-and-links)
- [Official projects used in this guide](#official-projects-used-in-this-guide)
- [An operational test worth running](#an-operational-test-worth-running)

## How to Set Up a World Border on a Minecraft Server

A world border is one of the simplest ways to give a survival world a clear size. You can control how far players explore, keep communities closer together, and plan terrain generation before launch. You do not need a plugin for a basic Java Edition border.

This guide covers the built-in commands, picking a reasonable size, pre-generating terrain with Chunky, and checking common problems.

![Chunky project logo for terrain pre-generation](https://user-images.githubusercontent.com/17698576/171119146-122497e4-7527-438b-8f8e-c1c04c2841b9.jpg)

_Chunky project artwork. Source: the official Chunky repository. [Image details and license](https://github.com/pop4959/Chunky)._

## Before you change anything

- Make a complete backup of the world folder and confirm it can be restored.
- Confirm you have operator permission or access to the server console.
- Tell players ahead of time if your server already has established bases outside the proposed boundary.
- Decide where the border should be centered. The default center is not necessarily your server's spawn point.

**Important:** Changing the world border does not delete chunks outside it or reduce an existing world folder's size. It primarily controls where players can travel.

![Minecraft Java Edition world border shown as a blue grid in a flat world](https://i.imgur.com/KkaOo6j.png)

_Example of the visible world-border barrier in Minecraft. [Source: Bukkit community discussion](https://bukkit.org/threads/dont-take-damage-from-worldborder.456710/)._

## Step 1: Check the current border

On a Java Edition server, enter:

```
/worldborder get
```

The command reports the current border **diameter** in blocks. A diameter of 6,000 means the border extends approximately 3,000 blocks in each direction from its center.

Commands typed in the server console normally omit the leading `/`. In-game commands require an operator or suitable permissions.

## Step 2: Choose and set the center

For a world centered at X=0 and Z=0:

```
/worldborder center 0 0
```

If your main spawn is elsewhere, replace those coordinates with the desired X and Z values. This command uses horizontal coordinates, not Y height.

**Check before changing an established world:** moving the border center can suddenly place someone's base outside the playable area. Confirm your coordinates and announce the change first.

## Step 3: Set the border diameter

For a square that is 6,000 blocks wide:

```
/worldborder set 6000
```

That is **not** a 6,000-block radius. Players can travel approximately 3,000 blocks east, west, north, or south from the center before reaching the edge.

| Diameter | Distance from center to an edge | Approximate square area |

| --- | ---: | ---: |

| 2,000 blocks | 1,000 blocks | 4 million blocks² |

| 6,000 blocks | 3,000 blocks | 36 million blocks² |

| 10,000 blocks | 5,000 blocks | 100 million blocks² |

These figures describe the playable square, not expected storage usage. Terrain complexity, dimensions, exploration, and generated files determine actual disk consumption.

## Step 4: Test what players see

Travel toward the edge using a test account or suitable staff permissions. A vanilla world border appears as a visible vertical barrier. Confirm that the center and size match what you intended.

If the border is too small, increase the diameter with `/worldborder set`. If it intersects player builds, review your map and adjust it before leaving the change in place.

## Step 5: Expand the border gradually (optional)

You can change the diameter smoothly rather than immediately:

```
/worldborder set 10000 3600
```

This transitions the current diameter to 10,000 blocks over 3,600 seconds (one hour). It is useful for a planned map expansion or an event where the border changes over time.

To inspect the resulting size, use `/worldborder get` again. Avoid a shrinking-border event on your main survival world unless players understand what it will do.

## Step 6: Pre-generate terrain with Chunky

A border **does not** generate the chunks inside it. When players travel into never-visited areas, the server may need to create new terrain. That work can contribute to lag spikes, especially when several players explore simultaneously.

A separate tool, [Chunky](https://github.com/pop4959/Chunky), can generate terrain ahead of time. Install the version intended for your server software, then restart the server and confirm the plugin or mod loads.

For a supported setup, select the relevant world and import the vanilla border dimensions:

```
chunky world world
chunky worldborder
chunky start
```

Here `world` is an example world name; your actual world name can differ. These examples are for the **server console**. Add `/` to commands entered in-game.

The `chunky worldborder` command copies the border's center and radius into Chunky's selection. The `chunky start` command begins generating the selected area. Check `chunky selection` before starting if you are unsure about the target world or dimensions.

Track progress:

```
chunky progress
```

Pause and resume when needed:

```
chunky pause
chunky continue
```

**Storage warning:** A 10,000-block diameter covers far more area than a 2,000-block diameter. Chunk generation can use significant disk space and CPU time. Start with a smaller selection when you are unsure, check available storage, and preferably run generation before your public launch.

For command options and version differences, see the [official Chunky command reference](https://github.com/pop4959/Chunky/wiki/Commands).

![Square Minecraft world generated using Chunky](https://i.imgur.com/ILvHPaE.png)

_Example of pre-generated terrain, from the official Chunky project gallery._

## Step 7: Decide whether you need a border plugin

For one straightforward Java Edition survival world, vanilla's built-in command usually does the job. A compatible border plugin may make sense for networks with multiple worlds, special movement rules, or extra administration options.

Before installing anything, check whether the plugin supports your Minecraft and server-software versions. Do not assume that every Spigot or Paper plugin behaves correctly on every Forge or Fabric server.

Also remember that a plugin cannot automatically solve world-storage problems. Plan backups and chunk generation separately.

## Troubleshooting

### The command says I do not have permission

Run the command as an operator or from the server console. If you use a permissions plugin, review which command permissions are assigned to the role.

### The border is in the wrong location

Check its diameter with `/worldborder get` and set its center explicitly with `/worldborder center X Z`. The border center and the world's spawn point are separate settings.

### The world folder is still huge after reducing the border

That's expected. Setting a border doesn't erase previously explored terrain. Avoid blindly deleting region files: that can remove player builds. Back up the server and use an established map-management process if you genuinely need to prune chunks.

### Players still experience exploration lag

The border only limits the maximum playable area. It does not pre-generate chunks, fix an overloaded CPU, or remove expensive plugins. Check the server's performance and consider pre-generation during low-traffic periods.

### Chunky appears stuck

Use `chunky progress`, check console errors, verify the world selection, and make sure the server has sufficient free storage. Large regions take time. Pause the task if the server is struggling.

## Frequently asked questions

### Does a world border reduce RAM usage?

Not directly. RAM use depends on loaded chunks, players, entities, plugins, and other server activity. Borders can limit exploration, but they are not a replacement for performance tuning.

### Can I expand a border later?

Yes. Run `/worldborder set` with a larger diameter, immediately or with a duration. Check whether the newly accessible terrain should be pre-generated.

### Is a world border the same as pre-generating a map?

No. The border limits movement. Pre-generation creates terrain data in advance. Many servers benefit from using both.

### Do I need a plugin for this?

Usually not for a basic Java Edition server. Start with vanilla commands and add a compatible plugin only when you have a specific feature requirement.

## Final checklist

- \[ \] Back up the world.
- \[ \] Choose and verify the border center.
- \[ \] Set a **diameter**, not a radius.
- \[ \] Test movement near the edge.
- \[ \] Check free storage before pre-generating.
- \[ \] Announce the border to your players.

A thoughtfully sized border gives your world a predictable footprint and makes future expansion easier to plan. Start with the built-in tool, test it on your real map, and introduce additional plugins only when needed.

[ChunkyPre-generates chunks, quickly and efficientlyOn Modrinth ](https://modrinth.com/plugin/chunky)

_Chunky world-generation showcase from the official repository. [Official source](https://github.com/pop4959/Chunky). Illustrative publisher image._

## Official documentation and links

- [Official project repository](https://github.com/pop4959/Chunky)
- [How to Fix Minecraft Server Lag: Find the Cause, Then Fix It](https://www.zcraftstudios.com/blog/reduce-minecraft-server-lag)

[ChunkyPre-generates chunks, quickly and efficientlyOn Modrinth ](https://modrinth.com/plugin/chunky)

## Official projects used in this guide

Open the relevant project for its downloads, supported versions and installation instructions. Install only the plugins needed for the workflow you choose.

[ChunkyPre-generates chunks, quickly and efficientlyOn Modrinth ](https://modrinth.com/plugin/chunky)

## An operational test worth running

Announce border changes before applying them, especially when shrinking an existing survival world. Determine whether player bases or essential resources lie outside the new limit, and test behavior in Nether and End separately. Back up the world before generating or trimming terrain near the border.

## Continue reading

- [PaperMC Config Files Explained: Global and Per-World](https://www.zcraftstudios.com/blog/minecraft-paper-configuration-files-explained)
- [Reset a Minecraft Resource World Without Wiping the SMP](https://www.zcraftstudios.com/blog/minecraft-server-resource-world-reset)
- [Minecraft World Pregeneration: Plan, Measure, Verify](https://www.zcraftstudios.com/blog/minecraft-world-pregeneration-launch-guide)
- [Download a Minecraft Server World for Singleplayer](https://www.zcraftstudios.com/blog/download-minecraft-server-world-singleplayer)

[ Previous guide Set Up a BedWars Minigame Server: Arenas and Teams](https://www.zcraftstudios.com/blog/bedwars-minigame-setup-guide)[ Next guide Setting Up Slimefun for Custom Tech and Magic](https://www.zcraftstudios.com/blog/slimefun-custom-tech-magic-setup)
