Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ use-wbapi: true
```

### Use barrier blocks.
This only applies if you are not using WBAPI.
Only applies if WBAPI isn't used.

If true, the the border will use barrier blocks to prevent most players from exiting the border. If players do manage to exit it, they will get teleported back inside it.

Expand All @@ -60,14 +60,23 @@ show-by-default: true

### Show max-protection range border.

This only applies if you are not using WBAPI.
Only applies if WBAPI isn't used.

This is a visual border only and not a barrier. It displays the 🚫 particle. This is useful for game modes like Boxed where the player's protection area can move around.

```
show-max-border: true
```

### Show particles
Only applies if WBAPI isn't used.

Enables/disables all types of wall particles shown by the addon.

```
show-particles: true
```

## Commands

There is one command that turns the border on or off. Since Version 3.0.0 it requires a permission:
Expand Down
6 changes: 4 additions & 2 deletions src/main/java/world/bentobox/border/Settings.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ public class Settings implements ConfigObject {
private boolean returnTeleport = true;

@ConfigComment("")
@ConfigComment("Only applies if WBAPI isn't used.")
@ConfigComment("Use barrier blocks. If false, the border is indicated by particles only.")
@ConfigComment("Only applicable if vanilla world border is not used")
@ConfigEntry(path = "use-barrier-blocks")
private boolean useBarrierBlocks = true;

Expand All @@ -44,12 +44,14 @@ public class Settings implements ConfigObject {
private boolean showByDefault= true;

@ConfigComment("")
@ConfigComment("Only applies if WBAPI isn't used.")
@ConfigComment("Show max-protection range border. This is a visual border only and not a barrier.")
@ConfigEntry(path = "show-max-border")
private boolean showMaxBorder= true;

@ConfigComment("")
@ConfigComment("Show particles. If WBAPI isn't used, then enable/disable the particles")
@ConfigComment("Only applies if WBAPI isn't used.")
@ConfigComment("Enables/disables all types of wall particles shown by the addon")
@ConfigEntry(path = "show-particles")
private boolean showParticles = true;

Expand Down