AutoAFKKicker
Server side only
Finally, there's a mod that helps you deal with player inactivity issues on your Forge server. The entire system works automatically — you just need to configure the parameters in the configuration file.
Important note: the warning and kick timers do not add up. If you set the warning for 5 minutes and the kick for 10, the player will receive a notification after 5 minutes of inactivity and will be kicked from the server after another 5 minutes.
How is this mod better than the standard "player idle timeout" system?
Unlike Minecraft's basic functionality, which only tracks player movement, AutoAFKKicker uses an advanced inactivity detection system:
- Tracks character position changes
- Detects player interaction with objects
- Monitors chat activity
- Detects command usage
- Tracks computer programming (OpenComputer)
# Original Configuration file
general {
afktimer {
S:discMsg=You were ejected for inactivity
# In minutes
I:kickTimer=10
# In minutes
I:warnTimer=5
}
}