
How to Set Up a World Border in Minecraft
A world border is a boundary or limit that surrounds an area of a Minecraft world that prevents players and other entities from moving beyond the border. Setting a world border is especially useful to limit the chunks being generated when players travel your world, which sometimes causes lag or makes your world file's size get excessively large.
Players will take damage when outside the border. While redstone builds and water or lava flows are unaffected, the placement of blocks and liquids outside of the border may be limited, if at all possible.
Please Note
The world border feature is available to Minecraft Java Edition only. For Bedrock Edition servers (NukkitX or PocketMine-MP), you will need plugins to configure your world border.
#Setting Up a World Border
If you have OP permissions in-game, you can follow these steps using in-game commands as well. However, for this tutorial, we will be using the server console only to set up our world border.
-
Open your server's Control Panel.
-
In the Console window, enter
Worldborder center x z.
Specify the center of your world border by using this command, replacing X and Z with your desired X and Z coordinates. It is recommended to set this on your world spawn or to 0 0, the physical center of the world.
- Enter the command
Worldborder set size.
Once the center is set, you can now specify the size of the world border using this command. For example, entering worldborder set 20 will change the diameter or distance from one end of the border to the opposite end to 20 blocks.
#Other World Border Configuration Commands
You can configure some additional world border details using more World Border commands. You can learn more information about the world border and the worldborder commands on this wiki page.
-
worldborder get- Displays the current size of the world border. -
worldborder set <size> <time>- Adjusts (increase or decrease) the world border to the given size within the provided time, in seconds. For example /worldborder set 20 5 will resize the current border size to 20 within 5 seconds. -
worldborder damage amount <DamageAmount>- Sets the amount of damage a player receives every second they're outside the world border. For example /worldborder damage amount 1 will cause the player to take 1 damage per damage tick. -
worldborder damage buffer <distance>- Setsas the number of blocks from the world border that a player starts to take damage. For example /worldborder damage buffer 5 will cause players to take damage when they're more than 5 blocks outside of the border. -
worldborder warning distance <distance>- Setsas the number of blocks from the world border when a player sees a warning of the border's proximity. For example /worldborder warning distance 2 will cause the player to begin seeing the border warning when they are 2 blocks away. -
worldborder warning time <time>- Sets
That's it! You now know how to set up a world border for your server. Should you have any issues, please feel free to contact us.