跳到正文

AFK Guard

作者:HLVM

Automatic disconnect from game if damaged while AFK.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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.

常见问题

AFK Guard 支持哪些 Minecraft 版本?

AFK Guard 支持 Minecraft Java 版 1.21.11–26.3,共 5 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

AFK Guard 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分

HLVM 的其他作品

查看全部 →