afkmon-mc 0.1.9+1.20.1 (Forge)
Curse Maven Snippet
What's new
- API:
Afkmon.server(),client()andside()return anAfkStateViewkeyed by UUID, with per flag clocks,flaggedPlayers(),afkTimeSeconds()andhasMod(). The entity getters remain. - API:
addFlagsListenerhears every raw flag flip,StateChangecarriespreviousSeconds, and a flagged player logging out is reported as a change to ACTIVE. Fabric and NeoForge get matching events. - API:
PlayerState.tag()gives the tab list tag.AfkmonClientgives tab list names with the tag taken off and the local idle readouts. - API:
PlayerAfkStatemoved togg.earu.afk.api.AfkFlags. - Fix: a state packet landing in the same tick as a disconnect no longer leaves a stale entry on the client.
- Fix: on Fabric, a timed-out player's logout is now handled on the server thread.
This mod has no additional files
