From 54eb5d7db0ff1ace6c0152e4b73aa896e8f6f869 Mon Sep 17 00:00:00 2001 From: CoolLord22 Date: Wed, 11 Aug 2021 15:27:45 -0400 Subject: 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). --- bukkit/src/main/resources/resources/bukkit/config.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bukkit/src/main/resources') 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' -- cgit v1.2.3-70-g09d2