SimpleChatbridge
这款 Minecraft Fabric 模组允许你在 MC 服务器和 Discord 频道之间发送和接收消息。该模组仅适用于服务器端。
配置
首次启动时会生成一个配置文件,位于 .minecraft/config/simple_chatbridge/simple_chatbridge.json。服务器将不会启动,你需要在 JSON 文件中填写相关值。
要使此模组正常工作,你需要以下内容:
- 具有“消息内容意图”的 Discord Bot
- Discord Webhook
如何获取具有正确意图的 Discord Bot
- 访问 。
- 点击
new Application并为你的 Bot 命名。 - 创建完 Bot 后,进入
Bot导航部分并重置其 Token。 - 复制 Token 并将其放入配置文件中。(切勿向任何人透露你的 Token!)
- 在
Privileged Gateway Intents(特权网关意图)部分,启用Message Content Intent(消息内容意图)。 - 前往
OAuth2 -> URL Generator(URL 生成器),点击bot作用域。 - 选择
Read Messages/View Channels(读取消息/查看频道)权限,并将生成的 URL 复制粘贴到新浏览器标签页中。 - 让 Bot 加入你的 Discord 服务器,并确保它实际上可以看到该频道。
- 在 Discord 客户端中开启
developer mode(开发者模式),并将 chatbridge 频道的 ID 复制粘贴到配置文件中。 - 在你的频道中创建一个 webhook(给它起个好听的名字和头像),并将 URL 同样粘贴到配置文件中。
如果你在使用此模组时遇到问题,请提交 Issue 或在 Discord 上联系我,或发送 电子邮件。
SimpleChatbridge
This minecraft fabric mod lets you send and receive messages between a MC Server and a Discord channel. This mod only works on the server.
Configuration
On first startup a config file will be created, which can be found at .minecraft/config/simple_chatbridge/simple_chatbridge.json. The server will not launch and you can fill out the values in the JSON file.
Things you will need for this mod to work:
- Discord Bot with Message Content Intent
- Discord Webhook
How to get a discord bot with the right intents
- Go to
- Click
new Applicationand give your bot a name. - After you have created your bot, go to the
BotNavigation and reset its token. - Grab the token and put it in the config file. (Make sure to not show your token to anyone!)
- In the section
Privileged Gateway Intents, enable theMessage Content Intent. - Go to
OAuth2 -> URL Generatorand click thebotscope. - Select the
Read Messages/View Channelspermission and copy/paste the url in a new browser tab. - Make the bot join your Discord Server and make sure that it can actually see the channel.
- Turn on the
developer modein your Discord Client and copy/paste the chatbridge channel ID into the config file. - Create a webhook in your channel (give it a nice name and picture) and paste the URL in the config aswell.
If you are having issue with this mod, please open an issue or reach out to me in my Discord or send me an Email.
下载 SimpleChatbridge
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 SimpleChatbridge
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 SimpleChatbridge
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 SimpleChatbridge
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 SimpleChatbridge
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 SimpleChatbridge
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 SimpleChatbridge
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 SimpleChatbridge
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 SimpleChatbridge
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 SimpleChatbridge
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
未指定更新日志。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
使聊天消息以平滑的动画效果显示。
模组
一个完整经济模组:玩家余额、动态定价商店、玩家市场、买入订单、货币物品以及网页仪表盘。
模组
帮助你的朋友在他们死亡后恢复(如果你能及时的话)
模组
独特的睡眠全面重构与休息系统
模组
Minecraft 中可用的语音聊天!
模组
恢复所有账户的游戏聊天访问权限
评论 0
登录后参与评分
还没有评论,来抢沙发吧