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.
- 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 Change the Difficulty on Your Minecraft Server — Set your server to Peaceful, Easy, Normal or Hard
- How to Change the World Preset on Your Minecraft Server — Generate a different world type, like superflat, large biomes, or amplified
- How to Fully Customize Your Server MOTD — Customize your server list MOTD, favicon, player count, and hover text with multiple switchable profiles.
- How to Get a Custom Tab — Customize your TAB list, nametags, scoreboard, header/footer, and BossBar from one plugin.