Tags
Creators
Details
2.0
Compatibility
Changes
[NEW] AFK players are now locked on their position by default. This also prevents them from being pushed away (e.g. by player entities or water). Can be deactivated in the config.yml
[+] Values lock_position.enabled, lock_position.message and lock_position.action_bar_message added to the config.yml
[NEW] It is now possible to display the holograms one position higher. This is useful when displaying ranks or hearts above the player's name. Simply set holograms.skip_one_hologram to true in config.yml (thanks to spira)
[+] Value holograms.skip_one_hologram added to the config.yml
[NEW] Added PlaceholderAPI support (thanks to spira)
Attention: The plugin now requires the placeholder api IF you want to use the BetterAFK placeholders in other Plugins (e.g. TAB), 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 Placeholder: %betterafk_afk_minutes% (returns the minutes a player is AFK, nothing if the player is not 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 (thanks to spira)
[FIX] Fixed a bug that caused the minutes a player is AFK to not be updated in the hologram (thanks to spira)
[FIX] Fixed a bug where in some cases the AFK status was removed when looking around (thanks to spira)
[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:iS1xIvgV"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:OQORWMBK:iS1xIvgV"
}

