Mod
AFKStatus
No reviews yet
A simple QOL, Utility command for afk detection
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Neoforge is a fork of the Minecraft Forge available for versions 1.20.1+ of Minecraft. Many Forge mods are compatible with Neoforge and vice versa.
Fabric is a mod loader for versions 1.14+ of Minecraft, particularly popular for client side and optimization mods.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
AFKStatus - Simple AFK Detection for Servers

AFKStatus is a lightweight, server-side mod for Minecraft, built on the NeoForge and Forge mod loader. It automatically tracks player activity and marks users as AFK (Away From Keyboard) when they stop moving or chatting for a configurable period. Players can also manually toggle AFK status using a simple /afk command.
Features
Automatic AFK detection
Detects inactivity by tracking movement and chat activity. Players are marked as AFK after a configurable timeout and broadcasted as such.
Manual AFK toggle/afk command lets players manually set or clear AFK status.
Customizable timeouts
Set the AFK trigger delay and optional kick timeout via config.
Optional auto-kicking
Automatically kicks players who stay AFK beyond a set time.
Custom messages and colors
System messages are customizable, including color options.
Scoreboard integration
Uses Minecraft's team system to visually tag AFK players with [AFK].
Server-only
No client-side installation required. Just drop the mod into your server's mods/ folder.

Configuration
After the first server launch, a configuration file (afkstatus-server.toml) is created in your config/ directory.
afkTriggerTimer — Minutes of inactivity before a player is market afk.
Default: 5
Range: 1-60 minutes
afkKickTimer — Minutes after being AFK before being kicked.
Default: 0 (disabled)
Range: 0-120 minutes
kickMessage — Kick message that is shown to the player once he is kicked.
systemMessages — Whether to broadcast AFK status changes.
Default: false
Options: true / false
checkIntervalTick — How often to check AFK status.
(20 ticks = 1 second)
Default: 20
Range: 1-1200 ticks
messageColor — Messages color.
Default: yellow
detection.enabled — If true, mouse look (camera rotation) counts as activity.
Default: false
detection.thresholdDegrees — Minimum change in yaw/pitch required to count as activity.
Default: 5
Range: 1-45 degrees
Valid colors: black, dark_blue, dark_green, dark_aqua, dark_red, dark_purple, gold, gray, dark_gray, blue, green, aqua, red, light_purple, yellow, white
bypassEnabled
Bypasses afk players for sleep percentage
Blacklist
AFKStatus includes a flexible blacklist system to exclude specific players from the automatic AFK kick functionality. This is useful for server staff, trusted players, or bots that need to remain connected despite inactivity.
- Storage: Blacklist entries are saved as JSON file (
afk_blacklist.json) insideconfig/AFKStatus/directory. - Commands: Admins can change the blacklist in-game using
/afk blacklistsubcommands. - Behaviour:
- Blacklisted players are tracked for AFK status and tagged normally.
- Blacklisted players will not be kicked for being AFK, regardless of the configured kick timer.
Commands
/afk — Toggles your AFK status. Automatically broadcasts status changes to others.
/afk help— Shows the help instructions for AFKStatus commands.
Commands below require administrator permissions
/afk blacklist add — Adds a player to the AFK blacklist. Blacklisted players can go AFK but will not be kicked automatically.
/afk blacklist remove — Removes a player from the AFK blacklist.
/afk blacklist list — Lists all players currently on the AFK blacklist.
afk blacklist reload — Reloads blacklist from disk, useful if edited manually.
This lets players manually indicate they’re AFK or return without moving or chatting.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers