Prompt Overlay
Prompt Overlay 是一个客户端 Fabric 模组,它将支持的 Hypixel 聊天提示转换为紧凑的、由键盘驱动的覆盖层。使用可配置的按键进行响应,而不是打开聊天并点击消息,同时保留服务器提供的命令和选项。
开发中: Prompt Overlay 正在积极开发中。在首个稳定版本发布之前,支持的提示和公共 API 可能会发生变化。
功能
- 接受、拒绝、关闭以及选择最多五个选项的可配置按键
- 单个功能开关以及可配置的显示持续时间、背景和提示颜色
- 好友、队伍、公会、决斗和 SkyBlock 交易请求
- Trophy Fish GG、地牢重新排队、Abiphone、Trapper 和黑暗拍卖提示
- 确认提示和 NPC 对话框(最多包含五个选项)
- 供其他 Fabric 模组使用的公共 API,以显示它们自己的提示
配置
在游戏中运行 /prompt-overlay 以打开配置屏幕。也可以在 Minecraft 的键位设置中更改控制方式。
配置包括每个功能的开关、覆盖层持续时间和颜色、忽略的 Abiphone 联系人以及特定于功能的计时选项。
开发者信息
其他模组可以提交自定义覆盖层,而无需安装 Prompt Overlay(如果未安装,不会抛出异常)。集成可以使用操作和选项模板,限制提示的生命周期,并检测失败以便将其原始交互作为后备方案保留。
请参阅 Prompt Overlay API 集成指南 以获取依赖项设置和完整示例。
致谢
Prompt Overlay 灵感来源于 Sk1er LLC 的 Popup Events。它是针对现代 Minecraft 版本的独立实现,拥有新的代码库和更广泛的范围。
Prompt Overlay
Prompt Overlay is a client-side Fabric mod that turns supported Hypixel chat prompts into compact, keyboard-driven overlays. Respond with configurable keys instead of opening chat and clicking a message, while retaining the commands and choices supplied by the server.
Work in progress: Prompt Overlay is under active development. Supported prompts and the public API may change before the first stable release.
Features
- Configurable keys for accepting, denying, dismissing, and selecting up to five options
- Individual feature toggles and configurable display duration, background, and prompt colors
- Friend, party, guild, duel, and SkyBlock trade requests
- Trophy Fish GG, Catacombs requeue, Abiphone, Trapper, and Dark Auction prompts
- Confirmation prompts and NPC dialogs with up to five choices
- A public API that other Fabric mods can use to display their own prompts
Configuration
Run /prompt-overlay in game to open the configuration screen. Controls can also be changed in Minecraft's keybind settings.
Configuration includes per-feature toggles, overlay duration and colors, ignored Abiphone contacts, and feature-specific timing options.
For developers
Other mods can submit custom overlays without requiring Prompt Overlay to be installed (in case it isn't, no Exception is thrown). Integrations can use action and option templates, limit a prompt's lifetime, and detect failure so they can retain their original interaction as a fallback.
See the Prompt Overlay API integration guide for dependency setup and a complete example.
Credits
Prompt Overlay was inspired by Popup Events by Sk1er LLC. It is an independent implementation for modern Minecraft versions with a new codebase and expanded scope.
评论 0
登录后参与评分
还没有评论,来抢沙发吧