AFK Plugin modification.

AFK plugin modification.