90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
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
}
- idle timeout is in seconds
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
Links
Details
Licensed MIT
Published 4 hours ago
Updated 2 days ago