HomeJavaModsAFK Utilitys
AFK Utilitys
ModsJava

AFK Utilitys

by HelixCraft · on Modrinth

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

⬇ Download on Modrinth
AFK Utilitys — screenshot 1AFK Utilitys — screenshot 2AFK Utilitys — screenshot 3AFK Utilitys — screenshot 4

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

Features

Anti-AFK System

Simulates natural player activity to prevent server kicks:

Auto Reconnect

Smart reconnection system for uninterrupted gameplay:

Auto Log (Safety Disconnect)

Protect your character while away:

Auto Eat

Intelligent hunger management:

Installation

Requirements

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

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more