Tags
Creators
Details
b2.0
Compatibility
Changes
[NEW] Added PlaceholderAPI support. Attention: The plugin now requires the placeholder api in any case, so make sure you download the latest version as well. You can get it here: https://www.spigotmc.org/resources/placeholderapi.6245/
[+] Added Placeholder: %betterafk_afk_status% (returns AFK, if a player is AFK)
[+] Added Placeholder: %betterafk_invulnerability_status% (returns invulnerable, if a player is invulnerable)
[+] Added Placeholder: %betterafk_afk_query% (returns true or false, true if a player is AFK)
[+] Added another hologram that indicates the immortality status.
[+] Values immortality.status and immortality.hologram added to the config.yml
[+] Added new /betterafk reload command to simply reload the config.yml configurations/settings to not to interfere with other server mechanics while using /reload. This means also that it is no longer necessary to restart the server. Either people with the authorisation ‘betterafk.reload’ can use this command or players with operator status (op).
[+] Added permisson betterafk.reload which allows players to reload the config.yml (^ see above).
[CHANGE] If a text with "" is left blank in the holograms in the config.yml, it will simply be deactivated
[FIX] Fixed a bug that caused the minutes a player is AFK to not be updated in the hologram
[FIX] Fixed a bug where in some cases the AFK status was removed when looking around
[IMPROV] Improvements to stability and general performance
[IMPROV] Updated API (Just internal)
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:OQORWMBK:xjnrwTaL"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:OQORWMBK:xjnrwTaL"
}

