afkmon
此模组添加了 AFK(空闲)、切出窗口以及崩溃检测,并通过光环在你和你朋友周围显示这些状态。
光环将显示:
- AFK,如果玩家超过 90 秒没有移动或移动光标。
- Tabbed out(切出),如果玩家从游戏中切出。
- Timing out(超时),如果他们的游戏超过 5 秒没有响应。
对于处于 AFK 状态的玩家,屏幕上会显示他们已空闲的时间。同时,聊天中也会向所有人发送通知。
你需要在服务器端和客户端都安装此模组。
服务器配置
config/afk/server.json
| 键 | 默认值 | 含义 |
|---|---|---|
afkTimeSeconds |
90 | 客户端标记自己为空闲前的空闲秒数。加入时发送给客户端。 |
soundsEnabled |
true | 离开和返回时的声音提示。 |
announceEnabled |
true | 聊天公告和欢迎回来的消息。 |
timingOutThresholdSeconds |
5.0 | 在未响应的保活时间达到该值后显示 TIMING OUT。原版 Minecraft 会在 15 秒时断开玩家连接。 |
客户端配置
config/afk/client.json
| 键 | 默认值 | 含义 |
|---|---|---|
ringsEnabled |
true | 光环的主开关。 |
minDistance |
2.0 | 隐藏距离小于此值的其它玩家的光环。自己的光环始终绘制。 |
maxDistance |
64.0 | 跳过超过此距离的光环。 |
seeThroughWalls |
false | 穿透地形绘制光环。 |
heightOffset |
0.0 | 抬高光环的方块数。它位于脚部位置。 |
awayOverlayEnabled |
true | 屏幕上的空闲计时器覆盖层。 |
afkmon
This mod adds AFK, tabbed out and crashing detection and displays it around you and your friends with rings.
Rings will show:
- AFK, if the player hasnt moved, or moved their cursor in over 90s.
- Tabbed out, if the player is tabbed out from the game.
- Timing out, if their game hasnt responded in over 5s.
For the player that's AFK, a timer shows on their screen with how long they've been AFK for. Notifications also show up in the chat for everyone.
You need the mod installed both on server and client.
Server config
config/afk/server.json
| Key | Default | Meaning |
|---|---|---|
afkTimeSeconds |
90 | Idle seconds before a client flags itself away. Sent to clients on join. |
soundsEnabled |
true | Sound cue on going away and coming back. |
announceEnabled |
true | Chat announcements and the welcome-back message. |
timingOutThresholdSeconds |
5.0 | Unanswered keepalive age before TIMING OUT shows. Vanilla drops the player at 15. |
Client config
config/afk/client.json
| Key | Default | Meaning |
|---|---|---|
ringsEnabled |
true | Master toggle for the halo. |
minDistance |
2.0 | Hide other players' halos closer than this. Your own always draws. |
maxDistance |
64.0 | Skip halos past this. |
seeThroughWalls |
false | Draw halos through terrain. |
heightOffset |
0.0 | Blocks to raise the halo. It sits at the feet. |
awayOverlayEnabled |
true | The on-screen away timer. |
版本游戏版本平台发布时间本站下载
正式版
0.1.9+1.20.1
afkmon-mc 0.1.9+1.20.1 (Forge)
1.20.1 Forge 2 个月前 ·
0
1.20.1
Forge
2 个月前
0
下载 afkmon
正式版
0.1.9+1.20.1
afkmon-mc 0.1.9+1.20.1 (Fabric)
1.20.1 Fabric 2 个月前 ·
0
1.20.1
Fabric
2 个月前
0
下载 afkmon
正式版
0.1.9+1.21.11
afkmon-mc 0.1.9+1.21.11 (NeoForge)
1.21.11 NeoForge 2 个月前 ·
0
1.21.11
NeoForge
2 个月前
0
下载 afkmon
正式版
0.1.9+1.21.11
afkmon-mc 0.1.9+1.21.11 (Fabric)
1.21.11 Fabric 2 个月前 ·
0
1.21.11
Fabric
2 个月前
0
下载 afkmon
正式版
0.1.9+1.21.1
afkmon-mc 0.1.9+1.21.1 (NeoForge)
1.21.1 NeoForge 2 个月前 ·
0
1.21.1
NeoForge
2 个月前
0
下载 afkmon
正式版
0.1.9+1.21.1
afkmon-mc 0.1.9+1.21.1 (Fabric)
1.21.1 Fabric 2 个月前 ·
0
1.21.1
Fabric
2 个月前
0
下载 afkmon
正式版
0.1.8+1.20.1
afkmon-mc 0.1.8+1.20.1 (Forge)
1.20.1 Forge 2 个月前 ·
0
1.20.1
Forge
2 个月前
0
下载 afkmon
正式版
0.1.8+1.20.1
afkmon-mc 0.1.8+1.20.1 (Fabric)
1.20.1 Fabric 2 个月前 ·
0
1.20.1
Fabric
2 个月前
0
下载 afkmon
正式版
0.1.8+1.21.1
afkmon-mc 0.1.8+1.21.1 (Fabric)
1.21.1 Fabric 2 个月前 ·
0
1.21.1
Fabric
2 个月前
0
下载 afkmon
正式版
0.1.8+1.21.1
afkmon-mc 0.1.8+1.21.1 (NeoForge)
1.21.1 NeoForge 2 个月前 ·
0
1.21.1
NeoForge
2 个月前
0
下载 afkmon
0.1.9+1.20.1
正式版
2026-09-14
- API:
Afkmon.server()、client()和side()返回以 UUID 为键的AfkStateView,包含各标志位计时器、flaggedPlayers()、afkTimeSeconds()和hasMod()。实体获取方法保持不变。 - API:
addFlagsListener可监听每次原始标志位翻转,StateChange携带previousSeconds,且已标记玩家登出时会被报告为变为 ACTIVE 状态。Fabric 和 NeoForge 提供匹配的事件。 - API:
PlayerState.tag()提供标签页标签。AfkmonClient提供去除标签后的标签页名称和本地空闲读数。 - API:
PlayerAfkState已移至gg.earu.afk.api.AfkFlags。 - 修复:在断开连接的同一刻到达的状态包不再导致客户端残留无效条目。
- 修复:在 Fabric 上,超时玩家的登出现在由服务器线程处理。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
Ixeris
decce6
缓冲的原始输入和线程化的事件轮询
优化
656
模组
鞘翅纹饰Elytra Trims
KikuGie
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
装饰装备
477
模组
Woot Revived
pharuxtan
一个用于收集生物掉落物的多区块模组。
生物科技
349
模组
玉Jade ?
Snownee
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
实用前置
339
模组
Fast Noise
omo50
原版世界生成优化模组
优化世界生成
242
模组
KubeJS
Lat
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
前置实用
239
评论 0
登录后参与评分
还没有评论,来抢沙发吧