HomeJavaModsBetter With Border
Better With Border

text_logo

A world border mod for Better Than Adventure 7.3_04 running on Babric mod loader.

Features

Commands

All commands require operator permissions unless noted.

Command Description
/wb Show help
/wb set <radius> [world] Set border centered at your position
/wb setcorners <x1> <z1> <x2> <z2> [world] Set border by corner coordinates
/wb radius <radius> [world] Change border radius
/wb clear [world] Remove border
/wb list List all borders (no permission required)
/wb shape <round|square> Set default border shape
/wb bypass <player> Toggle border bypass for a player
/wb bypasslist List players with bypass
/wb knockback <distance> Set knockback distance (1-10)
/wb fill [chunksPerTick] [world] Pre-generate chunks inside border (see warning below)
/wb cancelFill [world] Cancel chunk generation
/wb fillstatus Show fill progress
/wb dynmap <on|off> Toggle Dynmap integration

Chunk Pre-generation Warning

WARNING: BACKUP YOUR WORLD BEFORE USING /wb fill!

The chunk pre-generation feature generates and populates chunks inside the border. This process modifies your world data and cannot be undone.

Before running /wb fill:

  1. Stop the server
  2. Create a full backup of your world folder
  3. Restart the server
  4. Run /wb fill

Use this feature at your own risk. The authors are not responsible for any data loss or world corruption.

Installation

  1. Download the latest release
  2. Place the JAR in your server's mods folder
  3. Restart the server

Dynmap Integration

This mod integrates with better-with-dynmap to display world borders on your Dynmap web map.

Setup

  1. Install better-with-dynmap on your server
  2. Restart the server
  3. Borders will automatically appear on Dynmap

Features

Configuration

Dynmap integration can be toggled in worldborder/config.json:

{
  "dynmapEnabled": true
}

Or use the command: /wb dynmap off to disable.

Configuration

Configuration is stored in worldborder/config.json and is automatically created on first run.

{
  "shapeRound": false,
  "message": "You have reached the edge of the world.",
  "knockback": 3.0,
  "timerTicks": 4,
  "whooshEffect": true,
  "dynmapEnabled": true,
  "bypassPlayers": [],
  "borders": {
    "world": {
      "centerX": 0.0,
      "centerZ": 0.0,
      "radius": 1000,
      "shapeRound": null
    }
  }
}

Building from Source

./gradlew build

The output JAR will be in build/libs/.

Credits

Inspired by the original WorldBorder Bukkit plugin by Brettflan.

This is a new implementation written from scratch for BTA Babric - no code was copied from the original plugin.

License

MIT License - see LICENSE for details.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more