Just-AFK
An AFK mod that enable players to be temporarily invincible
No ratings yet
Be the first to rate it.
Community listing page
Community listing page, reviews may not be monitored by the author.
Community voices
Reviews
Log in to review this mod
Reviews are written by ModDex members. Log in and you'll come right back to the review form.
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
Runs entirely on the server. Also works in singleplayer.
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
JustAFK
A server-side Minecraft Fabric mod (1.21.11) that adds an /afk command with invulnerability, movement blocking, and automatic exit on activity.
Features
/afkcommand — toggle AFK mode on/off- Invulnerability — no damage while AFK
- Movement lock — velocity zeroed every tick, position/rotation snapped back
- Auto-exit — detects keyboard input, mouse movement, and interactions (attack/use/break)
- On-screen title — periodic "You are now AFK" reminder
- Tab-list indicator — AFK names shown in grey/italic
- Chat broadcasts — notifies other players when someone goes AFK or returns
Requirements
| Dependency | Version |
|---|---|
| Minecraft | 1.21.11 |
| Fabric Loader | ≥0.19.2 |
| Fabric API | Any |
Installation
- Install Fabric Loader for Minecraft 1.21.11
- Place the mod
.jarin your server'smods/folder - Restart the server
No client-side installation is required — the mod runs entirely on the server.
Usage
/afk— toggle AFK mode- Move your mouse, press any movement key, or interact with the world to automatically exit AFK
Building
./gradlew build
The compiled jar will be at build/libs/just-afk-1.0.0.jar.
License
MIT
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.
Stats
- Downloads
- <1,000
- Used in
- 0 modpacks
- Followers
- 0
- In stacks
- 0
- Created
- Last synced
-
Sep 23, 2026 10:45 PM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before the above date changes.
How syncing works
External Links
Stats
- Downloads
- <1,000
- Used in
- 0 modpacks
- Followers
- 0
- In stacks
- 0
- Created
- Last synced
-
Sep 23, 2026 10:45 PM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before the above date changes.
How syncing works