跳到正文

AFK Logout

作者:Gav1s

Auto-disconnects you if you take damage while AFK. Customizable AFK delay, heart threshold and hotkey.

收藏

介绍

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

AFK Logout

This mod automatically disconnects you if you take damage while you’re AFK, so you don’t die while away from the game.

How it works

AFK detection: the timer starts when you stop doing anything. It resets when you move, press a key, attack, use an item, move the camera or open a screen (inventory, chat, etc.).

Disconnect: while AFK mode is active, any damage that leaves you at or below your chosen number of hearts disconnects you immediately.
Moving cancels it: as soon as you do anything, AFK mode turns off.

Works with any damage: fire, lava, drowning, falling, mobs, players, poison, starvation and more. Damage absorbed by golden hearts doesn’t count.

Settings

AFK delay: 1-3600 seconds (default is 30)

Disconnect at hearts: 1-20 (default is 20, which means any damage).

Example: with 3, you’re disconnected only if damage leaves you at 3 hearts or fewer.

On/Off hotkey: default K, rebindable

Open the settings through Mod Menu → AFK Logout.
Settings save automatically.

Notes

Client-side only, works in singleplayer and on servers.
It reacts after the damage happens, so it can’t stop a single hit that kills you from full health.

常见问题

AFK Logout 支持哪些 Minecraft 版本?

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

AFK Logout 怎么安装?

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

评论

登录后评论和评分