
Makes setting custom borders in minecraft possible with a simple command! Perfect for PvP events and other events on SMPs .
Custom square world borders — fully independent of the vanilla Minecraft border.
Define named, persistent borders anywhere in your world. Players are kept inside with particles, pushback, and instant enforcement. Admins get fine-grained control over bypass, visibility, and settings — all at runtime, no restart needed.
/borderop/tp support — command-sourced teleports always cross borders freely, so admins can move players to either sideborders.yml and survive server restarts(Default: OP only — configurable via permissions)
| Command | Description |
|---|---|
/border help |
Shows all commands with explanations and your current settings |
/border list |
Lists all active borders with name, world, center, and radius |
/border info <name> |
Shows detailed info about a specific border |
/border view |
Shows your current and the server-default visibility distance |
/border view <blocks> |
Sets how far away you see the red particle wall (1–256 blocks) |
/border view reset |
Resets your visibility distance to the server default |
(Requires customborder.admin)
| Command | Description |
|---|---|
/border create <name> <radius> |
Creates a square border centered on your current position |
/border remove <name> |
Permanently deletes a border |
/border pushback |
Shows current pushback status (enabled, distance, strength) |
/border pushback on |
Enables the pushback mechanic globally |
/border pushback off |
Disables the pushback mechanic globally |
/border pushback distance <blocks> |
Sets how close players must be before getting pushed back |
/border pushback strength <value> |
Sets the velocity force of the pushback (default: 1.2) |
/border particles on |
Shows the particle wall for yourself again |
/border particles off |
Hides the particle wall for yourself (bypass-independent) |
/borderop on |
Enables border bypass — you can freely cross all borders |
/borderop off |
Disables border bypass — borders are enforced for you again |
Note:
/tp(and any command-sourced teleport) always crosses borders freely, allowing admins to move players to either side without needing bypass.
| Permission | Description | Default |
|---|---|---|
customborder.use |
Use basic commands: help, list, info, view |
op |
customborder.admin |
Full control: create/remove borders, pushback settings, particles, bypass | op |
All settings in plugins/CustomBorder/config.yml:
# Distance (in blocks) at which red particles become visible (server-wide default).
# Each player can override this individually with /border view.
particle-visibility-distance: 10.0
# Whether the pushback mechanic is active. Toggleable at runtime with /border pushback on|off.
pushback-enabled: true
# Distance (in blocks) from the wall at which players start getting pushed back.
pushback-distance: 3.0
# Velocity strength of the pushback toward the border center.
pushback-strength: 1.2
# How often (in ticks) the proximity check runs. 20 ticks = 1 second.
check-interval: 5
# Number of particle points rendered per visible wall per check.
particle-count: 8
# Height of the border wall in blocks. 10000 covers the full build range.
border-height: 10000
All pushback settings can be changed at runtime via commands — no need to edit the file or restart the server. Changes are saved immediately.
Stand at the center of where you want the border, then run /border create <name> <radius>.
radius is the half side-length: a radius of 100 creates a 200 × 200 block area.Players who approach within their visibility distance see a red particle wall along the border edge.
Within pushback-distance blocks of the wall, players are continuously pushed back toward the center.
If a player somehow ends up outside (e.g. via a plugin teleport), they are immediately teleported back to the nearest safe location inside.
Admins can use /borderop on to bypass all enforcement for themselves. When done, /borderop off re-enables it.
Admins can freely teleport players across borders using the standard /tp command.
Every player can customize how far away they see the particle wall with /border view <blocks>, between 1 and 256 blocks.
Borders are stored in plugins/CustomBorder/borders.yml and loaded automatically on startup. The number of loaded borders is logged on enable:
[CustomBorder] Loaded 3 border(s) from storage.
Per-player settings (visibility distance, particles hidden, bypass) are session-only and reset on restart — this is intentional, as they are considered temporary preferences.
Found a bug or want to contribute? Open an issue or pull request on the GitHub repository.