diff --git a/src/main/java/world/bentobox/caveblock/Settings.java b/src/main/java/world/bentobox/caveblock/Settings.java index cca6098..ae29bc5 100644 --- a/src/main/java/world/bentobox/caveblock/Settings.java +++ b/src/main/java/world/bentobox/caveblock/Settings.java @@ -824,6 +824,7 @@ public class Settings implements WorldSettings /** * {@inheritDoc} */ + @Override public String getPlayerCommandAliases() { return playerCommandAliases; @@ -833,6 +834,7 @@ public class Settings implements WorldSettings /** * {@inheritDoc} */ + @Override public String getAdminCommandAliases() { return adminCommandAliases; @@ -1185,15 +1187,15 @@ public class Settings implements WorldSettings } - /** - * This method sets the fallingBannedCommands object value. - * @param fallingBannedCommands the fallingBannedCommands object new value. - * - */ - public void setFallingBannedCommands(List fallingBannedCommands) - { - this.fallingBannedCommands = fallingBannedCommands; - } + /** + * This method sets the fallingBannedCommands object value. + * @param fallingBannedCommands the fallingBannedCommands object new value. + * + */ + public void setFallingBannedCommands(List fallingBannedCommands) + { + this.fallingBannedCommands = fallingBannedCommands; + } /** @@ -1317,36 +1319,36 @@ public class Settings implements WorldSettings } - /** - * This method sets the createCaveOnFirstLoginEnabled object value. - * @param createIslandOnFirstLoginEnabled the createCaveOnFirstLoginEnabled object new value. - * - */ - public void setCreateIslandOnFirstLoginEnabled(boolean createIslandOnFirstLoginEnabled) - { - this.createIslandOnFirstLoginEnabled = createIslandOnFirstLoginEnabled; - } + /** + * This method sets the createCaveOnFirstLoginEnabled object value. + * @param createIslandOnFirstLoginEnabled the createCaveOnFirstLoginEnabled object new value. + * + */ + public void setCreateIslandOnFirstLoginEnabled(boolean createIslandOnFirstLoginEnabled) + { + this.createIslandOnFirstLoginEnabled = createIslandOnFirstLoginEnabled; + } - /** - * This method sets the createCaveOnFirstLoginDelay object value. - * @param createIslandOnFirstLoginDelay the createCaveOnFirstLoginDelay object new value. - * - */ - public void setCreateIslandOnFirstLoginDelay(int createIslandOnFirstLoginDelay) - { - this.createIslandOnFirstLoginDelay = createIslandOnFirstLoginDelay; - } + /** + * This method sets the createCaveOnFirstLoginDelay object value. + * @param createIslandOnFirstLoginDelay the createCaveOnFirstLoginDelay object new value. + * + */ + public void setCreateIslandOnFirstLoginDelay(int createIslandOnFirstLoginDelay) + { + this.createIslandOnFirstLoginDelay = createIslandOnFirstLoginDelay; + } - /** - * This method sets the createCaveOnFirstLoginDelay object value. - * @param createIslandOnFirstLoginAbortOnLogout the createCaveOnFirstLoginDelay object new value. - * - */ - public void setCreateIslandOnFirstLoginAbortOnLogout(boolean createIslandOnFirstLoginAbortOnLogout) - { - this.createIslandOnFirstLoginAbortOnLogout = createIslandOnFirstLoginAbortOnLogout; - } + /** + * This method sets the createCaveOnFirstLoginDelay object value. + * @param createIslandOnFirstLoginAbortOnLogout the createCaveOnFirstLoginDelay object new value. + * + */ + public void setCreateIslandOnFirstLoginAbortOnLogout(boolean createIslandOnFirstLoginAbortOnLogout) + { + this.createIslandOnFirstLoginAbortOnLogout = createIslandOnFirstLoginAbortOnLogout; + } /** @@ -2182,7 +2184,7 @@ public class Settings implements WorldSettings @ConfigComment("permission size cannot be less than the default below. ") @ConfigEntry(path = "cave.max-coop-size", since = "1.13.0") private int maxCoopSize = 4; - + @ConfigComment("Default maximum number of trusted rank members per cave") @ConfigComment("Players can have the caveblock.trust.maxsize. permission to be bigger but") @ConfigComment("permission size cannot be less than the default below. ") @@ -2331,12 +2333,14 @@ public class Settings implements WorldSettings private List onLeaveCommands = new ArrayList<>(); // Sethome + @ConfigComment("Allow setting home in the nether. Only available on nether islands, not vanilla nether.") @ConfigEntry(path = "cave.sethome.nether.allow") private boolean allowSetHomeInNether = true; @ConfigEntry(path = "cave.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 = "cave.sethome.the-end.allow") private boolean allowSetHomeInTheEnd = true; diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index 69436da..dafefe8 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -413,9 +413,11 @@ cave: 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: