Add better config description for safe-spot-search-range.

This commit is contained in:
BONNe 2022-09-30 21:46:01 +03:00
parent f01e5540c7
commit 52bca66149
2 changed files with 8 additions and 1 deletions

View File

@ -314,7 +314,9 @@ public class Settings implements ConfigObject {
@ConfigEntry(path = "island.safe-spot-search-vertical-range", since = "1.19.1")
private int safeSpotSearchVerticalRange = 400;
@ConfigComment("By default, If the destination is not safe, the plugin will try to search for a safe spot around the destination,")
@ConfigComment("By default, if the destination is not safe, the plugin will try to search for a safe spot around the destination.")
@ConfigComment("This allows to change the distance for searching this spot. Larger value will mean longer position search.")
@ConfigComment("This value is also used for valid nether portal linking between dimension.")
@ConfigEntry(path = "island.safe-spot-search-range", since = "1.21.0")
private int safeSpotSearchRange = 16;

View File

@ -209,6 +209,11 @@ island:
# If set to 0 or lower, the plugin will not expand the y-coordinate.
# Added since 1.19.1.
safe-spot-search-vertical-range: 400
# By default, if the destination is not safe, the plugin will try to search for a safe spot around the destination.
# This allows to change the distance for searching this spot. Larger value will mean longer position search.
# This value is also used for valid nether portal linking between dimension.
# Added since 1.21.0.
safe-spot-search-range: 16
web:
github:
# Toggle whether BentoBox can connect to GitHub to get data about updates and addons.