Added playerAFKDemoted hook.
Fixes #1071