Better config.yml comments on home setting in nether and end

Fixes https://github.com/BentoBoxWorld/BSkyBlock/issues/356
This commit is contained in:
tastybento 2020-07-18 08:10:07 -07:00
parent b354793f03
commit 97c29e31e6
2 changed files with 4 additions and 0 deletions

View File

@ -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;

View File

@ -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: