Border creates and shows a border around islands which players cannot pass. The border can be:
- the vanilla world border
- a custom border that shows up when the player is near (visuals can be configured).
Installation
- Put the addon jar into the plugins/BentoBox/addons folder
- Restart the server (to enable the addon and have the config.yml file generated)
- Customize settings in config.yml (optional)
- Restart the server to apply new settings
Commands
Tip
[player_command]
is a command that differs depending on the gamemode you are running. The Gamemodes' config.yml file contains settings that allows you to modify this value. As an example, on BSkyBlock, the default [player_command]
is island
.
border
- Command:
/[player command] border
- Description: Turns the border on/off.
- Permission:
[gamemode].border.toggle
. Default: op. - Note: It requires a permission to use and is no enabled by default.
border type
- Command:
/[player command] border type {barrier | vanilla}
- Description: Sets the border type.
- Permission:
[gamemode].border.set-type
. Default: true. - Example:
/[player command] border type barrier
Configuration
The config.yml file contains settings. The default value is usually the example value unless explicitly stated.
Disable game modes
You can disable the addon with this setting. By default, Border will operate in all game mode worlds on the BentoBox server.
You can disable a game mode by writing its name on a new line that starts with -. Example to disable BSkyBlock:
disabled-gamemodes:
- BSkyBlock
Default value:
disabled-gamemodes: []
Return teleport
Controls whether if players somehow manage to pass through the border (e.g. teleport in the same world), should they be teleported back to their islands.
Set to true if you want players to be teleported back.
Warning: If you set this value to false along with having use-barrier-blocks as false, players will be able to just simply walk through the border.
return-teleport: true
Tip
If you want to use this addon only to show the borders for the players, use the following settings:
use-barrier-blocks: false
return-teleport: false
Use barrier blocks.
Only applies for players who are not using the vanilla border type.
- true: the border will be made of barrier blocks.
- false: there will be no barrier block-based border. This means it is up to the return-teleport setting whether players are teleported back when leaving the island.
use-barrier-blocks: true
Default border behavior
Players can turn the border on and off with a command if they have the right permission. This setting makes the default on or off; set it to true to have it on by default.
show-by-default: true
Show max-protection range border.
Only applies for players who are not using the vanilla border type.
Set to true to show barrier (🚫) particles shown at the max protection range. This is useful for game modes like Boxed where the player's protection area can move around.
Note that these are not barrier blocks but particles, so the "air" just looks like them.
show-max-border: true
Show particles
Enables/disables all types of wall particles shown by the addon (border and max-protection range particles).
Set to false if you don't want any wall particles to be shown.
show-particles: true