⚠️ 需要反馈
我正在收集关于应支持哪些 Minecraft 版本以及服务器平台/加载器的反馈。请填写这份简短的匿名 Google 表单:
Simple Voice Chat Discord Bridge
⚠️ 警告
这不是官方附加组件。请勿前往 Simple Voice Chat 的 Discord 服务器寻求支持!请使用 GitHub Issues 获取技术支持。 我会尽快提供支持,但无法保证响应时间。
Simple Voice Chat Discord Bridge 是一款适用于 Fabric 和 Paper/Purpur 的 Simple Voice Chat 附加组件,它在 Simple Voice Chat 与 Discord 之间搭建桥梁,使得未安装 Simple Voice Chat 客户端的玩家也能进行语音聊天。例如,此附加组件允许通过 Geyser 连接的基岩版(Bedrock edition)玩家使用语音聊天功能!
- Bug 报告、功能请求和一般支持:
- 更新日志:
- 源代码:
(有关此项目基础设施的更多信息,例如同时使用 GitHub 和 GitLab 的原因,请滚动到最后一部分。)
安装与使用
首先,确保您已安装并正确配置 Simple Voice Chat。更多信息请参阅 Simple Voice Chat 维基。
ℹ️ 注意
Simple Voice Chat Discord Bridge 需要 Simple Voice Chat 2.4.11 或更高版本。请确保您已更新!
然后,您需要 下载 与您 Minecraft 版本兼容的最新版本的 Simple Voice Chat Discord Bridge。
ℹ️ 注意
如果您使用的是 Fabric 模组,它需要 Fabric API。
查找配置文件
请确保在安装了 Simple Voice Chat 和 Simple Voice Chat Discord Bridge 的情况下运行一次您的服务器,以生成 Simple Voice Chat Discord Bridge 的配置文件。
Fabric: Simple Voice Chat Discord Bridge 的配置文件应位于 config/voicechat-discord.yml。
Paper/Purpur: Simple Voice Chat Discord Bridge 的配置文件应位于 plugins/voicechat-discord/config.yml。
设置机器人
首先,点击右上角的 New Application(新建应用程序)在 discord.com/developers/applications 创建一个应用程序。为你想要创建的机器人选择一个名称。

在左侧点击 Bot(机器人)。点击 Reset Token(重置令牌)复制令牌。重置令牌后,会出现一个 Copy(复制)按钮。

现在,使用文本编辑器打开 配置文件。将 DISCORD_BOT_TOKEN_HERE 替换为你复制的令牌。配置应类似如下所示:
bots:
- token: TheTokenYouJustPasted
vc_id: VOICE_CHANNEL_ID_HERE
接下来,在左侧点击 Installation(安装)。将 Install Link(安装链接)从 Discord Provided Link(Discord 提供的链接)更改为 None(无)。

接着,在左侧点击 Bot(机器人)。向下滚动并禁用 Public Bot(公共机器人)。

最后,在左侧点击 General Information(常规信息)并复制应用程序 ID。

在浏览器中访问 discord.com/api/oauth2/authorize?client_id=YOUR_APPLICATION_ID_HERE&permissions=36700160&scope=bot,并将 YOUR_APPLICATION_ID_HERE 替换为你刚才复制的应用程序 ID。选择你想要邀请机器人的服务器。确保不要禁用其任何权限。
现在,按照 support.discord.com/articles/Where-can-I-find-my-User-Server-Message-ID 中的步骤在 Discord 中启用开发者模式。然后,右键单击你希望机器人用作 Simple Voice Chat 和 Discord 之间桥梁的语音频道,并点击 Copy ID(复制 ID)。
⚠️ 警告
语音频道中同一时间不能有超过一个人说话,否则会出现奇怪的音频故障。我们建议将机器人语音频道的用户数限制为 2 人,以确保不会出现问题。
现在,再次使用文本编辑器打开 配置文件。将 VOICE_CHANNEL_ID_HERE 替换为你复制的频道 ID。配置应类似如下所示:
bots:
- token: TheTokenYouJustPasted
vc_id: TheChannelIDYouJustPasted
你可以根据需要重复此过程来创建任意数量的机器人。配置文件 中包含有关拥有多个机器人的相关信息。
ℹ️ 注意
你拥有的机器人数量等同于同时通过 Discord 连接到 Simple Voice Chat 的人数。因此,如果你有 3 个机器人,最多可以有 3 人同时使用该附加组件。
故障排除
如果你在尝试使用机器人时遇到错误,请查看控制台。这些错误信息中始终会包含该机器人的 vc_id,以便你识别是哪个机器人导致了错误。
在游戏中使用
⚠️ 警告
语音频道中同一时间只能有一个人说话,否则会出现奇怪的音频故障。我们建议将机器人语音频道的用户限制在 2 人以内,以确保不会引发问题。
Simple Voice Chat Discord Bridge 的大部分功能都通过 /dvc 命令暴露。本节将介绍其所有子命令。
对于接受字符串参数的命令,你可以用引号将其包裹起来以转义空格。
/dvc start
使用第一个可用的机器人启动语音聊天会话。你可能需要等待几秒钟才能启动。启动后,按照提示加入语音频道。你应该能听到其他玩家说话,其他玩家也应该能听到你说话。
如果你在语音聊天会话中遇到问题,可以尝试再次使用 /dvc start 来重新启动它。
/dvc stop
停止当前的语音聊天会话并断开机器人连接。
/dvc group
允许你列出、创建、加入、离开和移除群组。
/dvc group list
列出所有群组。
/dvc group create <name> [password] [type] [persistent]
允许你创建一个群组。
参数:
name(必填):群组的名称。password(可选,默认为""(无密码)):群组的密码。如果你不想设置密码但想更改群组类型或持久性,只需传递一个空字符串:""type(可选,默认为normal):可以是normal、open或isolated。normal:群组内的玩家可以听到附近不在群组中的玩家,反之则不行open:群组内的玩家可以听到附近的玩家,附近的玩家也能听到群组内的玩家isolated:群组内的玩家只能听到群组内的其他玩家
persistent(可选,默认为false):如果为true,当所有玩家离开时,该群组不会被移除。相反,必须使用/dvc group remove <ID>来手动移除它。
/dvc group join <ID>
允许你使用来自 /dvc group list 的 ID 加入群组。
/dvc group info
提供关于你当前群组的信息。
/dvc group leave
允许你离开当前所在的群组。
/dvc group remove <ID>
允许你使用来自 /dvc group list 的 ID 移除一个没有玩家的持久化群组。
/dvc togglewhisper
允许你进行耳语(私聊)。
/dvc reloadconfig
如果你是操作员(在 Fabric 上具体为权限等级 2 或更高),或者拥有 voicechat-discord.reload-config 权限,你可以使用 /dvc reloadconfig 子命令重新加载配置,而无需重新加载/重启服务器。使用此子命令将停止所有正在运行的机器人。
项目基础设施
源代码和开发工作在 GitLab 上进行,地址为 。
然而,由于拥有 GitHub 账户的用户远多于 GitLab 账户,错误报告、功能请求和一般支持均通过 GitHub 进行,地址为 。
此外,GitHub Actions 用于构建和发布插件,因为我不想费心迁移到 GitLab CI。工作流文件位于 GitHub 仓库 中,你可以在 查看工作流运行结果。(虽然使用 GitHub Actions 克隆 GitLab 仓库在某种程度上降低了安全性,但 GitHub Actions 工作流会将用于构建发布的 Git 仓库作为工件上传,以便进行独立分析。所有文件的 sha256 哈希值和 git log 的输出也会被记录。)
⚠️ Feedback Wanted
I am looking for feedback on what Minecraft version and server platforms/loaders to support. Please fill out this short, anonymous Google Form:
Simple Voice Chat Discord Bridge
⚠️ Warning
This is not an official addon. Please don't go to the Simple Voice Chat discord server for support! Instead, please use GitHub issues for support. I'll try to provide support as soon as possible but there is no guarantee for how long it will take.
Simple Voice Chat Discord Bridge is a Simple Voice Chat addon for Fabric and Paper/Purpur that makes a bridge between Simple Voice Chat and Discord to allow for players without Simple Voice Chat installed on their client to hear and speak. For example, this addon allows Bedrock edition players connected through Geyser to use voice chat!
- Bug reports, feature requests, and general support:
- Changelog:
- Source code:
(For more information on the infrastructure of this project, such as the use of both GitHub and GitLab, scroll down to the last section.)
Installation and Usage
First, ensure that you have Simple Voice Chat installed and correctly configured. Please refer to the Simple Voice Chat wiki for more info.
ℹ️ Note
Simple Voice Chat Discord Bridge requires version 2.4.11 or later of Simple Voice Chat. Please ensure you have updated!
Then, you'll want to download the latest version of Simple Voice Chat Discord Bridge that is compatible with your Minecraft version.
ℹ️ Note
If you are using the Fabric mod, it requires the Fabric API.
Finding the configuration file
Make sure to run your server once with Simple Voice Chat and Simple Voice Chat Discord Bridge installed to generate Simple Voice Chat Discord Bridge's configuration file.
Fabric: Simple Voice Chat Discord Bridge's configuration file should be located at config/voicechat-discord.yml.
Paper/Purpur: Simple Voice Chat Discord Bridge's configuration file should be located at plugins/voicechat-discord/config.yml.
Setting up a bot
First, create an application at discord.com/developers/applications by clicking New Application at the top right. Choose the name that you want your bot to be called.

On the left, click Bot. Copy the token by clicking Reset Token. After resetting the token, there should be a Copy button.

Now, open the configuration file with a text editor. Replace DISCORD_BOT_TOKEN_HERE with the token you copied. It should look something like this:
bots:
- token: TheTokenYouJustPasted
vc_id: VOICE_CHANNEL_ID_HERE
Next, click Installation on the left. Change Install Link from Discord Provided Link to None.

Next, click Bot on the left. Scroll down and disable disable Public Bot.

Finally, click General Information on the left and copy the Application ID.

In your browser, go to discord.com/api/oauth2/authorize?client_id=YOUR_APPLICATION_ID_HERE&permissions=36700160&scope=bot but replace YOUR_APPLICATION_ID_HERE with the application ID you just copied. Choose the server you want to invite your bot to. Make sure not to disable any of its permissions.
Now, follow the steps at support.discord.com/articles/Where-can-I-find-my-User-Server-Message-ID to enable Developer Mode in Discord. Then, right click the voice channel you want the bot to use as a bridge between Simple Voice Chat and Discord and click Copy ID.
⚠️ Warning
There cannot be more than one person speaking in the voice channel at a time, or there will be weird audio glitches. We recommend limiting bot voice channels to 2 users to ensure that this does not cause an issue.
Now, reopen the configuration file with a text editor. Replace VOICE_CHANNEL_ID_HERE with the channel ID you copied. It should look something like this:
bots:
- token: TheTokenYouJustPasted
vc_id: TheChannelIDYouJustPasted
You can redo this process for however many bots you want. There is some info in the configuration file about having multiple bots.
ℹ️ Note
The amount of bots you have is equivalent to the amount of people who can be connected to Simple Voice Chat through Discord at one time. So if you have 3 bots, up to 3 people can use the addon at the same time.
Troubleshooting
If you run into errors while trying to use a bot, please read the console. The errors will always include the vc_id of the bot, which allows you to identify which bot caused the error.
Using it in-game
⚠️ Warning
There cannot be more than one person speaking in the voice channel at a time, or there will be weird audio glitches. We recommend limiting bot voice channels to 2 users to ensure that this does not cause an issue.
Most of Simple Voice Chat Discord Bridge's functionality is exposed through the /dvc command. This section will go through all of its subcommands.
For commands that take string arguments, you can wrap them in quotes to escape spaces.
/dvc start
Starts a voice chat session using the first available bot. You may have to wait a few seconds for it to start. After it starts, join the voice channel as instructed. You should be able to hear players speak, and other players should be able to hear you speak.
If you are having issues while in a voice chat session, you can try restarting it by using /dvc start again.
/dvc stop
Stops the current voice chat session and disconnects the bot.
/dvc group
Allows you to list, create, join, leave and remove groups.
/dvc group list
Gives you a list of all groups.
/dvc group create <name> [password] [type] [persistent]
Allows you to create a group.
Arguments:
name(required): The name of the group.password(optional, defaults to""(no password)): The password of the group. If you don't want a password but want to change the group type or persistency, just pass an empty string:""type(optional, defaults tonormal): Can benormal,openorisolated.normal: Players in a group can hear nearby players that are not in a group, but not vice versaopen: Players in a group can hear nearby players and nearby players can hear players in the groupisolated: Players in a group can only hear other players in the group
persistent(optional, defaults tofalse): Iftrue, the group will not be removed once all players leave. Instead, it has to be removed using/dvc group remove <ID>
/dvc group join <ID>
Allows you to join a group using an ID from /dvc group list.
/dvc group info
Gives you info about your current group.
/dvc group leave
Allows you to leave your current group.
/dvc group remove <ID>
Allows you to remove a persistent group with no players in it using an ID from /dvc group list.
/dvc togglewhisper
Allows you to whisper.
/dvc reloadconfig
If you are a operator (specifically permission level 2 or higher on fabric) or if you have the voicechat-discord.reload-config permission, you can use the /dvc reloadconfig subcommand to reload the config without have to reload/restart the server. Using this subcommand will stop all running bots.
Project Infrastructure
Source code and development is done on GitLab at .
However, because there are a lot more users with GitHub accounts than GitLab accounts, bug reports, feature requests, and general support is done through GitHub at .
In addition, GitHub Actions is used to build and release the addon because I can't be bothered to migrate to GitLab CI. The workflow files are in the GitHub repository at , and you can view workflow run results at . (While using GitHub Actions to clone the GitLab repository arguably reduces security, the GitHub Actions workflows upload the Git repository used to build the release as an artifact to allow for independent analysis. The sha256 hashes of all files and the output of git log is also logged.)
下载 Simple Voice Chat Discord Bridge
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Voice Chat Discord Bridge
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Voice Chat Discord Bridge
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Voice Chat Discord Bridge
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Voice Chat Discord Bridge
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Voice Chat Discord Bridge
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Voice Chat Discord Bridge
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Voice Chat Discord Bridge
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Voice Chat Discord Bridge
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Voice Chat Discord Bridge
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
请注意: 此版本支持以下 Minecraft 版本:1.21.9、1.21.10
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧