Idler is a mod that brings its own idle/afk feature. The data is stored in config/idler/last_played.txt and all file modifications are done in a different thread.
These events trigger last played time, file modifications are done by an autosaving schedule, for performance.
- Joining the server
- Moving
- Moving the camera
- Breaking and placing blocks
- Using items
config.yml
{
"idle-timeout": 300,
"start-kick-free-slots": "21"
}
- idle timeout is in seconds
- the "start-kick-free-slots" is the number of free slots where the mod starts kicking players
Permissions
idler.afk- Allows the user to go AFK
Commands
afk- Toggles the user's AFK status. It won't kick users until the idle timeout is reached.
The tablist names will also turn to gray when afk
External resources
Project members
muriplz
Member
Technical information
License
MIT
Client side
unsupported
Server side
required
Project ID
