GeyserMenu
一个 Geyser 扩展,为基岩版玩家提供原生的表单式菜单,
通过双击库存按钮触发。旨在作为基础,用于在任何 Java 服务器上构建丰富的基岩版友好用户界面——无需直接操作 Java 端。
工作原理
基岩版玩家双击库存即可打开菜单。配套插件通过安全的 Netty TCP 连接注册按钮——每个按钮可以执行命令、打开表单或触发自定义逻辑。所有操作均通过服务器端的
GeyserMenu Companion 插件处理。
功能
- 库存双击检测 — 为基岩版玩家即时打开菜单
- 按钮注册 API — 配套插件通过 TCP 动态注册按钮
- 表单支持 — 向基岩版玩家发送简单、模态和自定义表单
- 基于权限的可见性 — 根据玩家权限显示或隐藏按钮
- 兼容 GeyserExtras — 检测并与 GeyserExtras 附加组件按钮协同工作
- 安全的 TCP 协议 — 基于 Netty 的通信,使用共享密钥认证
- Java 玩家不受影响 — 仅通过 Floodgate 对基岩版进行检测
要求
安装
- 下载
GeyserMenu.jar 并将其放入 Geyser 的 extensions/ 文件夹中
- 启动一次 Geyser 以生成
config.yml
- 设置你的
secret-key 和 server-port
- 在服务器上安装具有匹配凭据的配套插件
- 重启——由配套插件注册的按钮将自动出现
配置
default-menu-title: "Server Menu"
require-authentication: true
secret-key: "your-secret-key-here"
server-port: 19133
面向开发者
使用 GeyserMenu Companion API
从你自己的插件中注册按钮并发送表单。支持 Spigot/Paper 和 Velocity。
链接
GeyserMenu
A Geyser extension that gives Bedrock players a native form-based menu,
triggered by double-clicking their inventory button. Designed as a foundation for
building rich Bedrock-friendly UIs on any Java server — without touching the Java side directly.
How It Works
Bedrock players double-click their inventory to open the menu. Companion plugins register
buttons over a secure Netty TCP connection — each button can run a command, open a form,
or trigger custom logic. Everything is handled server-side through the
GeyserMenu Companion plugin.
Features
- Inventory double-click detection — opens the menu instantly for Bedrock players
- Button registration API — companion plugins register buttons dynamically over TCP
- Form support — send simple, modal, and custom forms to Bedrock players
- Permission-based visibility — show or hide buttons based on player permissions
- GeyserExtras compatible — detects and works alongside GeyserExtras addon buttons
- Secure TCP protocol — Netty-based communication with shared secret authentication
- Java players unaffected — detection is Bedrock-only via Floodgate
Requirements
Installation
- Download
GeyserMenu.jar and place it in your Geyser extensions/ folder
- Start Geyser once to generate
config.yml
- Set your
secret-key and server-port
- Install the companion plugin on your server with matching credentials
- Restart — buttons registered by companion plugins will appear automatically
Configuration
default-menu-title: "Server Menu"
require-authentication: true
secret-key: "your-secret-key-here"
server-port: 19133
For Developers
Use the GeyserMenu Companion API
to register buttons and send forms from your own plugins. Supports Spigot/Paper and Velocity.
Links
评论 0
登录后参与评分
还没有评论,来抢沙发吧