How to Add a Server Border on Your Minecraft Server
Limit the playable area to keep players together and reduce server lag
Limit the playable area to keep players together and reduce server lag
What is a World Border?
The world border is an invisible boundary that limits how far players can go. It keeps a community together, guides players through custom builds, and reduces lag by stopping distant chunks from loading.
Setting the Border
- Open your server's Console.

- Set the center of the border:
worldborder center X Z
Replace X and Z with your coordinates. Matching the center to your world spawn is recommended. Press F3 in-game to see your coordinates. You can see them in the top left in version 1.21.9 and below, otherwise you can find it on the right side of your screen.
- Set the border size:
worldborder set SIZE
SIZE is the width in blocks. For example: worldborder set 5000
- The console confirms when both commands succeed.
Essential Commands
| Command | Description |
|---|---|
worldborder center X Z |
Places the center of the border. |
worldborder set SIZE |
Sets the border size. |
worldborder set SIZE TIME |
Slowly grows or shrinks the border over TIME seconds. |
Important Considerations
- Keep Players Together: A smaller border keeps the community close and the server tighter.
- Performance: A border stops far-away chunks from loading, which helps with lag.
- Rebuilds: Changing the border later is as easy as running the commands again.
Conclusion
With a world border set, players stay inside your chosen play area and your server runs lighter. Two commands and you're done.
Similarly, if you are having any type of issue or problem with your server at MCServerHost you can always get in touch with us by joining our Discord server or writing to us at support@mcserverhost.com.
Related guides
- How to Ban, Kick and Mute Players on Your Minecraft Server: How to Ban, Kick and Mute Players on Your Minecraft Server at MCServerHost
- Resetting The End in Minecraft: Learn how to safely reset The End dimension without affecting the Overworld.
- How to Set Up ServerLinksZ on Your Minecraft Server: Fill the Server Links pause-menu section with your Discord, Website, Store, and Rules.
- How to Set Up InventoryRollbackPlus on Your Minecraft Server: Auto-back up player inventories so staff can restore items lost to lag, deaths, or griefing.