All versions
1.0.0
Release
EclipseAFKPlugin 1.0.04 months ago 45
Uploaded by
Compatibility
Minecraft: Java Edition
1.21.x
Platform
Paper
Changes
AFKPlugin
A lightweight, configurable AFK plugin for Paper 1.21.x. Automatically detects inactive players and marks them as AFK.
Features
- Automatic Detection – Players are marked AFK after a configurable inactivity timeout
- Low Sensitivity – Small movements (stuttering, mouse clicks, short walks) won't cancel AFK. Only moving a significant distance or actively interacting counts as activity
- Manual Toggle –
/afkto toggle AFK manually - Tablist Display – AFK players get an
[AFK]prefix in the player list - Auto-Kick – Optional automatic kick after prolonged AFK time
- Broadcast – Optional chat notification when players go AFK / return
- Fully Configurable – Timeout, messages, kick, and detection are all adjustable
- Permissions – Bypass, ignore, and reload controlled via permissions
- Customizable Messages – All messages editable in
messages.yml
Commands
| Command | Description | Permission |
|---|---|---|
/afk |
Toggle AFK mode | afk.use |
/afk reload |
Reload configuration | afk.reload |
/afk <player> |
Check a player's AFK status | afk.others |
Permissions
| Permission | Default | Description |
|---|---|---|
afk.use |
true |
Allows using /afk |
afk.others |
op |
Allows checking others' AFK status |
afk.bypass |
false |
Never automatically marked AFK |
afk.kick.bypass |
op |
Never kicked for being AFK |
afk.reload |
op |
Allows reloading the config |
Installation
- Make sure you're running Paper 1.21.x
- Place
AFKPlugin-1.0.0.jarinto yourplugins/folder - Restart the server or run
/reload - Optionally adjust
config.ymlandmessages.yml
Configuration
config.yml
# Seconds of inactivity before a player is marked AFK
timeout: 600
# Kick after prolonged AFK
kick:
enabled: false
after: 1200
# Minimum movement distance (in blocks) required to count as activity
detection:
min-movement-distance: 5.0
Supplementary resources
| File | Type | Size | |
|---|---|---|---|
| AFKPlugin-1.0.0.jar | Unknown | 13.18 KiB |
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:VYSylVyy:jDttpgjs"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:VYSylVyy:jDttpgjs"
}

