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

Idea : Achievement based on permission's group #28

Closed JohOply closed 8 years ago

JohOply commented 8 years ago

Hi guys

I use a permission plugin (PermissionsEx). Is it possible to add creation of achievements based on groups ? When the plugin detect a rank change, player take achievement (have to work with other permissions plugins if possible)

Thanks for reading :)

PyvesB commented 8 years ago

Hello,

Unfortunately, I don't see any simple way to do that. There is no Minecraft event such as "onPlayerRankhange", and I'm not even sure that PermissionsEx or other plugins provide any in their APIs. Nevertheless, on your side of things, you could maybe run a Command achievement when you change the rank of your players. ;-)

Cheers,

Pyves

JohOply commented 8 years ago

I understand!

Do you speak about this command: "/aach give yourAch1 " ? Is this command stored in achivements table? (i use 2.5.3 and i don't see it currently)

PyvesB commented 8 years ago

Yes, I'm talking about /aach give; once executed, the achievement is registered in the "achievement" database table. ;-)

JohOply commented 8 years ago

Finally it is OK, just need a little time to be added in database :)

Thank you for your help!