PyvesB / advanced-achievements

:fireworks: Popular plugin that adds unique and challenging achievements to Minecraft servers.
https://www.spigotmc.org/resources/83466
GNU General Public License v3.0
199 stars 217 forks source link

Max Health Changes #1052

Closed woodiestpack5 closed 3 years ago

woodiestpack5 commented 3 years ago

:information_source:

:question: How to change Max Health once earned.

I have certain achievements set to increase Max health by one point. I have been testing and it gives myself the max health. My question is once earned how can I remove it. If I have to remove/reset achievement progress and a player has earned the max health point how do we take it away. I have reset the achievement and deleted the progress however the heart stays. This is the same with Max Oxygen.

:wrench: Configuration

PyvesB commented 3 years ago

Hello @woodiestpack5 ! 👋🏻

One option would be to do what another user shared in #416, another option would be to create a temporary achievement with a negative health reward value, give it to the user and then delete it again. 😉

woodiestpack5 commented 3 years ago

Yes that worked. Also is there a way to disable achievement categories? I have man them invisible from the gui however players can still make progress towards the default advancements. When I delete them in the config.yml and reload the plugin it regenerates the default advancements back into the config.yml

PyvesB commented 3 years ago

Also is there a way to disable achievement categories? I have man them invisible from the gui however players can still make progress towards the default advancements. When I delete them in the config.yml and reload the plugin it regenerates the default advancements back into the config.yml

This message will hopefully help: https://github.com/PyvesB/advanced-achievements/pull/979#pullrequestreview-611052956