Fixed errors in settings and changed defaults.

This commit is contained in:
tastybento 2019-06-02 14:19:14 -07:00 committed by tastybento
parent fc76f9c27a
commit 04c06f0c3e
2 changed files with 5 additions and 7 deletions

View File

@ -56,17 +56,16 @@ public class Settings implements WorldSettings {
private Difficulty difficulty = Difficulty.NORMAL; private Difficulty difficulty = Difficulty.NORMAL;
@ConfigComment("Radius of island in blocks. (So distance between islands is twice this)") @ConfigComment("Radius of island in blocks. (So distance between islands is twice this)")
@ConfigComment("Will be rounded up to the nearest 16 blocks.")
@ConfigComment("It is the same for every dimension : Overworld, Nether and End.") @ConfigComment("It is the same for every dimension : Overworld, Nether and End.")
@ConfigComment("This value cannot be changed mid-game and the plugin will not start if it is different.") @ConfigComment("This value cannot be changed mid-game and the plugin will not start if it is different.")
@ConfigEntry(path = "world.distance-between-islands", needsReset = true) @ConfigEntry(path = "world.distance-between-islands", needsReset = true)
private int islandDistance = 192; private int islandDistance = 400;
@ConfigComment("Default protection range radius in blocks. Cannot be larger than distance.") @ConfigComment("Default protection range radius in blocks. Cannot be larger than distance.")
@ConfigComment("Admins can change protection sizes for players individually using /bsbadmin range set <player> <new range>") @ConfigComment("Admins can change protection sizes for players individually using /bsbadmin range set <player> <new range>")
@ConfigComment("or set this permission: bskyblock.island.range.<number>") @ConfigComment("or set this permission: bskyblock.island.range.<number>")
@ConfigEntry(path = "world.protection-range", needsReset = true) @ConfigEntry(path = "world.protection-range", needsReset = true)
private int islandProtectionRange = 100; private int islandProtectionRange = 50;
@ConfigComment("Start islands at these coordinates. This is where new islands will start in the") @ConfigComment("Start islands at these coordinates. This is where new islands will start in the")
@ConfigComment("world. These must be a factor of your island distance, but the plugin will auto") @ConfigComment("world. These must be a factor of your island distance, but the plugin will auto")
@ -87,7 +86,7 @@ public class Settings implements WorldSettings {
@ConfigComment("Island height - Lowest is 5.") @ConfigComment("Island height - Lowest is 5.")
@ConfigComment("It is the y coordinate of the bedrock block in the schem.") @ConfigComment("It is the y coordinate of the bedrock block in the schem.")
@ConfigEntry(path = "world.island-height") @ConfigEntry(path = "world.island-height")
private int islandHeight = 100; private int islandHeight = 120;
@ConfigComment("Use your own world generator for this world.") @ConfigComment("Use your own world generator for this world.")
@ConfigComment("In this case, the plugin will not generate anything.") @ConfigComment("In this case, the plugin will not generate anything.")

View File

@ -17,10 +17,9 @@ world:
# Other plugins may override this setting # Other plugins may override this setting
difficulty: NORMAL difficulty: NORMAL
# Radius of island in blocks. (So distance between islands is twice this) # Radius of island in blocks. (So distance between islands is twice this)
# Will be rounded up to the nearest 16 blocks.
# It is the same for every dimension : Overworld, Nether and End. # It is the same for every dimension : Overworld, Nether and End.
# This value cannot be changed mid-game and the plugin will not start if it is different. # This value cannot be changed mid-game and the plugin will not start if it is different.
distance-between-islands: 64 distance-between-islands: 400
# Default protection range radius in blocks. Cannot be larger than distance. # Default protection range radius in blocks. Cannot be larger than distance.
# Admins can change protection sizes for players individually using /bsbadmin range set <player> <new range> # Admins can change protection sizes for players individually using /bsbadmin range set <player> <new range>
# or set this permission: bskyblock.island.range.<number> # or set this permission: bskyblock.island.range.<number>
@ -56,7 +55,7 @@ world:
# The default biome for the overworld # The default biome for the overworld
default-biome: PLAINS default-biome: PLAINS
# The maximum number of players a player can ban at any one time in this game mode. # The maximum number of players a player can ban at any one time in this game mode.
# The permission acidisland.ban.maxlimit.X where X is a number can also be used per player # The permission bskyblock.ban.maxlimit.X where X is a number can also be used per player
# -1 = unlimited # -1 = unlimited
ban-limit: -1 ban-limit: -1
nether: nether: