你的聊天按钮。一键执行。
NCD · No Confirmation Dialogs(无确认对话框) 移除了 Minecraft 中可点击聊天命令的额外 Confirm Command Execution(确认命令执行) 屏幕。传送请求、聊天菜单和命令链接均可通过单击一次来使用,直接调用你的插件已发送的消息。
一个 JAR 文件即可用于 Paper、Leaf、Velocity 和 BungeeCord。无需配置或客户端模组。
放入并重连即可
- 从 Versions(版本) 标签页下载 JAR 文件并停止服务器或代理。
- 将 JAR 放入
plugins/ 目录,替换任何之前的 NCD 副本。
- 重新启动服务器并重连玩家。
现有的 run_command 聊天按钮会自动处理,包括带命名空间的命令如 /huskhomes:tpaccept Alice。你无需编辑其他插件的消息或配置文件。
NCD 不需要 ProtocolLib、PacketEvents、数据库或 Redis。它不包含遥测数据或自动更新器。
我应该安装在哪里?
| 安装位置 |
覆盖范围 |
| 独立 Paper / Leaf |
由该后端生成的聊天,包括插件消息、系统聊天、伪装聊天和无签名玩家聊天装饰。命令使用后端的正常玩家命令处理器。 |
| 仅 Velocity / BungeeCord |
代理编写的可点击消息和后端系统聊天。在 Velocity 上,这包括以编码数据包形式由插件写入的系统聊天。代理命令在本地运行。其他命令转发到当前后端。 |
| 代理 + 所有 Paper / Leaf 后端 |
以上两组均包含,包括代理无法解码的后端聊天类型。后端点击也会经过代理的命令事件、策略和路由。 |
对于网络环境,请在代理和每个后端上安装相同版本的最新 JAR 文件。 这些层级通过现有的 Minecraft 连接进行协调。无需设置通道、共享密钥、外部数据库或额外端口。
仅在代理后面的后端安装只能在该后端的本地范围内处理聊天,但不会处理由代理插件创建的消息。仅代理安装不能覆盖不透明玩家聊天装饰或伪装聊天内部的可点击操作。同时安装两者可提供完整的支持聊天覆盖。
原生点击,正常权限
NCD 将发出的 run_command 操作替换为 Minecraft 的原生自定义点击操作。命令保留在服务器上,并与接收者连接的随机令牌关联。点击会将该令牌发送回以进行验证和正常的命令分发。
命令以玩家身份运行,具有正常的权限、取消和路由机制。传入的有效负载文本不能选择命令。会话注册表和请求速率受到限制。
文本、颜色、悬停内容、URL 链接、命令建议、剪贴板操作和不相关的自定义点击保持其原始用途。NCD 刻意移除了对支持聊天操作的额外客户端确认;它不授予命令权限。
兼容性
- Minecraft 客户端: 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1.1, 26.1.2, 26.2 和 26.3。
- Paper 和 Leaf: Paper 原生支持上述列出的 Minecraft 版本。Leaf 使用 Paper 适配器,并在 26.3 上进行了测试。
- Paper 1.20.5–1.21.5: 在 Paper 后端安装 ViaVersion,并使用上述列表中的客户端连接。
- 代理: 使用支持玩家客户端协议的 Velocity 或 BungeeCord 构建版本。
- Java: Java 21 字节码;使用主机要求的 Java 版本,包括 Minecraft 26.x 所需的 Java 25。
- 客户端: 原版客户端;无需安装客户端模组。
转换后的设置在 Paper 1.20.5 和 1.21.5 上使用 ViaVersion 5.12.2 和 1.21.6 客户端进行了测试,包括直接连接以及通过两种代理连接。
InteractiveChat 兼容性报告 涵盖了 InteractiveChat 2026.1.3.0、其 PacketEvents 插件 1.3.1 和 PacketEvents 2.14.0 的组合情况。
书籍、模态对话框定义以及其他插件自带的确认菜单不在本插件的范围之内。纯 Bukkit/Spigot、Folia、快照、未来协议以及在单独机器上的协议转换不在已验证的支持矩阵内。重新连接或注册表过期后,旧的聊天按钮可能需要重新发送。
专为 MCExp 打造
由 Tommaso Benatti 创建和维护。首个 featured 服务器:MCExp · mcexp.it。
源代码 · 报告问题 · 更新日志 · 验证
灵感来源于 DrexHD/remove-dialog-warning;为 Paper 和代理平台独立实现。根据 MIT 许可证授权。
Your chat buttons. One click.
NCD · No Confirmation Dialogs removes Minecraft's extra Confirm Command Execution screen from clickable chat commands. Teleport requests, chat menus and command links work with a single click, using the messages your plugins already send.
One JAR for Paper, Leaf, Velocity and BungeeCord. No configuration or client mod.
Drop it in and reconnect
- Download the JAR from the Versions tab and stop your server or proxy.
- Put the JAR in
plugins/, replacing any previous copy of NCD.
- Start it again and reconnect your players.
Existing run_command chat buttons are handled automatically, including namespaced commands such as /huskhomes:tpaccept Alice. You do not need to edit other plugins' messages or configuration.
NCD requires no ProtocolLib, PacketEvents, database or Redis. It contains no telemetry or automatic updater.
Where should I install it?
| Installation |
What it covers |
| Standalone Paper / Leaf |
Chat generated by that backend, including plugin messages, system chat, disguised chat and unsigned player-chat decorations. Commands use the backend's normal player command handler. |
| Velocity / BungeeCord only |
Proxy-authored clickable messages and backend system chat. On Velocity, this includes system chat written by plugins as encoded packets. Proxy commands run locally. Other commands are forwarded to the current backend. |
| Proxy + every Paper / Leaf backend |
Both sets above, including backend chat types the proxy cannot decode. Backend clicks also pass through proxy command events, policies and routing. |
For a network, install the same current JAR on the proxy and every backend. The layers coordinate over the existing Minecraft connection. No channel setup, shared secret, external database or extra port is needed.
A backend-only installation behind a proxy covers that backend's chat locally, but does not handle messages created by proxy plugins. Proxy-only installation does not cover clickable actions inside opaque player-chat decorations or disguised chat. Installing both provides the full supported chat coverage.
Native clicks, normal permissions
NCD replaces outgoing run_command actions with Minecraft's native custom-click action. The command stays on the server, associated with a random token for the recipient's connection. Clicking sends that token back for validation and normal command dispatch.
Commands run as the player, with normal permissions, cancellation and routing. Incoming payload text cannot choose a command. Session registries and request rates are bounded.
Text, colors, hover content, URL links, command suggestions, clipboard actions and unrelated custom clicks keep their original purpose. NCD deliberately removes the extra client confirmation for supported chat actions; it does not grant command permissions.
Compatibility
- Minecraft clients: 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1.1, 26.1.2, 26.2 and 26.3.
- Paper and Leaf: Paper runs natively on the Minecraft releases listed above. Leaf uses the Paper adapter and was tested on 26.3.
- Paper 1.20.5–1.21.5: Install ViaVersion on the Paper backend and connect with a client from the list above.
- Proxy: Use a Velocity or BungeeCord build that supports your players' client protocols.
- Java: Java 21 bytecode; use the Java version required by your host, including Java 25 for Minecraft 26.x.
- Clients: vanilla clients; no client installation required.
The translated setup was tested on Paper 1.20.5 and 1.21.5 with ViaVersion 5.12.2 and a 1.21.6 client, directly and through both proxies.
The InteractiveChat compatibility report covers the combination of InteractiveChat 2026.1.3.0, its PacketEvents addon 1.3.1 and PacketEvents 2.14.0.
Written books, modal dialog definitions and other plugins' own confirmation menus are outside this plugin's scope. Pure Bukkit/Spigot, Folia, snapshots, future protocols and protocol translation on a separate machine are outside the verified support matrix. Old chat buttons may need to be resent after reconnecting or registry expiry.
Made for MCExp
Created and maintained by Tommaso Benatti. First featured server: MCExp · mcexp.it.
Source code · Report an issue · Changelog · Verification
Inspired by DrexHD/remove-dialog-warning; independently implemented for Paper and proxy platforms. Licensed under MIT.
评论 0
登录后参与评分
还没有评论,来抢沙发吧