Skip to content
Minecraft Minecraft: Bedrock Edition Rust Counter-Strike 2 Palworld Valheim Satisfactory Enshrouded
Configure server Sign in
DE EN

Plan and Set a Minecraft World Border

Set a Minecraft Java world border using the correct center, square side length, dimension, and transition settings while keeping existing chunks intact.


For Vanilla Minecraft Java 26.3, worldborder set takes the full side length of the square border, meaning its diameter rather than its radius: Mojang’s server implementation passes the distance argument as the new border size, and the Spigot API defines that size as the square’s side length. 12000 therefore means 6’000 blocks from the center to each side. For other Java versions, first check the suggestions from the running server. A border limits the area players can walk through; it does not delete chunks that have already been saved.

This procedure applies to Minecraft Java. Mojang made world borders dimension-specific starting with Java 1.21.9: the Overworld, Nether, and End can each have their own size and position. On older versions, check the commands your server itself offers before following instructions from a newer version. Mojang’s Java 1.21.9 release notes explicitly describe the change.

Before Making the Change

First note the exact Minecraft version, server software, and target dimension. A world folder may already contain explored areas beyond the planned border. Create a complete backup, wait for it to finish successfully, and download an additional copy. Stop the server cleanly before copying world files. Try the commands on a separate test copy first, especially if the current center is unknown.

You need the required permission for the commands, usually operator permissions. In in-game chat, a command starts with /; in the server console, the same command is usually entered without the slash. If the argument sequence differs, use the server’s tab completion. Mojang explains permissions and command usage; on Paper, /help also shows registered Vanilla and plugin commands (PaperMC command reference).

Calculate the Center and Diameter Correctly

The border is a square on the X/Z plane. worldborder center sets the center at these coordinates; it is not automatically the world spawn. Choose coordinates that fit your build areas, and set them to 0 0 only if that is really what you intend.

Example: with center 200 -120, the edges are approximately at X -5800 and 6200, and Z -6120 and 5880. The values 200 and -120 are example coordinates. worldborder get shows the current size; note the center separately, because the size alone does not confirm that the center is correct.

Make the change in the correct dimension. Since Java 1.21.9, server commands run in the respawn dimension by default. If you want to set the Nether border from the console, you can run the command in that dimension:

execute in minecraft:the_nether run worldborder center 200 -120
execute in minecraft:the_nether run worldborder set 12000

For the Overworld, replace minecraft:the_nether with minecraft:overworld; for the End, use minecraft:the_end. Use these IDs only if they match your Java version. In the relevant dimension, you can also run both worldborder commands directly in chat as an operator with the required permissions. Then check the border size and visible position in each affected dimension.

Change Immediately or Gradually

In Vanilla Java 26.3, without a time argument, the border is set immediately to the new diameter:

worldborder set 12000

An optional transition time lets the border grow or shrink. Since Java 1.21.11, the time argument is in ticks by default; use s for seconds and d for in-game days. Mojang’s snapshot notes for 25w44a document the suffixes; the Java 1.21.11 release notes confirm the new default unit. For example, 600s for 600 seconds or 1d for one Minecraft day:

worldborder set 16000 600s

On versions before Java 1.21.11, the unit and accepted arguments may differ. Check the server’s completion suggestions before using a time value there. A shrinking border can trap players or leave them outside the safe zone. Announce it, check the settings, and choose a maintenance window.

Preserve the Existing World and Verify the Result

After setting the border, check its size again with worldborder get and walk along the edges in the test copy. Make sure the border matches the center and does not cut off an existing base. If you want an existing world outside the border to remain stored, the border is enough: it is not a deletion command. Already generated chunks remain part of the world. Deleting chunks is a separate, risky operation; do not use blanket cleanup for it.

A world border does not generate chunks in advance either. If you want to generate areas before exploration, Pre-generate Minecraft chunks with Chunky in a controlled way describes a verifiable procedure. Before changing world files, see Create a Minecraft server backup. If you are planning new world generation rather than setting a border for an existing world, also read Set a Minecraft server seed.

If you are unsure which dimension is active or which command to use, check the server help before changing the value on the main world. For setup questions, use the AeonHost contact route.

Sources

Did this guide help? We are happy to help personally.