#How to detect if a player has completed a specific achievement?
1 messages ยท Page 1 of 1 (latest)
well, there is a Player class
and afterEvents/beforeEvents for in game events
that most of the time can include the player
so it depends on your case
it can be as simple as using an if statement or writing advanced systems
aaah yeah, would have to do the same check that is performed by the achievement itself
I see ๐ค
here is a documentation https://jaylydev.github.io/scriptapi-docs/latest/
id recommend the server module for doing things in general
server-ui is for UIs
yep, no problem I use both in my works ๐
thanks for the help :)
I think that's the only possible way
theres always commands and mcfunctions
script is optimal tho
ah yeah, I mean the only way is to check for the actions because it's not possible to check for completed achievements xd
np ๐ ๐
yeahh hahah exactly, I should have said "Minecraft achievements" or something like that, my fault
ah, well yeah you'll have to make the achievement detection yourself then
no such thing exists in the api afaik at the moment