Improved comments for nether and end sethome

This commit is contained in:
tastybento 2020-07-18 08:15:30 -07:00
parent aaea6fd6fe
commit cb38e67e36
2 changed files with 43 additions and 37 deletions

View File

@ -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;
@ -2331,12 +2333,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 = "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;

View File

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