Article Background
Back to Knowledgebase

How to Set Up a Vanilla World Border on Your Minecraft Server

Minecraft
Cubes Support
July 20, 2026

A World Border is an animated, glowing barrier that restricts how far players can travel in your Minecraft world. Setting up a world border is one of the most effective ways to manage your server—it keeps world file sizes small, saves RAM/CPU by preventing endless chunk generation, and forces players to build closer together.

Since Minecraft 1.8, world borders are built directly into the vanilla game engine—no plugins or mods required! This guide will show you how to configure and customize your vanilla world border.


Step 1: Set the Center of the World Border

By default, the world border is centered at coordinates X: 0, Z: 0. If your main spawn town or building hub is located elsewhere, you should move the center of the border to match your spawn point first.

  1. Connect to your server in-game as an Operator (OP), or open the Console in your Cubes Hosting Game Panel.
  2. Stand at your desired center point (or use your spawn coordinates) and run:
    /worldborder center <x> <z>
    
    Example: /worldborder center 100 -250

Step 2: Set the Size of the World Border

Next, set the diameter of the world border in blocks.

  1. Run the set command:
    /worldborder set <sizeInBlocks>
    
    Example: /worldborder set 5000 (This creates a 5,000 x 5,000 block boundary centered at your set coordinates).
  2. A red/blue animated barrier will immediately appear at the boundary edges.

Step 3: Expanding or Shrinking the Border Over Time

If you are running a UHC (Ultra Hardcore) event or want your survival server's map to grow slowly over time, you can animate the world border so it expands or contracts gradually.

  • Shrink over time: /worldborder set <newSize> <timeInSeconds>Example: /worldborder set 1000 1800 (Shrinks the border to 1,000 blocks over the course of 30 minutes / 1800 seconds).
  • Expand by adding blocks: /worldborder add <additionalBlocks> <timeInSeconds>Example: /worldborder add 1000 60 (Expands the border by an extra 1,000 blocks over 60 seconds).

Step 4: Customizing Border Warnings & Damage

If a player steps outside the world border, they will begin taking suffocation/border damage. You can customize how early they get warned and how much damage they take.

1. Border Damage Buffer & Rate

  • Buffer: The distance (in blocks) past the border a player can walk before taking damage. /worldborder damage buffer 5 (Default is 5 blocks).
  • Damage Amount: The amount of damage taken per block per second past the buffer. /worldborder damage amount 1 (Default is 1 damage / half heart per second).

2. Visual & Sound Warnings

  • Warning Distance: Colors the player's screen red when they get within a certain number of blocks from the border. /worldborder warning distance 20 (Screen turns red when within 20 blocks).
  • Warning Time: Colors the screen red if an expanding/shrinking border will hit the player within X seconds. /worldborder warning time 15

Quick Reference Commands

ActionCommand
Check Current Status/worldborder get
Reset to Default (Max Size)/worldborder set 60000000
Center at Player/worldborder center ~ ~

Tip: Remember that commands executed in the Cubes Hosting Game Panel Console do not need the leading / slash!


Conclusion

Using Minecraft's native /worldborder system is the cleanest, most efficient way to bound your server's playable area without adding plugin overhead. It keeps your server running smoothly while keeping your community connected!

Special Offer

Ready to Start Your Server?

Get 10% OFF your first month on any server with promo code CUBES10 at checkout!

24/7 Assistance

Need Help With Your Server?

Already a Cubes Hosting customer and couldn't find your answer? Our dedicated support team is available 24/7.