A world border mod for Better Than Adventure

A world border mod for Better Than Adventure 7.3_04 running on Babric mod loader.
/wb fillAll 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 |
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:
- Stop the server
- Create a full backup of your world folder
- Restart the server
- Run
/wb fillUse this feature at your own risk. The authors are not responsible for any data loss or world corruption.
mods folderThis mod integrates with better-with-dynmap to display world borders on your Dynmap web map.
/wb dynmap <on|off> to enable or disable markersDynmap integration can be toggled in worldborder/config.json:
{
"dynmapEnabled": true
}
Or use the command: /wb dynmap off to disable.
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
}
}
}
./gradlew build
The output JAR will be in build/libs/.
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.
MIT License - see LICENSE for details.
Conversation