/worldborder set 1000Diameter of the world border
Time to transition (0 = instant)
The /worldborder command controls the world border, a wall-like boundary that limits how far players can travel. This generator covers every subcommand: setting size and center, animating shrink and expand timers, and tuning damage and warning distances.
By default every Minecraft world has a border with a diameter of 59,999,968 blocks, roughly 30 million blocks in each direction from center. Most players never reach it, but the command lets you resize it to any value, move its center, and animate it shrinking or expanding over a set duration.
Server admins use it to restrict play areas, battle royale creators use it for shrinking zones, and adventure builders use it to gate progression. The border shows a blue tint when stationary, green when expanding, and red when shrinking.
| Command | Description |
|---|---|
| /worldborder set <size> [time] | Sets the border diameter. Optional time in seconds for a gradual transition. |
| /worldborder center <x> <z> | Moves the border center to the given X, Z position. |
| /worldborder add <size> [time] | Adds to (or subtracts from, if negative) the current border size. |
| /worldborder get | Returns the current border diameter. |
| /worldborder damage amount <value> | Damage per block per second outside the border. Default 0.2. |
| /worldborder damage buffer <value> | Safe zone in blocks beyond the border before damage starts. Default 5. |
| /worldborder warning distance <value> | Red screen warning when within this many blocks of the border. Default 5. |
| /worldborder warning time <value> | Warning when the border will reach the player within this many seconds. Default 15. |
Battle royale trick: set a large initial border, then run something like /worldborder set 50 600 to shrink it to 50 blocks over 10 minutes and raise the damage amount for faster elimination outside the zone.
The /worldborder command controls the world border, a visible boundary that limits how far players can travel. You can set its diameter, move its center, expand or shrink it over time, adjust the damage players take outside it, and configure warnings. The default border diameter is 59,999,968 blocks.
Use /worldborder set <size> <time>. The first argument is the target diameter in blocks and the second is the number of seconds for the transition. For example, /worldborder set 100 300 moves the border to 100 blocks over 5 minutes. The border turns green when expanding and red when shrinking.
By default players take 0.2 damage per second for each block they are past the buffer. The damage buffer defaults to 5 blocks, so a player 10 blocks outside takes 0.2 times 5, which is 1.0 damage per second. Change both values with /worldborder damage amount and /worldborder damage buffer.
set assigns an absolute diameter, so /worldborder set 200 makes the border exactly 200 blocks across. add changes the border relative to its current size, so /worldborder add 100 grows it by 100 blocks and a negative value shrinks it. Both accept an optional time argument for a gradual transition.
No. The world border is a hard limit. Players cannot place blocks, and structures do not generate, past the border. The screen tints red as a player nears the edge, and players who end up outside it take damage until they move back inside the buffer.
Browse more Minecraft tools: