Add PlayerAFKToggleEvent #4542
Answered
by
JRoy
flashbtw
asked this question in
Ideas and Feature Suggestions
-
Make a event that triggers, whenever a player goes Auto-AFK or types /afk Have a nice day :) |
Beta Was this translation helpful? Give feedback.
Answered by
JRoy
Sep 28, 2021
Replies: 1 comment 1 reply
-
Essentials already has an event for this: AfkStatusChangeEvent. You can use |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
JRoy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Essentials already has an event for this: AfkStatusChangeEvent. You can use
getCause()
to get the cause for the change andgetValue()
to get the new afk status (true would mean the player is now afk, otherwise false).