Skip to content

Commit 334216f

Browse files
authored
Merge pull request #416 from BentoBoxWorld/feat/179-include-undeployed-config
Add include-undeployed to shipped config.yml (#179)
2 parents c0215c9 + add3daa commit 334216f

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

src/main/java/world/bentobox/challenges/config/Settings.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,9 @@ public class Settings implements ConfigObject
156156
private boolean resetChallenges = true;
157157

158158
@ConfigComment("")
159-
@ConfigComment("This option indicates if undepolyed challenges should be counted to level completion.")
160-
@ConfigComment("Disabling this option will make it so that only deployed challenges will be counted.")
159+
@ConfigComment("This option indicates if undeployed challenges should be counted towards level completion.")
160+
@ConfigComment("Disabling this option will make it so that only deployed challenges are counted, so an")
161+
@ConfigComment("undeployed challenge will not block a level from being completed.")
161162
@ConfigComment("Default: true")
162163
@ConfigEntry(path = "include-undeployed")
163164
private boolean includeUndeployed = true;

src/main/resources/config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,12 @@ store-island-data: true
9696
# challenges by doing them repeatedly.
9797
reset-challenges: true
9898
#
99+
# This option indicates if undeployed challenges should be counted towards level completion.
100+
# Disabling this option will make it so that only deployed challenges are counted, so an
101+
# undeployed challenge will not block a level from being completed.
102+
# Default: true
103+
include-undeployed: true
104+
#
99105
# Broadcast 1st time challenge completion messages to all players.
100106
# Change to false if the spam becomes too much.
101107
broadcast-messages: true

0 commit comments

Comments
 (0)