/worldborder
Manages the world border, its size, center, damage, warning distance, and warning time.
Syntax
/worldborder <add|center|damage|get|set|warning> ...Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| subcommand | literal | Required | The world border operation: add, center, damage (amount|buffer), get, set, or warning (distance|time). |
| arguments | various | Optional | Depends on the subcommand chosen. |
Examples
/worldborder set 1000Sets the world border to a 1000-block diameter square centered on the world border center.
/worldborder center 0 0Centers the world border on coordinates 0, 0.
/worldborder set 100 60Gradually shrinks or expands the world border to 100 blocks diameter over 60 seconds.
Common Mistakes
- Confusing diameter and radius, the set command takes the total diameter, not the radius.
- Forgetting to set the center before setting the size, the default center is 0,0.
Notes
The world border is a square, not a circle. Players outside the border take damage. The border can gradually expand or contract over a specified time.
Related Commands
Need a Minecraft server?
Try these commands on Astroworld or host your own server.
Try Astroworld Hosting