AFK to Ghost
AFK to Ghost 通过将处于挂机状态的玩家置于安全的幽灵状态来保护他们免受伤害。
当玩家达到配置的无活动时间后,该模组可以:
- 使其隐形
- 防止受到的伤害
- 显示操作栏消息
- 在检测到活动后立即恢复正常
该模组的设计旨在保持挂机玩家的安全,同时不会将他们从世界中移除。
支持的环境
AFK to Ghost 既适用于专用服务器,也适用于客户端托管的集成服务器。
专用服务器
仅在服务器上安装该模组。
加入服务器的玩家无需安装 AFK to Ghost。
单人游戏、局域网及 e4mc 托管
在托管玩家的客户端上安装该模组。
这使得 AFK 保护可以在以下环境中生效:
- 单人世界
- 局域网托管的世界
- 通过 e4mc 共享的世界
加入游戏的玩家无需安装该模组。
配置
该模组的配置文件位于:
config/afk-to-ghost.json
可用选项包括:
- 挂机超时时间
- 隐形效果
- 无敌状态
- 操作栏消息
- 调试日志记录
Mod Menu 和 Cloth Config 作为可选的客户端依赖项得到支持。
当两者都已安装时,托管玩家可以直接从 Mod Menu 编辑 AFK to Ghost 的设置。
专用服务器管理员可以继续手动编辑配置文件。
需求
- Minecraft 26.1.2
- Fabric Loader 0.18.6 或更高版本
- Fabric API 0.151.0+26.1.2 或更高版本
- Fabric Language Kotlin 1.13.12+kotlin.2.4.0 或更高版本
可选依赖项
- Mod Menu
- Cloth Config
这些仅用于启用游戏内配置界面。
备注
- AFK to Ghost 不需要在安装加入客户端上安装。
- e4mc 支持不需要任何直接集成或依赖项。
- 在世界或服务器已经运行时所做的更改可能需要重新打开世界或重启服务器才能生效。
AFK to Ghost
AFK to Ghost protects inactive players by placing them into a safe, ghost-like state while they are AFK.
When a player is inactive for the configured amount of time, the mod can:
- Make them invisible
- Prevent incoming damage
- Show an action bar message
- Return them to normal as soon as activity is detected
The mod is designed to keep AFK players safe without removing them from the world.
Supported environments
AFK to Ghost works on both dedicated servers and client-hosted integrated servers.
Dedicated servers
Install the mod on the server only.
Players joining the server do not need to install AFK to Ghost.
Singleplayer, LAN, and e4mc hosting
Install the mod on the hosting player's client.
This allows AFK protection to work in:
- Singleplayer worlds
- LAN-hosted worlds
- Worlds shared through e4mc
Joining players do not need to install the mod.
Configuration
The mod stores its configuration in:
config/afk-to-ghost.json
Available options include:
- AFK timeout
- Invisibility
- Invulnerability
- Action bar messages
- Debug logging
Mod Menu and Cloth Config are supported as optional client-side dependencies.
When both are installed, the hosting player can edit AFK to Ghost settings directly from Mod Menu.
Dedicated server administrators can continue editing the configuration file manually.
Requirements
- Minecraft 26.1.2
- Fabric Loader 0.18.6 or later
- Fabric API 0.151.0+26.1.2 or later
- Fabric Language Kotlin 1.13.12+kotlin.2.4.0 or later
Optional dependencies
- Mod Menu
- Cloth Config
These are only required for the in-game configuration screen.
Notes
- AFK to Ghost does not require installation on joining clients.
- e4mc support does not require any direct integration or dependency.
- Changes made while a world or server is already running may require reopening the world or restarting the server.
下载 AFK to Ghost
下载 AFK to Ghost
下载 AFK to Ghost
下载 AFK to Ghost
下载 AFK to Ghost
下载 AFK to Ghost
AFK to Ghost 0.3.0 适用于 Minecraft 26.2
此版本在保持现有 AFK to Ghost 0.3.0 行为的同时,增加了对 Fabric 上的 Minecraft 26.2 的完整支持。
变更内容
- 新增对 Minecraft 26.2 和 Java 25 的支持。
- Fabric Loader 更新为
0.19.3。 - Fabric API 更新为
0.156.0+26.2。 - Fabric Language Kotlin 更新为
1.13.13+kotlin.2.4.10。 - 可选的 Cloth Config 支持更新为
26.2.155。 - 新增与 Mod Menu
19.0.0-alpha.1的兼容性。 - 更新了适用于 26.2 的 Fabric 元数据、依赖信息、文档以及构建配置。
- 保留了现有的仅基于输入的空闲检测机制,无需从 26.1.2 版本进行数据包或 Mixin 更改。
空闲(AFK)行为
被动或外部引起的移动仍不计入玩家活动,包括:
- 击退效果
- 水流推力
- 活塞运动
- 玩家/实体碰撞
- 载具移动
- 服务器位置校正
- 传送
预期的主动输入、交互、攻击、聊天、指令以及物品栏操作均可唤醒玩家。
验证
已通过以下项目成功验证:
- Java 和 Kotlin 编译
- 自动化测试
- JAR 重映射/构建
- Minecraft 26.2 专用服务器启动
- Fabric Loader 0.19.3
- Fabric API 0.156.0+26.2
- Fabric Language Kotlin 1.13.13+kotlin.2.4.10
- 所有必需的 AFK to Ghost mixin 均成功应用
依赖要求
- Minecraft
26.2 - Java
25 - Fabric Loader
0.19.3或更新的兼容版本 - Fabric API
0.156.0+26.2或更新的兼容 26.2 版本 - Fabric Language Kotlin
1.13.13+kotlin.2.4.10或更新的兼容版本
Mod Menu 和 Cloth Config 仍为可选依赖,仅在需要客户端配置界面时使用。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧