关于
Khat 是一个 Minecraft 模组,用于在您的 Discord 和 Minecraft 服务器之间搭建桥梁。您只需提供 Webhook 和机器人令牌(Bot Token),即可为您和玩家打造无缝的交互体验。
它包含多项内置功能:
- 发送玩家消息。
- 发送游戏内消息(例如死亡、进度达成)。
- 发送命令消息(例如
/say)。
- 在服务器的启动和关闭生命周期事件中发送相应通知。
- 将 Discord 消息直接转发至服务器。
- 允许您将 Discord 账号与 Minecraft 账号关联。
- 此外,在您的消息发送之前,它会经过一些必要的兼容性处理程序,而大多数模组都缺乏这些功能:
- 修改消息以屏蔽全局提及(例如
@everyone)。
- 修改消息以屏蔽邀请链接。
- 修改消息以屏蔽配置文件中未允许的角色的提及。
- 修改消息及其中的玩家名称,以绕过 Discord 的原生 Markdown 功能(例如 斜体文本)。
- 当使用 Xaero's Mini-/Worldmap 分享航点时,会显示一条非常“怪异”的消息;该消息实际上可以通过某些逻辑进行解读,本模组会将您的消息重写为更易读的格式。
- 如果服务器崩溃,将发送一个专用的嵌入卡片(Embed),显示主要原因,并自动链接到生成的 Mclogs 站点!
还有更多功能!请查阅文档或亲自尝试所有可用功能。
此外,您还可以下载仅包含部分主要功能的模组版本,例如不包含机器人模式。一个典型的例子是仅包含 kRPC 服务器端组件,让您的自定义机器人直接与服务器交互!
Khat


Chat To Discord, Discord To Chat
About
Khat is a Minecraft mod that creates a bridge between your
Discord and Minecraft server. You give it a webhook and a
bot token, and it can create a seamless experience for you
and your players.
It contains several built-in features:
- Sending Player Messages.
- Sending Game Messages (e.g. Deaths, Advancements).
- Sending Command Messages (e.g. /say).
- Sending a Start and Stop message for the respective server lifecycle events.
- Sending Discord messages straight back to the server.
- Letting you link your profile with Minecraft.
- And also, before your message is sent, it goes through some necessary Compatibility handlers, which most mods lack:
- The message is modified to negate global pings (e.g.
@everyone).
- The message is modified to negate invite links.
- The message is modified to negate any role pings that you don't allow in Config.
- The message and player names in it are modified to bypass Discord's native Markdown features (such as Cursive text).
- When sharing a waypoint using Xaero's Mini-/Worldmap, it displays a very "weird" message, this message can actually be deciphered using some logic, and this mod rewrites your message to be more legible.
- If the server crashes, a specialised embed will be sent, displaying the main cause, and also linking to an automatically made Mclogs Site!
And so much more! Check out all the available functions by checking the docs, or trying them out yourself.
Furthermore, you can also download versions of the mod without certain major functionalities, like the bot mode. A good example of this is only including the kRPC server, and having your own custom bot interact with your server!
评论 0
登录后参与评分
还没有评论,来抢沙发吧