What are you searching for?

AFK Guard

AFK Guard

Automatic disconnect from game if damaged while AFK.

download 1 Downloads · favorite 0 Followers · Updated 2 days ago
Fabric Management Optimization Utility 1.21.11

Versions

inventory_2
AFK Guard 1.0.0

1.0.0 · 2 days ago · 26.64 KB

Release download
Fabric 1.21.11

About

AFK Guard Mod

A client-side Fabric mod that protects you while you're AFK by automatically disconnecting if you take damage. AFK in peace.

Features

  • AFK Protection: Automatically disconnects the client if you take damage while the guard is active.
  • Auto-AFK: Automatically enables the guard after a configurable period of inactivity (default: 30 seconds).
  • Configurable: Customize the delay, status messages, and damage sources.
  • Ignore Player Damage: Option to ignore damage from other players (useful for preventing combat logging, can be disabled).

Usage

Keybinds

  • Toggle AFK Guard: Manually enable/disable the guard. (Check your keybinds menu to set).
  • Toggle Auto-AFK: Enable/disable the automatic AFK timer.

Commands

All commands start with /afkguard:

  • /afkguard config - View the current configuration.
  • /afkguard delay <seconds> - Set the inactivity time before Auto-AFK triggers.
  • /afkguard messages <true|false> - Toggle status messages on enable/disable.
  • /afkguard ignoreplayerdamage <true|false> - Choose whether damage from other players should trigger a disconnect.

Configuration

The config file is located at .minecraft/config/afkguard.json. You can edit it manually or use the in-game commands. Cloth config is also supported. I recommend using mod menu with cloth config api to configure the mod in-game.

open_in_new View on Modrinth
Compatibility
Client: Required Server: Unsupported
gavel CC-BY-NC-4.0

Conversation

What are your thoughts?

Related projects

Optimization
Sodium
Sodium

by jellysquid3

The fastest and most compatible rendering optimization mod for Minecraft. Now available for both NeoForge and Fabric!

download 118.2M
favorite 32,788
Decoration Optimization
Iris Shaders
Iris Shaders

by coderbot

A modern shader pack loader for Minecraft intended to be compatible with existing OptiFine shader packs

download 90.5M
favorite 23,773
Optimization Utility
FerriteCore
FerriteCore

by malte0811

Memory usage optimizations

download 84.3M
favorite 12,712
Optimization
Entity Culling
Entity Culling

by tr7zw

Using async path-tracing to hide Block-/Entities that are not visible

download 84.0M
favorite 13,759
lock Cookie consent

SkinMC uses cookies to provide functionality and features.