Reloadable Dialog
Minecraft 1.21.6 添加了一个名为 dialog 的新特性,允许玩家通过对话界面进行交互。然而,对话数据仅在服务器启动时加载一次,对对话数据的任何更改都需要重启服务器才能生效。
此模组修复了该问题。
它能做什么,不能做什么?
这是一个服务端模组,允许你在不重启服务器的情况下重新加载对话数据。你只需编辑对话 JSON 文件并运行 /reload 命令即可立即应用更改。
但是,重新加载的对话数据无法发送给已经连接到服务器的玩家。他们需要重新连接才能看到更新后的对话数据。这是在不修改客户端的情况下,服务端模组所能做到的极限。
下载
Maven Central
GitHub Packages
CurseForge
Modrinth
要求
- Minecraft ⩾ 1.21.6
- Fabric 或 NeoForge
用法
非常简单,只需将模组添加到你的服务器并重启服务器。之后,你可以编辑对话 JSON 文件并运行 /reload 命令来应用更改。
贡献者
@qwertycxz
如何贡献?
欢迎提交 Issue 和 Pull-requests。
许可证
Apache 2.0 © qwertycxz
Reloadable Dialog
Minecraft 1.21.6 added a new feature called dialog, which allows players to interact through a dialog interface. However, the dialog data is loaded only once when the server starts, and any changes to the dialog data require a server restart to take effect.
This mod fix that.
What does it do and doesn't do?
This server-side mod allows you to reload dialog data without restarting the server. You can simply edit the dialog JSON files and run the command /reload to apply the changes immediately.
However, the reloaded dialog data cannot be sent to players who are already connected to the server. They will need to reconnect to see the updated dialog data. This is what a server-side mod can do without modifying the client.
Download
Maven Central
GitHub Packages
CurseForge
Modrinth
Requirement
- Minecraft ⩾ 1.21.6
- Fabric or NeoForge
Usage
Very simple, just add the mod to your server and restart the server. After that, you can edit the dialog JSON files and run the command /reload to apply the changes.
Contributor
@qwertycxz
How could I contribute?
Issue and Pull-requests are both welcomed.
License
Apache 2.0 © qwertycxz
评论 0
登录后参与评分
还没有评论,来抢沙发吧