mirror of
https://github.com/BentoBoxWorld/Boxed.git
synced 2024-12-11 14:37:52 +01:00
Added back in area height
This commit is contained in:
parent
87fb333753
commit
a5a02f5594
@ -126,6 +126,11 @@ public class Settings implements WorldSettings {
|
|||||||
@ConfigEntry(path = "world.max-areas")
|
@ConfigEntry(path = "world.max-areas")
|
||||||
private int maxIslands = -1;
|
private int maxIslands = -1;
|
||||||
|
|
||||||
|
@ConfigComment("Area height - Lowest is 5.")
|
||||||
|
@ConfigComment("It is the y coordinate of the bedrock block in the blueprint.")
|
||||||
|
@ConfigEntry(path = "world.area-height")
|
||||||
|
private int islandHeight = 8;
|
||||||
|
|
||||||
@ConfigComment("The maximum number of players a player can ban at any one time in this game mode.")
|
@ConfigComment("The maximum number of players a player can ban at any one time in this game mode.")
|
||||||
@ConfigComment("The permission boxed.ban.maxlimit.X where X is a number can also be used per player")
|
@ConfigComment("The permission boxed.ban.maxlimit.X where X is a number can also be used per player")
|
||||||
@ConfigComment("-1 = unlimited")
|
@ConfigComment("-1 = unlimited")
|
||||||
@ -532,7 +537,7 @@ public class Settings implements WorldSettings {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public int getIslandHeight() {
|
public int getIslandHeight() {
|
||||||
return 5;
|
return islandHeight;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1723,4 +1728,11 @@ public class Settings implements WorldSettings {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param islandHeight the islandHeight to set
|
||||||
|
*/
|
||||||
|
public void setIslandHeight(int islandHeight) {
|
||||||
|
this.islandHeight = islandHeight;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -61,6 +61,9 @@ world:
|
|||||||
# If none of this makes sense, leave it at 0,0.
|
# If none of this makes sense, leave it at 0,0.
|
||||||
start-x: 0
|
start-x: 0
|
||||||
start-z: 0
|
start-z: 0
|
||||||
|
# Area height - Lowest is 5.
|
||||||
|
# It is the y coordinate of the bedrock block in the blueprint.
|
||||||
|
area-height: 8
|
||||||
# Maximum number of player areas in the world. Set to -1 or 0 for unlimited.
|
# Maximum number of player areas in the world. Set to -1 or 0 for unlimited.
|
||||||
# If the number of areas is greater than this number, it will stop players from joining the world.
|
# If the number of areas is greater than this number, it will stop players from joining the world.
|
||||||
max-areas: -1
|
max-areas: -1
|
||||||
|
Loading…
Reference in New Issue
Block a user