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}
|
||||
*/
|
||||
@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<String> fallingBannedCommands)
|
||||
{
|
||||
this.fallingBannedCommands = fallingBannedCommands;
|
||||
}
|
||||
/**
|
||||
* This method sets the fallingBannedCommands object value.
|
||||
* @param fallingBannedCommands the fallingBannedCommands object new value.
|
||||
*
|
||||
*/
|
||||
public void setFallingBannedCommands(List<String> 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.<number> 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<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;
|
||||
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user