🚀 Get 25% off your first month on any plan! Use code MINT at checkout 🚀


← Go Back

How to Set a World Border in Your Minecraft Server

How to Set a World Border in Your Minecraft Server

A world border is a built-in Minecraft feature that creates an impassable barrier, limiting the size of your world.

This is an essential tool for managing server performance by controlling file size and is perfect for creating defined gameplay areas or for use with world pre-generation plugins.

Core World Border Commands

The entire world border system is controlled with the /worldborder command, which requires operator status. Here are the primary commands:

  • /worldborder center - Sets the center point of your border. Defaults to 0,0.
  • /worldborder set [time] - Defines the border's width in blocks. The optional time value (in seconds) makes the border gradually shrink or expand.
  • /worldborder get - Shows the current diameter of the border.
A player viewing the glowing red wall of a Minecraft world border
🚀 Launch Your Unlimited RAM Minecraft Server - Just $9.99/mo!

Damage and Warning Configuration

Optional

You can also configure what happens when a player gets too close to the border.

  • /worldborder warning distance - Makes a player's screen tint red when they get close to the border.
  • /worldborder damage buffer - Creates a small "safe zone" outside the border where players won't take damage.
  • /worldborder damage amount - Sets how much damage a player takes per second past the buffer zone.
The red warning vignette effect shown on a player's screen

Practical Example

Here is a common use case for setting up a 10,000-block wide world centered at spawn.

  1. Set the center to the default world spawn with the command: /worldborder center 0 0
  2. Set the border size instantly with the command: /worldborder set 10000
  3. The server now has a defined 10,000x10,000 playable area.

Conclusion

The world border is a powerful vanilla tool for any server owner.

It allows you to control your world size, improve performance, and create unique gameplay scenarios without needing to install any plugins.

← Go Back

The Last Minecraft Hosting You Will Ever Need!

Unlimited Slots, Unlimited RAM, One-Click Mods & Plugins