Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add informative messages to the options. #440

Merged
merged 1 commit into from
Aug 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/main/java/world/bentobox/bskyblock/Settings.java
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ public class Settings implements WorldSettings {
@ConfigComment("This option indicates if nether portals should be linked via dimensions.")
@ConfigComment("Option will simulate vanilla portal mechanics that links portals together")
@ConfigComment("or creates a new portal, if there is not a portal in that dimension.")
@ConfigComment("This option requires `allow-nether=true` in server.properties.")
@ConfigEntry(path = "world.nether.create-and-link-portals", since = "1.14.4")
private boolean makeNetherPortals = false;

Expand All @@ -206,6 +207,7 @@ public class Settings implements WorldSettings {

@ConfigComment("This option indicates if obsidian platform in the end should be generated")
@ConfigComment("when player enters the end world.")
@ConfigComment("This option requires `allow-end=true` in bukkit.yml.")
@ConfigEntry(path = "world.end.create-obsidian-platform", since = "1.14.4")
private boolean makeEndPortals = false;

Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ world:
# This option indicates if nether portals should be linked via dimensions.
# Option will simulate vanilla portal mechanics that links portals together
# or creates a new portal, if there is not a portal in that dimension.
# This option requires `allow-nether=true` in server.properties.
# Added since 1.14.4.
create-and-link-portals: false
end:
Expand All @@ -130,6 +131,7 @@ world:
islands: true
# This option indicates if obsidian platform in the end should be generated
# when player enters the end world.
# This option requires `allow-end=true` in bukkit.yml.
# Added since 1.14.4.
create-obsidian-platform: false
# /!\ This feature is experimental and might not work as expected or might not work at all.
Expand Down