AFK Utilitys

Quick rating

AFK Utilitys

No reviews yet

Advanced AFK management mod for Minecraft Fabric with anti-kick protection, auto-reconnect, safety disconnect, and hunger management

Performance & Optimization
Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Unsupported

About

Project Details

Type
Mod
License
MIT License
Latest Version
0.1.0+mc1.21.11
Authors

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.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

AFK Utilitys

Fabric API auf Modrinth

An advanced utility mod for Minecraft Fabric that manages AFK (Away From Keyboard) states with intelligent automation and safety features.

Settings Keybind: K

Use Cases

  • Server AFK Protection: Prevent kicks from AFK timeout systems
  • Safety Management: Auto-disconnect when health drops or taking damage
  • Automatic Reconnection: Never lose your spot during server restarts
  • Hunger Management: Keep your hunger bar full while away
  • Farm Automation: Maintain activity for passive mob farms and auto-clickers
886a66bcd7aa7761cbe4a3ec5d7ff5dff6a230db_0.webp

Features

Anti-AFK System

Simulates natural player activity to prevent server kicks:

  • Auto-Jump: Randomized jumping intervals for natural appearance
  • Auto-Swing: Periodic hand swinging with Use (right-click) interaction. Perfect for flipping levers or interacting with buttons automatically.
  • Auto-Sneak: Configurable crouch timing and intervals
  • Strafe Mode: Automatic left-right movement to avoid coordinate-based detection
  • Spin Mode:
    • Client Mode: Rotates your camera view visually
    • Server Mode: Sends rotation packets while keeping your screen static
    • Chat Messages: Send periodic messages with custom text
      • Interval range: 0.1 to 30 minutes
      • Custom message support

Auto Reconnect

Smart reconnection system for uninterrupted gameplay:

  • Server Retention: Automatically remembers last connected server
  • Countdown Timer: Visual countdown on disconnect screen
  • Quick Toggle: Enable/disable directly from disconnect screen
  • Configurable Delay: Set custom wait time before reconnection attempt

Auto Log (Safety Disconnect)

Protect your character while away:

  • HP Threshold: Disconnect when health drops below configured value
  • Instant Damage Mode: Disconnect immediately upon taking any damage
  • Safety Lock: Optional Auto Reconnect disable after Auto Log trigger
  • Death Prevention: Keeps you safe in dangerous situations

Auto Eat

Intelligent hunger management:

  • Smart Timing: Only eats when hunger restoration won't be wasted
  • Blacklist Support: Exclude specific items (e.g., Rotten Flesh, Spider Eyes)
  • Efficient Consumption: Calculates optimal eating times based on food value

Installation

Requirements

  • Minecraft 1.21+
  • Fabric Loader 0.16.0+
  • FabricAPI

Download

Download the mod from Modrinth and place the .jar file into your .minecraft/mods folder.

Download on Modrinth

Download on Modrinth

Configuration

The mod features a sidebar-based configuration UI with four main categories:

  1. Anti-AFK: Configure all anti-kick features and intervals
  2. Auto-Eat: Set hunger thresholds and manage food blacklist
  3. Reconnect: Adjust reconnection delay and toggle auto-reconnect
  4. Auto-Log: Configure health thresholds and safety settings

Configuration File

Settings are saved to:

.minecraft/config/afkutility.json

Example configuration:

{
  "antiAfk": {
    "autoJump": true,
    "autoSwing": true,
    "autoSneak": false,
    "sneakTime": 2.0,
    "strafeMode": false,
    "spinMode": "OFF",
    "chatMessages": false,
    "messageInterval": 5.0,
    "customMessage": "I am not AFK"
  },
  "autoReconnect": {
    "enabled": true,
    "delay": 5
  },
  "autoLog": {
    "enabled": true,
    "healthThreshold": 4.0,
    "onDamage": false,
    "disableReconnect": true
  },
  "autoEat": {
    "enabled": true,
    "blacklist": ["minecraft:rotten_flesh", "minecraft:spider_eye"]
  }
}

For Developers

Building

./gradlew build

Output: build/libs/afk-utility-1.0.0.jar

Project Structure

src/client/java/dev/afk/utility/
├── AFKUtilityClient.java          # Client entrypoint
├── config/
│   └── ModConfig.java             # Configuration management
├── features/
│   ├── AntiAFK.java               # Anti-AFK implementations
│   ├── AutoReconnect.java         # Reconnection handler
│   ├── AutoLog.java               # Safety disconnect
│   └── AutoEat.java               # Hunger management
├── mixin/client/
│   ├── DisconnectScreenMixin.java # UI integration
│   └── ClientPlayerMixin.java     # Player event hooks
└── screen/
    └── ConfigScreen.java          # Sidebar configuration UI

License

MIT

Credits

  • Fabric API Team
  • Minecraft Modding Community

Screenshots

Gallery

  • Anti AFK
    Anti AFK
  • Auto Eat
    Auto Eat
  • Auto Reconnect
    Auto Reconnect
  • Auto Log (Safety Disconnect)
    Auto Log (Safety Disconnect)

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

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~2,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works