Skip to content

Commit

Permalink
Better config.yml comments on home setting in nether and end
Browse files Browse the repository at this point in the history
Fixes #356
  • Loading branch information
tastybento committed Jul 18, 2020
1 parent b354793 commit 97c29e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/world/bentobox/bskyblock/Settings.java
Original file line number Diff line number Diff line change
Expand Up @@ -420,12 +420,14 @@ public class Settings implements WorldSettings {
private List<String> onLeaveCommands = new ArrayList<>();

// Sethome
@ConfigComment("Allow setting home in the nether. Only available on nether islands, not vanilla nether.")
@ConfigEntry(path = "island.sethome.nether.allow")
private boolean allowSetHomeInNether = true;

@ConfigEntry(path = "island.sethome.nether.require-confirmation")
private boolean requireConfirmationToSetHomeInNether = true;

@ConfigComment("Allow setting home in the end. Only available on end islands, not vanilla end.")
@ConfigEntry(path = "island.sethome.the-end.allow")
private boolean allowSetHomeInTheEnd = true;

Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,11 @@ island:
on-leave: []
sethome:
nether:
# Allow setting home in the nether. Only available on nether islands, not vanilla nether
allow: true
require-confirmation: true
the-end:
# Allow setting home in the end. Only available on end islands, not vanilla end
allow: true
require-confirmation: true
deaths:
Expand Down

0 comments on commit 97c29e3

Please sign in to comment.