Bypass the vanilla worldborder building & combat limitations.
Break or place blocks & damage entities behind the vanilla worldborder without any client side-mods!
plugins/ folder plugins/BeyondBorderUnlocked/config.yml to your needs[!WARNING]
These actions beyond the world border are not intended by game design.
Unexpected bugs may occur, and the experience will differ from normal gameplay.
Test thoroughly before production use.
config.yml)building: false # Allow block placement beyond border (left click)
breaking: true # # Allow block breaking beyond border (left click)
walkthrough: true # Allow walking through border
hitting: true # Allow hitting entities beyond border
damage:
enabled: true # Enable custom border damage settings below (if false, the plugin does not modify the values below in your worlds)
buffer: 5.0 # Distance before damage starts
amount: 0.2 # Damage per second
blockOutline:
enabled: true # Show block outlines beyond border
size: 0.009 # Size of outline segments
block: black_stained_glass # Block type for outline
/beyondborder reload - Reload configuration/beyondborder set <setting> <value> - Change settingsAvailable settings:
building, breaking, walkthrough, blockOutline.enabled, hitting (true/false)damage.enabled, damage.buffer, blockOutline.size, damage.amount (numbers)blockOutline.block (text)Permissions:beyondborder.commands - Access to commands (default: op)
To use the api add depends: BeyondBorderUnlocked to your plugin.yml
and this plugin as a compile-only dependency:
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
compileOnly("com.github.max1mde:BeyondBorderUnlocked:1.0.0")
}
BeyondBorderUnlocked plugin = BeyondBorderUnlocked.getInstance();
Config config = plugin.getPluginConfig();
| Event Class | Async | Cancellable |
|---|---|---|
BlockBreakBorderEvent |
No | Yes |
BlockPlaceBorderEvent |
No | Yes |
AsyncEntityDamageBorderEvent |
Yes | Yes |
AsyncEntityInteractBorderEvent |
Yes | Yes |
Example Event Usage:
@EventHandler
public void onEntityDamage(AsyncEntityDamageBorderEvent event) {
if (event.getDamager() instanceof Player) {
event.setDamage(event.getDamage() * 1.5); // 50% more damage for example
}
}
By default, Minecraft clients don't send certain packets when behind the world border:
This plugin works by:
The block selection outline is created using:
Because of that, the building feature does not work when right-clicking, as the client does not send any packets when right-clicking beyond the world border. The only packet sent is the arm animation packet when the player left-clicks.