aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/config.yml20
-rw-r--r--src/main/resources/plugin.yml16
-rw-r--r--src/main/resources/quests/example1.yml3
3 files changed, 29 insertions, 10 deletions
diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml
index 8edf1f7d..b533b5fe 100644
--- a/src/main/resources/config.yml
+++ b/src/main/resources/config.yml
@@ -151,13 +151,29 @@ options:
gui-hide-quests-nopermission: false
# Hide categories which a player cannot open due to permissions.
gui-hide-categories-nopermission: false
+ # Replace placeholders from PlaceholderAPI in Quests GUI items
+ gui-use-placeholderapi: false
# Make it so players do not have to start quest themselves
quest-autostart: false
# How much quests should log, 0 = errors only, 1 = warnings, 2 = info, 3 = debug
verbose-logging-level: 2
+ # Automatically clean player's quest progress files when they join.
+ # These changes will not be reflected to disk.
+ # Useful if you frequently add and remove quests on a production server. Equivalent of executing /q a moddata clean, without overwriting the file.
+ soft-clean-questsprogressfile-on-join: false
+ # The above, but overwriting the file on disk with the cleaned version, so it does not soft clean on every join.
+ push-soft-clean-to-disk: false
performance-tweaking: # The following are measured in server ticks, multiply SECONDS by 20 to get the number of ticks.
- quest-completer-poll-interval: 100 # how frequently Quests should check if quests have been completed (def=100 - 5 seconds) - increase this value if you are struggling with performance
+ quest-queue-executor-interval: 1 # how frequently Quests should execute the next check in the completion queue (def=1 - 0.05s) - increase this value if you are struggling with performance
quest-autosave-interval: 12000 # how frequently online players data will be autosaved (def=12000 - 10 minutes)
+ tab-completion:
+ enabled: true
+ error-checking:
+ # Allow quests to be loaded if they contain errors
+ # This may lead to errors in the console!
+ override-errors: false
+ # How many time (in seconds) plugin save placeholders
+ placeholder-cache-time: 10
# This switches up the entire quest system.
# By enabling daily-quests, players will no longer be presented with the standard Quest GUI.
@@ -209,6 +225,8 @@ messages:
command-quest-admin-loaddata: "&7Quest data for '&c{player}&7' is being loaded."
command-quest-admin-nodata: "&7No data could be found for player &c{player}&7."
command-quest-admin-fullreset: "&7Data for player &c{player}&7 has been fully reset."
+ command-quest-admin-clean-success: "&7All quest progress files have been cleaned."
+ command-quest-admin-clean-fail: "&cFailed to clean quest progress files. Please report the error in the console."
command-quest-admin-start-faillocked: "&7Quest '&c{quest}&7' could not be started for player &c{player}&7. They have not yet unlocked it."
command-quest-admin-start-failcooldown: "&7Quest '&c{quest}&7' could not be started for player &c{player}&7. It is still on cooldown for them."
command-quest-admin-start-failcomplete: "&7Quest '&c{quest}&7' could not be started for player &c{player}&7. They have already completed it."
diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml
index 2b2629c2..9426bca9 100644
--- a/src/main/resources/plugin.yml
+++ b/src/main/resources/plugin.yml
@@ -1,11 +1,15 @@
-name: Quests
+# This will be replaced with the property "rootProject.name" in settings.gradle
+name: ${name}
-# This will be replaced with the property "release.version" in pom.xml upon build.
-version: %PLUGIN_VERSION%
+# This will be replaced with the property "version" in build.gradle
+version: ${version}
-main: com.leonardobishop.quests.Quests
-authors: [LMBishop, Auxilor]
-softdepend: [ASkyBlock, uSkyBlock, Citizens, PlaceholderAPI]
+# This will be replaced with the property "group" in build.gradle + plugin name
+# See "processResources" in build.gradle for more info
+main: ${main}
+
+author: LMBishop
+softdepend: [ASkyBlock, BentoBox, IridiumSkyblock, uSkyBlock, Citizens, MythicMobs, PlaceholderAPI, Essentials]
prefix: Quests
api-version: "1.13" # allows new API features but Quests will still work pre-1.13
diff --git a/src/main/resources/quests/example1.yml b/src/main/resources/quests/example1.yml
index 08402106..d0d44203 100644
--- a/src/main/resources/quests/example1.yml
+++ b/src/main/resources/quests/example1.yml
@@ -42,9 +42,6 @@ rewards:
options:
# This is the category for the quest, it will appear under the "examples" category. Categories can be disabled.
category: "examples"
- # Set the quest IDs of required quests here, leave empty if none.
- requires:
- - ""
# Set if the quest can be repeated after being completed for the first time.
repeatable: false
# Define the cooldown on quests. The above (repeatable) must be true for this to take effect.