VectorAFK (Away From Keyboard) is a new approach to managing idle players in-game. The plugin moves players to spectators, or if the server's player count is equal to or over a set value, will disconnect them.
VectorAFK's core is designed to overcome the usual evasion of AFK-detection, by fast interval inputs, or automated movement:
• Vector detection compares a client's spawn vector to a radius from that vector.
• AFK radius is stored in MySQL for each map, allowing for the 'AFK zone' to be altered in size, editable by admins.
• Timer counts a player's 'strikes' for each second they are in the AFK zone.
• Heartbeat checking requires clients to give a basic input to a menu prompt. If they fail to do so, they are moved or disconnected.