From d73c2265b448dbfc794ccbc0e0b47b7c6fc554d3 Mon Sep 17 00:00:00 2001 From: CoolLord22 Date: Tue, 10 Aug 2021 16:29:40 -0400 Subject: Adding rank based active quest limits Adds in a feature similar to EssentialsX's multihome setting, allowing different ranks to have different limits of starting quests. Similar to request made in #91 but modified via name based permissions stored by the plugin. --- bukkit/src/main/resources/resources/bukkit/config.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (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 40dc1f94..636b7abc 100644 --- a/bukkit/src/main/resources/resources/bukkit/config.yml +++ b/bukkit/src/main/resources/resources/bukkit/config.yml @@ -150,8 +150,16 @@ options: trim-gui-size: true # Enable/disable titles titles-enabled: true - # Players cannot start any more quests than this at a single time - quest-started-limit: 2 + + # 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' + # Create the 'quest-rank' below, and give the matching permission: quests.limit. + quest-limit-multiple: + default: 2 + #vip: 5 + #staff: 10 + # Allow players to cancel a quest (you may want to remove the cancel instructions in the global item lore) allow-quest-cancel: true # Allow players to track a quest (you may want to remove the tracking instructions in the global item lore) -- cgit v1.2.3-70-g09d2