Tags
Creators
Details
1.1.0
Compatibility
Changes
Java 25
AFKSystem now requires Java 25 or higher.
AFK protection
Added player protection when marked as AFK. By default, AFKSystem will now:
- Protect against damage
- Stop hunger drain
- Prevent movement
This can be configured using the added configuration options:
[protection]
# Protect player from taking damage when AFK
damage = true
# Protect player from hunger loss when AFK
hunger = true
# Protect player from being pushed by entities, water, etc. when AFK
movement = true
FastStats
Switched statistic collection from bStats to FastStats.
This allows us to drop dependency relocation, as bStats was the only reason we were using it in the first place. Since Paper introduced isolated classloaders, relocation is no longer required. However, bStats would not start up without it.
Full Changelog: https://github.com/fabianmakila/AFKSystem/compare/v1.0.0...v1.1.0
Optional dependencies
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:o5ZkTz0U:zaWgYv9O"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:o5ZkTz0U:zaWgYv9O"
}

