mirror of
https://github.com/BentoBoxWorld/CaveBlock.git
synced 2024-11-22 11:35:11 +01:00
Improved comments for nether and end sethome
This commit is contained in:
parent
aaea6fd6fe
commit
cb38e67e36
@ -824,6 +824,7 @@ public class Settings implements WorldSettings
|
|||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public String getPlayerCommandAliases()
|
public String getPlayerCommandAliases()
|
||||||
{
|
{
|
||||||
return playerCommandAliases;
|
return playerCommandAliases;
|
||||||
@ -833,6 +834,7 @@ public class Settings implements WorldSettings
|
|||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public String getAdminCommandAliases()
|
public String getAdminCommandAliases()
|
||||||
{
|
{
|
||||||
return adminCommandAliases;
|
return adminCommandAliases;
|
||||||
@ -2331,12 +2333,14 @@ public class Settings implements WorldSettings
|
|||||||
private List<String> onLeaveCommands = new ArrayList<>();
|
private List<String> onLeaveCommands = new ArrayList<>();
|
||||||
|
|
||||||
// Sethome
|
// Sethome
|
||||||
|
@ConfigComment("Allow setting home in the nether. Only available on nether islands, not vanilla nether.")
|
||||||
@ConfigEntry(path = "cave.sethome.nether.allow")
|
@ConfigEntry(path = "cave.sethome.nether.allow")
|
||||||
private boolean allowSetHomeInNether = true;
|
private boolean allowSetHomeInNether = true;
|
||||||
|
|
||||||
@ConfigEntry(path = "cave.sethome.nether.require-confirmation")
|
@ConfigEntry(path = "cave.sethome.nether.require-confirmation")
|
||||||
private boolean requireConfirmationToSetHomeInNether = true;
|
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")
|
@ConfigEntry(path = "cave.sethome.the-end.allow")
|
||||||
private boolean allowSetHomeInTheEnd = true;
|
private boolean allowSetHomeInTheEnd = true;
|
||||||
|
|
||||||
|
@ -413,9 +413,11 @@ cave:
|
|||||||
on-leave: []
|
on-leave: []
|
||||||
sethome:
|
sethome:
|
||||||
nether:
|
nether:
|
||||||
|
# Allow setting home in the nether. Only available on nether islands, not vanilla nether.
|
||||||
allow: true
|
allow: true
|
||||||
require-confirmation: true
|
require-confirmation: true
|
||||||
the-end:
|
the-end:
|
||||||
|
# Allow setting home in the end. Only available on end islands, not vanilla end.
|
||||||
allow: true
|
allow: true
|
||||||
require-confirmation: true
|
require-confirmation: true
|
||||||
deaths:
|
deaths:
|
||||||
|
Loading…
Reference in New Issue
Block a user