|
|
AMCDB (Another Minecraft-Discord Bridge)Github |相关wiki |源站链接支持: fabric , quiltAMCDB 是一个 FabricQuilt 模组,用于将你的 Minecraft 服务器连接到 Discord 服务器。你可以将游戏内聊天连接到 Discord 频道,设置一个用于服务器控制台的频道,甚至可以从任何地方运行服务器命令!
以下是在 Minecraft 中的样子...

...以及在 Discord 中的样子!

如果你更喜欢在 Discord 中看到来自玩家的游戏内消息(并且看到他们的玩家头像作为头像!),AMCDB 也支持 Discord Webhook 模式:

主要功能
AMCDB 是快速且无延迟的。它几乎所有的工作都在主服务器线程之外进行,因此对游戏性能没有影响。AMCDB 是灵活的。你可以按照自己的喜好配置一切 —— 自定义游戏内和 Discord 中消息的外观,将最有用的信息放在频道主题中,甚至给 Discord 机器人添加一个聪明的状态消息!AMCDB 是稳定且兼容的。它不使用 mixins 来修改 Minecraft 代码,因此在 Minecraft 版本之间很少出现问题,并且与几乎任何其他 Fabric 模组都很好地配合。最后,AMCDB 是有趣的。它支持各种酷炫的 Discord 功能,比如:字体样式...名字颜色...甚至是悬停以显示的剧透文本!
安装
按照以下步骤在你的服务器上设置 AMCDB。
注意:你需要成为你想连接的 Discord 服务器的管理员。
在你的 Minecraft 服务器上安装 AMCDB
你需要一个 Fabric 或 Quilt 服务器。一旦你设置好了,确保将[Fabric API](链接)放入你的`mods`文件夹中 - 这是 AMCDB 的唯一依赖。
然后,从[GitHub Releases](链接)或[Modrinth](链接)获取最新的 AMCDB `.jar` 文件。它会是类似 `amcdb-1.1.6.jar` 的东西。将其放入你的`mods`文件夹中。
接下来,启动你的服务器。它会崩溃 —— 那只是因为你还没有配置 AMCDB。现在你已经启动了服务器一次,你的`config`文件夹中应该有一个名为`amcdb.properties`的文件。用文本编辑器打开该文件,并在下一步中保留它。
设置 Discord 机器人
*如果你之前使用过其他 Minecraft-Discord 模组,你可能已经有一个机器人。只要它在你的服务器上具有正确的权限 - 只需将令牌放入`amcdb.properties`文件即可重用它。
如果你没有 Discord 机器人:
登录链接在右上角点击新建应用程序。给你的机器人取一个名字,然后点击创建。在屏幕左侧,点击Bot。现在你将生成 AMCDB 将用于连接的令牌。在页面的主要部分,找到“Build-A-Bot”部分,点击重置令牌。确认并输入你的 2FA 代码后,会出现一个类似下图的随机字符串 —— 那就是你的令牌!点击复制。在你之前打开的`amcdb.properties`文件中,找到以`amcdb.discord.bot.token=`开头的行,并将你的机器人令牌粘贴到该行的末尾。它会是这样的:
接下来的步骤见原文。
来自Modrinth所有游戏版本1.191.19.11.19.21.19.31.19.41.201.20.11.20.21.20.31.20.41.20.51.20.61.211.21.11.21.21.21.31.21.41.21.51.21.61.21.71.21.8所有类型fabricquilt1.3.0amcdb-1.3.0.jar下载1.3.0#Release## What\'s Changed* Add support for environment variables in config by @0x4e49434f4c45 in Prevent infinite loop of errors when JDA connection drops by @0x4e49434f4c45 in https://github.com/0x4e49434f4c45/amcdb/pull/59**Full Changelog**: https://github.com/0x4e49434f4c45/amcdb/compare/1.2.5...1.3.0展开版本: 1.3.0支持游戏: 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8类型:FabricQuiltRelease下载次数: 661.2.5amcdb-1.2.5.jar下载1.2.5#Release## What\'s Changed* Support Minecraft 1.21.5* Fix URL parsingGitHub release: [https://github.com/0x4e49434f4c45/amcdb/releases/tag/1.2.5](https://github.com/0x4e49434f4c45/amcdb/releases/tag/1.2.5)展开版本: 1.2.5支持游戏: 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5类型:FabricQuiltRelease下载次数: 1311.2.4amcdb-1.2.4.jar下载1.2.4#Release## What\'s Changed* Added support for message filtering by type, content, and author* Fixed a case where Discord emotes were not shown correctly in Minecraft* Updated build environment and dependencies**Full Changelog**: https://github.com/0x4e49434f4c45/amcdb/compare/1.2.3...1.2.4展开版本: 1.2.4支持游戏: 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4类型:FabricQuiltRelease下载次数: 3071.2.3amcdb-1.2.3.jar下载1.2.3#ReleaseThis release replaces 1.2.2, which has been removed due to a crash on startup caused by incorrect dependency configuration.## What\'s Changed* Add support for Minecraft 1.20.3 and 1.20.4 by @0x4e49434f4c45 in https://github.com/0x4e49434f4c45/amcdb/pull/40* Update JDA and use JDA webhook implementation by @0x4e49434f4c45 in https://github.com/0x4e49434f4c45/amcdb/pull/41**Full Changelog**: https://github.com/0x4e49434f4c45/amcdb/compare/1.2.1...1.2.3展开版本: 1.2.3支持游戏: 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1类型:FabricQuiltRelease下载次数: 1861.2.1amcdb-1.2.1.jar下载1.2.1#Release## What\'s Changed* Discord markdown handling fixes by @0x4e49434f4c45 in https://github.com/0x4e49434f4c45/amcdb/pull/37* Tagging the same user/role/channel multiple times in the same message no longer causes an error* Backquotes (`) now appear properly in messages sent to Discord**Full Changelog**: https://github.com/0x4e49434f4c45/amcdb/compare/1.2.0...1.2.1展开版本: 1.2.1支持游戏: 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2类型:FabricQuiltRelease下载次数: 661.2.0amcdb-1.2.0.jar下载1.2.0#ReleaseThis release adds some new features, as well as extending support back to Minecraft 1.19 and fixing single-jar support for all Minecraft versions 1.19 and higher.**N.B. This version of AMCDB adds new properties to support new features. If you are upgrading from a previous version of AMCDB, see the [upgrade instructions](https://github.com/0x4e49434f4c45/amcdb/tree/main#upgrade).**## What\'s Changed* Support all MC versions from 1.19 onwards by @0x4e49434f4c45 in https://github.com/0x4e49434f4c45/amcdb/pull/31* Add configurable start/stop messages in chat channel by @0x4e49434f4c45 in https://github.com/0x4e49434f4c45/amcdb/pull/32* Add MSPT alerts by @0x4e49434f4c45 in https://github.com/0x4e49434f4c45/amcdb/pull/33**Full Changelog**: https://github.com/0x4e49434f4c45/amcdb/compare/1.1.7...1.2.0展开版本: 1.2.0支持游戏: 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2类型:FabricQuiltRelease下载次数: 781.1.7amcdb-1.1.7.jar下载1.1.7#Release**NOTE: Adding support for Minecraft 1.19.2 broke support for later versions of Minecraft. If you run MC 1.19.3 or later, use release 1.1.6 until a fix can be developed. See [this issue](https://github.com/0x4e49434f4c45/amcdb/issues/29) for details.**# Changes- Incorporate bug fixes from JDA library- Add support for Minecraft 1.19.2**Full Changelog**: https://github.com/0x4e49434f4c45/amcdb/compare/1.1.6...1.1.7展开版本: 1.1.7支持游戏: 1.19.2类型:FabricQuiltRelease下载次数: 661.1.6amcdb-1.1.6.jar下载1.1.6#Release- Adds support for Minecraft 1.20+- A single JAR file now supports all versions- Adds support for new Discord usernames without discriminators**Full Changelog**: https://github.com/0x4e49434f4c45/amcdb/compare/1.1.4...1.1.6展开版本: 1.1.6支持游戏: 1.19.3, 1.19.4, 1.20, 1.20.1类型:FabricQuiltRelease下载次数: 671.1.4+1.19.4amcdb-1.1.4+1.19.4.jar下载1.1.4+1.19.4#Release## What\'s Changed* Fix parsing of underscores in Discord markdown by @0x4e49434f4c45 in https://github.com/0x4e49434f4c45/amcdb/pull/24**Full Changelog**: https://github.com/0x4e49434f4c45/amcdb/compare/1.1.3...1.1.4展开版本: 1.1.4+1.19.4支持游戏: 1.19.4类型:FabricQuiltRelease下载次数: 661.1.3+1.19.4amcdb-1.1.3+1.19.4.jar下载1.1.3+1.19.4#ReleaseDiscord changed their webhook URLs to use `discordapp.com` instead of `discord.com`. This update is a tiny fix to accept both.**Full Changelog**: https://github.com/0x4e49434f4c45/amcdb/compare/1.1.2...1.1.3展开版本: 1.1.3+1.19.4支持游戏: 1.19.4类型:FabricQuiltRelease下载次数: 561.1.2+1.19.4amcdb-1.1.2+1.19.4.jar下载1.1.2+1.19.4#Release## What\'s Changed* Update to Minecraft 1.19.4 by @0x4e49434f4c45 in https://github.com/0x4e49434f4c45/amcdb/pull/23**Full Changelog**: https://github.com/0x4e49434f4c45/amcdb/compare/1.1.1...1.1.2展开版本: 1.1.2+1.19.4支持游戏: 1.19.4类型:FabricQuiltRelease下载次数: 671.1.1+1.19.3amcdb-1.1.1+1.19.3.jar下载1.1.1+1.19.3#Release## What\'s Changed* Improve validation of Discord webhook URLs by @0x4e49434f4c45 in https://github.com/0x4e49434f4c45/amcdb/pull/21* The default configuration has been changed to disable command execution via the DIscord console channel. This is to prevent users from enabling this feature by accident in a channel that hasn\'t been properly locked down.**Full Changelog**: https://github.com/0x4e49434f4c45/amcdb/compare/1.1.0...1.1.1展开版本: 1.1.1+1.19.3支持游戏: 1.19.3类型:FabricQuiltRelease下载次数: 541.1.0+1.19.3amcdb-1.1.0+1.19.3.jar下载1.1.0+1.19.3#Release## What\'s Changed* Add support for Discord webhook mode by @0x4e49434f4c45 in https://github.com/0x4e49434f4c45/amcdb/pull/18**Full Changelog**: https://github.com/0x4e49434f4c45/amcdb/compare/1.0.0...1.1.0展开版本: 1.1.0+1.19.3支持游戏: 1.19.3类型:FabricQuiltRelease下载次数: 461.0.0+1.19.3amcdb-1.0.0+1.19.3.jar下载1.0.0+1.19.3#ReleaseThis release is identical to [1.0.0rc1](https://modrinth.com/mod/amcdb/version/1.0.0rc1+1.19.3), just a full release now!展开版本: 1.0.0+1.19.3支持游戏: 1.19.3类型:FabricQuiltRelease下载次数: 451.0.0rc1+1.19.3amcdb-1.0.0rc1+1.19.3.jar下载1.0.0rc1+1.19.3#BetaThe mod has been stable for several weeks now, so I\'m fixing a couple of bugs and publishing the first release candidate!## What\'s Changed* Fix regression preventing console commands from being executed by @0x4e49434f4c45 in https://github.com/0x4e49434f4c45/amcdb/pull/16* Fix exception when shutdown delay is not configured by @0x4e49434f4c45 in https://github.com/0x4e49434f4c45/amcdb/pull/17**Full Changelog**: https://github.com/0x4e49434f4c45/amcdb/compare/0.8.0...1.0.0rc1展开版本: 1.0.0rc1+1.19.3支持游戏: 1.19.3类型:FabricQuiltBeta下载次数: 550.8.0amcdb-0.8.0+1.19.3.jar下载0.8.0+1.19.3#Beta* Add support for URLs* Add support for Discord message attachments展开版本: 0.8.0+1.19.3支持游戏: 1.19.3类型:FabricQuiltBeta下载次数: 520.7.2amcdb-0.7.2+1.19.3.jar下载0.7.2#Beta展开版本: 0.7.2支持游戏: 1.19.3类型:FabricQuiltBeta下载次数: 58全部版本
文章类型:收录layui.use([\'form\'], function(){
var form = layui.form;
});
AMCDB |
楼主
2025-8-10 16:30:16
回复(0)
收起回复
|