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 215 forks source link

Advancement by aquiring item w/ specified durability #944

Closed ItzSkyy closed 3 years ago

ItzSkyy commented 3 years ago

Is it possible to, with this to create an advancement that if [Example] I get a diamond sword with 134 durability, it triggers an achievement?

PyvesB commented 3 years ago

Hello @mrboog12! 👋🏻

There is currently no way to directly award an achievement when a player completes a specific Vanilla advancement. The AdvancementsCompleted category simply keeps track of the number of advancements received. You could however setup a Commands achievement, and then run an aach give command function as part of the reward for the completion of the matching advancement. 😉