aboutsummaryrefslogtreecommitdiffstats
path: root/bukkit/src/main/resources
diff options
context:
space:
mode:
authorCoolLord22 <mastermodmaker@yahoo.com>2021-08-11 15:27:45 -0400
committerLMBishop <13875753+LMBishop@users.noreply.github.com>2021-08-11 23:04:24 +0100
commit54eb5d7db0ff1ace6c0152e4b73aa896e8f6f869 (patch)
treefdcb192c2f8c7244b3784c895067d9046e773bb1 /bukkit/src/main/resources
parentc2830540c8b51a53a9c200b5d02df9d22e09e650 (diff)
Add option to ignore AFK players for PlaytimeTaskType
Hooks into Essentials and exempts users who are AFK at the time of the PlaytimeTask increment from getting time added to their quest progress. Adds config option to enable this (defaults to false, that way this feature isn't automatically on in old configs).
Diffstat (limited to 'bukkit/src/main/resources')
-rw-r--r--bukkit/src/main/resources/resources/bukkit/config.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/bukkit/src/main/resources/resources/bukkit/config.yml b/bukkit/src/main/resources/resources/bukkit/config.yml
index 34205102..4f7b36c9 100644
--- a/bukkit/src/main/resources/resources/bukkit/config.yml
+++ b/bukkit/src/main/resources/resources/bukkit/config.yml
@@ -150,6 +150,8 @@ options:
trim-gui-size: true
# Enable/disable titles
titles-enabled: true
+ # Should the playtime task type ignore users who are marked AFK by Essentials
+ playtime-ignores-afk: false
# Allow players to have multiple active quests.
# You can set the default number of quests using the 'default' rank below.
# To grant different quest limits to different people, you can define a 'quest-rank'