All versions
0.1.9+1.20.1
Release
afkmon-mc 0.1.9+1.20.1 (Fabric)2 weeks ago 9
Compatibility
Minecraft: Java Edition
1.20.1
Platform
Fabric
Supported environments
Client and server
Required content
Changes
- 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.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:8L2Wendd:vyta4QPD"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:8L2Wendd:vyta4QPD"
}


