Discord 与聊天图片
一款用于将 Minecraft 游戏聊天与 Discord 结合、自定义聊天内容以及显示聊天图片的模组。
快速开始:
如果你还没有 Discord Bot,请阅读 快速入门指南
在服务器上安装该模组并运行一次,以生成 discord_chat_mod-common.toml 配置文件。
配置必要的参数后重启服务器。如需更多功能,请在客户端也安装该模组。
ℹ️ 更多关于配置说明及示例请参阅 Wiki
重要提示:
-
确保在你的应用 Bot 选项卡中启用了所有 Privileged Gateway Intents(特权网关意图)
-
确保你的 Bot 在服务器中具有所有必要的权限:
所需权限
- 查看频道 (View Channels)
- 发送消息 (Send Messages)
- 在线程中发送消息 (Send Messages in Threads)
- 嵌入链接 (Embed Links)
- 附加文件 (Attach Files)
- 固定消息 (Pin Messages)
- 读取消息历史 (Read Message History)
- 管理 Webhook (Manage Webhooks)
ℹ️ 你可以在此处 建议新功能
? 如果你想为该模组添加语言支持,请阅读 本指南
? 你可以在 Patreon 页面上支持开发工作
客户端功能:
以下功能仅在客户端安装了该模组时生效。
聊天图片显示
- Discord 表情包示例
- GIF 支持
- 多张图片
截图分享按钮
聊天提及 (@Mentions)
在游戏聊天中输入 @ 可获取要提及的 Discord 用户列表
Discord Unicode 表情与自定义表情
在游戏聊天中输入 : 可获取 Discord 服务器的自定义表情和 Unicode 表情列表
本地服务器
主机退出时自动关闭
通用功能:
对于以下功能,只需在服务器端安装该模组即可生效。
常规消息
Webhook 模式
- 默认模式
- 已启用 Webhook 模式
Markdown 支持
- 消息样式预览仅在客户端安装了该模组时可用。
支持多个 Discord 服务器
Minecraft 聊天:
第一个服务器聊天:
第二个服务器聊天:
Minecraft 聊天自定义
机器人状态中的固定状态消息和服务器在线状态
带有图标和描述的进度提示以及死亡消息(已本地化)
/send_sticker 命令
- 只有当模组安装在客户端上时,才能预览贴纸。
/mention 命令
Discord & Chat Images
MineCraft mod for combining the game chat with discord, chat customizing and chat image displaying.
Quick start:
If you don't have a Discord bot, read the Quick start guide
Install the mod on the server and run it to generate the discord_chat_mod-common.toml-config file.
Configure the necessary parameters and run server. For additional features, install the mod on the client side.
ℹ️ Read more about configuration and see examples on the Wiki
Important:
-
Make sure all Privileged Gateway Intents are enabled in the Bot tab of your app
-
Make sure your bot has all the necessary permissions on the server:
Required Permissions
- View Channels
- Send Messages
- Send Messages in Threads
- Embed Links
- Attach Files
- Pin Messages
- Read Message History
- Manage Webhooks
ℹ️ You can suggest new features here
? If you want to add support for your language to the mod, read this guide
? You can support the development on the Patreon page
Client-side Features:
The following features only work if the mod is installed on the client side.
Chat image displaying
- Disocrd stickers example
- GIF Support
- Several images
Screenshot share button
Chat mentions
Type @ in game chat to get a list of Discord users to mention
Discord Unicode & Custom emojis
Type : in game chat to get a list of discord guild Custom and Unicode emojis
Local server
Automatically closes when host exits
Common Features:
For the following functions to work, it is enough to install the mod only on the server side
General messages
Webhook mode
- Default mode
- Webhook mode is enabled
ℹ️ Read more about webhook mode
Markdown support
- Message style preview is only available when the mod is installed on the client.
ℹ️ Read more about markdown and colored text
Multiple discord server support
Minecraft chat:
First server chat:
Second server chat:
ℹ️ Read more discord servers configuration
Minecraft chat customization
ℹ️ Read more about chat customization
Pinned status message and server online in bot status
Advancements with icon and description and death messages (localized)
ℹ️ Read more about discord messages configuration
/send_sticker command
- Sticker preview is only available when the mod is installed on the client.
/mention command
下载 Discord & Chat Images
下载 Discord & Chat Images
下载 Discord & Chat Images
下载 Discord & Chat Images
下载 Discord & Chat Images
下载 Discord & Chat Images
下载 Discord & Chat Images
下载 Discord & Chat Images
下载 Discord & Chat Images
下载 Discord & Chat Images
2.8.0
新功能:
- 添加了基于 Discord 角色配置可用 Minecraft 命令的功能。
- 添加了
/allowed_server_commands命令,用于显示 Discord 用户可用的服务器命令列表。 - 在 Discord 中输入服务器命令时,会显示输入建议。
- 支持在 Minecraft 聊天中使用 Discord Embed(嵌入式消息)。
- 添加了图片发送界面,允许你向选定的玩家或团队发送图片。
- 在聊天中添加了按钮,用于从玩家电脑发送图片。
- 添加了拖放功能以发送图片。将图片拖入游戏聊天即可发送。
- 添加了从剪贴板发送图片的支持(
Ctrl + V)。 - 添加了对渐变和全息 Discord 角色的支持。
- 添加了图片缓存大小限制(可在客户端配置中更改)。如果缓存已满,将删除使用频率最低的图片。
- 在客户端配置中添加了从链接加载图片的最大等待时间。
变更:
- 优化并修改了聊天中图片的显示算法:每张现都出现在其专属链接下方,而不是位于消息末尾。
- 关闭图片预览窗口后,聊天窗口现在保持打开状态。
- “✖”和“✔”符号不再采用 Discord 风格显示,因为原始设计更符合整体风格,并且已被其他模组使用。
错误修复:
- 修复了一个导致图片位置错乱、在聊天中留下空白区域并与其他消息重叠的 bug。
- 修复了一个在缩放聊天时导致图片显示异常的 bug。
- 修复了一个当用户未设置全局名称时,从一个 Discord 服务器转发消息到另一个服务器失败的 bug。
- 修复了一个因解析 Markdown 时链接处理不当而导致游戏崩溃的 bug。
- 修复了未索引消息的问题。死亡消息中的
%s占位符来自模组本地化文件
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧