/worldborder
op 2World/worldborder controls the square boundary of the world. Giving a time along with a size makes the border travel there smoothly, which is the backbone of most shrinking-border minigames.
Command1 to fix
16
- Blocks across is required.
Press C to copy
Blocks across is required.
optional
seconds
Leave empty to change instantly
Examples
- Shrink over a minute
/worldborder set 100 60 - Move the centre
/worldborder center 0 0
Common questions about /worldborder
›Is the size a radius or a diameter?
A diameter. /worldborder set 100 makes a square 100 blocks across, so 50 blocks from the centre in each direction.
›What happens to players caught outside the border?
They take damage continuously, scaled by how far out they are, and see the red warning overlay. The damage per block and the damage-free buffer are both configurable with this command.