OmniGame logoOmniGame

/worldborder Command

Manages the world border: its size, center, damage buffer, and visual warning. set/add resize the border, optionally over a time period in seconds for smooth animation. center repositions the border's origin. damage controls how quickly players outside the border take damage and the buffer zone size. warning tints the screen red when the player is near the border.

Syntax
/worldborder add <distance> [<time>] | /worldborder center <x> <z> | /worldborder damage amount <damagePerBlock> | /worldborder damage buffer <distance> | /worldborder get | /worldborder set <distance> [<time>] | /worldborder warning distance <distance> | /worldborder warning time <seconds>
Permission: 2Edition: Java

Examples

/worldborder set 10000/worldborder set 500 300/worldborder center 0 0/worldborder add -1000 60/worldborder warning distance 200/worldborder get

Notes

World border is Java Edition only in command form. Bedrock has a world boundary but it is not controllable via commands. Default border is 59,999,968 blocks wide, centered at 0,0. Default damage buffer is 5 blocks, default warning distance is 5 blocks, default warning time is 15 seconds.

More commands