Skip to content
Discussion options

You must be logged in to vote

Essentials already has an event for this: AfkStatusChangeEvent. You can use getCause() to get the cause for the change and getValue() to get the new afk status (true would mean the player is now afk, otherwise false).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@flashbtw
Comment options

Answer selected by JRoy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question Questions regarding the use of EssentialsX.
2 participants