Minecraft World Border: /worldborder Commands, Defaults and Setup
A world border stops a survival server from sprawling forever. Players can't explore past it, you don't have to store terrain nobody will visit, and your backups stay a reasonable size. It's also one of the few settings you can change while players are online.
The commands and defaults below come from the community wiki's world border page, checked November 21, 2026. The wiki is a player-maintained reference, not Mojang's own notes, so run worldborder get on your own server after you set something.
worldborder set 5000gives a 5,000 block wide square, so a 2,500 block radius.- Defaults: damage 0.2 per second per block, buffer 5, warning distance 5, warning time 15 seconds.
- Use
worldborder center x zso the border is around where your players build.
On this page
The defaults
A new Java world's border sits at X and Z of plus or minus 29,999,984. That's a square 59,999,968 blocks wide, and the wiki says the original developer set it one chunk short of the edge to keep people from falling through the world. The default center is 0, 0. Set the size back to 59,999,968 and the center to 0 0 and you've reset everything the border changes about the shape.
The three standard dimensions share the same default size and location. The border also always changes in whole blocks, even if you give it a partial block.
The commands
| Command | What it does |
|---|---|
worldborder get | Tells you the current width. |
worldborder set <blocks> [seconds] | Sets the full width (and length) of the square. With a time it grows or shrinks gradually; without one it jumps immediately. |
worldborder add <blocks> [seconds] | Adds to or subtracts from the current width, optionally over time. Negative numbers shrink it. |
worldborder center <x> <z> | Moves the center. Tilde coordinates are allowed. |
worldborder damage amount <n> | Damage per second for each block a player stands outside the border (plus the buffer). Default 0.2. |
worldborder damage buffer <blocks> | How far past the border a player can go before damage starts. Default 5 blocks. |
worldborder warning distance <blocks> | How close a player gets before the red warning tint appears. Default 5 blocks. |
worldborder warning time <seconds> | How many seconds away a shrinking border has to be before the warning shows. Default 15. |
In the panel, type these on the Console tab without the slash. In game, use the slash and be an operator. Pay attention to the first number: it's the whole width, not the distance from the center. A border with a 2,500 block radius is worldborder set 5000.
Setting one up for a survival server
- Back up first
Take a World and settings backup on the Backups tab. Shrinking a border doesn't delete terrain, but it's an easy time to make a typo that makes players unhappy.
- Center it where people play
If your base area isn't near 0, 0, center on it:
worldborder center 1200 -800. - Pick a size
worldborder set 6000gives a 6,000 by 6,000 square. The wiki doesn't suggest a size, so choose by how much terrain you want to keep and back up. - Soften the edge
Raise the buffer if you want to give players more room past the line before damage starts, or leave the defaults. Setting
damage amountto 0 turns the border into a boundary with no damage at all. - Pre-generate inside it
Use Chunky to generate the area ahead of time and keep lag away from exploration.
chunky worldborderuses the border as the selection. See the Chunky guide.
Nether and End
The border shows red in the Nether whether it's expanding, shrinking or standing still. The wiki also says custom dimensions can have their own sizes. It doesn't spell out End behavior, so test your own server rather than assuming.
Common mistakes
- Treating the number as a radius.
worldborder set 5000gives a radius of 2,500. - Forgetting the center. Players who built far from 0, 0 get stuck outside the border.
- Shrinking onto a player. Anyone beyond the new edge starts taking damage after the buffer. Warn them first, or use a time so they can walk in.
- Expecting terrain to vanish. A smaller border limits where players can go. It doesn't delete chunks that were already generated.
Frequently asked questions
What is the default Minecraft world border size?
The default border is at X and Z of plus or minus 29,999,984, which is a width of 59,999,968 blocks. Set the width back to that number to restore it.
How do I set the world border on my server?
Run <code>worldborder set <size></code> on the Console tab. The size is the full width of the square, not the radius.
Can I shrink the border gradually?
Yes. Add a time in seconds: <code>worldborder set 2000 600</code> shrinks it over ten minutes.
Does the world border delete chunks outside it?
No. It limits where players can go. Chunks that were already generated stay in the world.
How do I stop the border from hurting players?
Set <code>worldborder damage amount 0</code>. Or raise <code>damage buffer</code> if you only want a longer grace distance.