DocsHow to Set a Minecraft Server World Border
Ask on Discord
How to Set a Minecraft Server World Border illustrated for the CraftLands Minecraft docs
MINECRAFT · PLUGIN
lborg
Docs Writer
Published August 8, 2026
UPDATED TODAY

How to Set a Minecraft Server World Border

Set a world border to cap how large your Minecraft map can grow, keeping players within a fixed radius from the center

QUICK ANSWER

Run /worldborder set 10000 in the Console tab to set your world border size in blocks. It applies instantly with no restart needed.

Fact
The world border command is fully vanilla, no plugin required, and works on any Minecraft server version that supports the command.
Fact
Using add with a negative number and a time in seconds shrinks the border gradually, while set moves it instantly no matter the size difference.

Before you start

You will need a console of your server or OP permissions in game to run world border commands.Also, no restart is needed for any of the commands below because changes apply live.

op <player-name>

If you run a multiple world setup through a plugin like Multiverse core, check the Related section below, since some plugins manage borders per world and can override vanilla settings.

Steps

  • Open the Console tab in the panel.
  • Set the border size in blocks from the center:

worldborder set 10000

border-command.webp
  • Set the center point. It defaults to 0 0 if skipped:

worldborder center 0 0

  • To shrink the border gradually instead of instantly, use add with a negative number and a time in seconds:

worldborder add -2000 3600

This shrinks the border by 2000 blocks over one hour.

  • Set how much damage players take per block outside the border:

worldborder damage buffer 5

worldborder damage amount 0.2

  • Set how early players see the warning overlay before the border reaches them:

worldborder warning distance 500

worldborder warning time 15

  • If you run multiple worlds, repeat these commands after switching worlds with your world management plugin, as vanilla worldborder settings apply to only one world.
world-border.webp

If you have op permissions in game, then you can use the above mentioned commands with '/' at start!

If you want to edit this through files instead of console commands, the border's data is stored in each world's worldborder.dat file inside the world folder > dimensions > minecraft > overworld > data > minecraft, it can be accessed through the Files tab. Editing this directly is not recommended since it is a binary NBT file, the console commands above are the supported route.

border-file.webp

Verify

Fly or walk to the end of your set border. You should see blue barrier type walls marking the boundary. Run /worldborder get in console to confirm the current size in blocks.

If it doesn't work

The command ran but nothing changed: you may be in the wrong world if you run multiple worlds, since the border applies to your current world only.

The border does not match what you set: a world management plugin like Multiverse or WorldBorder may be enforcing its own border settings and overriding vanilla ones. Check that plugin's config instead.

Players report taking damage inside the border: check your damage buffer value, since a low buffer means damage starts very close to the line rather than right at it.

The border did not shrink gradually: confirm you used add with a time in seconds, not set, since set moves the border instantly regardless of size difference.

Pre-generate a world

Do I need to restart my server after changing the world border?

No. Every worldborder command applies live the moment you run it in console.

Why is my border not matching what I set?

A world management plugin like Multiverse or WorldBorder may be overriding the vanilla border with its own settings. Check that plugin's config if you use one.

Start Your Minecraft Server Today

Pick a plan and your Minecraft server is online in about 30 seconds, with Paper plugins and Forge modpacks one click away in the panel. Full file access and SFTP are there when you go deeper, and automatic backups turn a broken config into a restore, not a rebuild.
VIEW MINECRAFT PLANS
Logo
Game server hosting made simple for everyone.
CraftLands Hosting S.R.L.Calea Moșilor 88, Sc. F, Ap. F1, Sector 3, 030152, București, RomaniaCUI 50929471 · VAT RO51171749Reg. Com. J2024043623000+40 755 361 220business@craftlands.host
© 2024 - 2026 CraftLands Host. All rights reserved.
Soluționarea Alternativă a Litigiilor (ANPC SAL): Romanian alternative consumer dispute resolution, opens in a new tab, page in Romanian