LMBishop / Quests

Questing plugin for Minecraft, enabling the addition of goals for players.
https://www.spigotmc.org/resources/23696/
GNU General Public License v3.0
172 stars 85 forks source link

Bossbar max amount #702

Closed DarkyG2 closed 1 month ago

DarkyG2 commented 2 months ago

Description of Feature

My current issue is that by breaking 1 block you can progress in multiple quests at the same time and often the players screen will have way to much bossbar on their screen. My solution would be to limit the amount of bossbar by X and if more than X bossbar must be shown at the same time, only the quest that is the closest of it's objective would be shown.

For example I have 4 quest and the max amount of bossbar is 2:

When breaking 1 stone I should only see the bossbar of the Break 300 blocks (daily quest) and the Break 500 type of stones (one time quest) since I'll be the closest of completing the objective

Reason for Addition

It will allow to have less things obstructing the players screen and it's often confusing to have 3424 bars on your screen

Alternative Solutions

Use another quest plugin or do everything with the Tab plugin that allows to fully control the bossbar but it's a nightmare to config

Agreements

Other

No response

Krakenied commented 1 month ago

Added in https://github.com/LMBishop/Quests/pull/671 (keep using the custom build as the storage rework still is not ready yet)