SocketSVC
Minecraft 的近距离语音聊天,通过 WebSocket 而非 UDP 传输。 玩家在游戏中根据彼此的距离来互相听到声音,无需额外开放端口以穿透防火墙——语音流量与你浏览器用于 HTTPS 的连接类型相同。
安装内容
每位玩家都需要安装客户端模组。服务器需要安装以下服务端组件之一。
|
安装位置 |
指南 |
| 客户端 |
mods/ — Fabric, Quilt, NeoForge 或 Forge |
安装教程 |
| 服务端(插件) |
plugins/ — Paper, Purpur 或 Folia |
服务器设置 |
| 服务端(模组) |
mods/ — Fabric, Quilt, NeoForge 或 Forge |
服务器设置 |
| 代理 (可选) |
plugins/ — Velocity, BungeeCord 或 Waterfall |
代理中继 |
Fabric 和 Quilt 需要 Fabric API。Mod Menu 为可选。
你也可以在单人游戏中使用语音功能——将世界开启为局域网联机,客户端将自行托管语音服务器。详见 局域网与单人游戏。
为什么使用 WebSocket 而非 UDP
- 无需额外转发端口。 语音连接最初是普通的 HTTP 升级请求,因此反向代理、Cloudflare Tunnel、ngrok 或 Docker/Pterodactyl 面板均可直接承载,无需额外配置。
- 真正的
wss:// 加密。 利用你已运行的 TLS 终止服务实现加密。
- 单一套接字。 音频、玩家列表、扬声器快照和状态更新共享同一条连接。
- 整个网络只需一个公网端口。 代理中继 作为所有后端的入口,使得各后端专用的语音端口保持内部访问。
功能特性
语音
- 具有距离衰减和左右声道的近距离音频
- 按键说话或语音激活、静音和免提模式
- 独立调节每位玩家的音量,无需降低所有人的音量即可调低某人的声音
- Opus 音频编码,配备抖动缓冲区和丢包 concealment(隐藏),并支持自动重连
音质
- 噪音抑制(RNNoise,可选按需下载的 DeepFilterNet)
- 回声消除、自动增益和限制器
- 耳机空间音频
不止于对话
- 语音组 — 从游戏内菜单加入的命名频道
- 音效板 — 向附近的玩家播放本地片段
- 乐器 — MIDI 键盘、线路输入、鼓机和循环工作站
- 跟随说话者声音的头部分动画
- 自定义图标包,包括动态图标
便利性
支持版本
| Minecraft |
Fabric / Quilt |
NeoForge |
Forge |
| 1.21.11 |
✅ |
✅ |
✅ |
| 26.1 |
✅ |
? beta |
✅ |
| 26.1.1 |
✅ |
? beta |
✅ |
| 26.1.2 |
✅ |
✅ |
✅ |
| 26.2 |
✅ |
✅ |
✅ |
| 26.3 |
✅ |
✅ |
✅ |
Paper 插件和代理插件均为单个 jar 文件,适用于以上所有版本。
标记为 beta 的构建是基于 beta 版加载器生成的,而非 SocketSVC 的 beta 版本。
快速开始
- 将客户端 jar 放入
mods/,将服务端 jar 放入 plugins/ 或 mods/。
- 启动服务器一次——它将生成
config.yml(Paper)或 socketsvc-server.yml(服务端模组)。
- 将
public-url 设置为玩家可访问的地址,然后执行 /ssvc-server reload。
其余设置均有适用于局域网的默认值。对于位于 TLS 后的公共服务器,请参阅 服务器配置;对于网络环境,请参阅 代理配置。
在游戏中按 V 打开设置,按 B 说话,按 G 进入语音组。完整按键列表见 控制键。
面向开发者
SocketSVC 提供了一个空间扬声器 API,以便你自己的插件或模组可以在世界中放置音频——例如音乐、广播通知或带有名称的世界内扬声器。
遇到问题?
首先查看 故障排除 和 兼容性 ——它们涵盖了常见原因,包括与其他语音模组的冲突。然后在 Discord 上提问。
指标

SocketSVC
Proximity voice chat for Minecraft, carried over WebSockets instead of UDP. Players hear each other based on how close they are in-game, and there is no second port to punch through your firewall — voice rides the same kind of connection your browser already uses for HTTPS.
What to install
Every player needs the client mod. The server needs one of the server-side pieces.
|
Install |
Guide |
| Client |
mods/ — Fabric, Quilt, NeoForge or Forge |
Installation |
| Server (plugin) |
plugins/ — Paper, Purpur or Folia |
Server setup |
| Server (mod) |
mods/ — Fabric, Quilt, NeoForge or Forge |
Server setup |
| Proxy (optional) |
plugins/ — Velocity, BungeeCord or Waterfall |
Proxy relay |
Fabric and Quilt need Fabric API. Mod Menu is optional.
You can also use voice in singleplayer — open a world to LAN and the client hosts the voice server itself. See LAN and singleplayer.
Why WebSocket instead of UDP
- Nothing extra to forward. The voice connection starts as an ordinary HTTP upgrade, so a reverse proxy, Cloudflare Tunnel, ngrok, or a Docker/Pterodactyl panel carries it with no extra configuration.
- Real
wss:// encryption from the TLS termination you already run.
- One socket. Audio, the player roster, speaker snapshots and status updates all share a single connection.
- One public port for a whole network. The proxy relay fronts every backend, so per-backend voice ports stay internal.
Features
Voice
- Proximity audio with distance falloff and left/right panning
- Push-to-talk or voice activation, mute and deafen
- Per-player volume, so you can turn one person down without turning everyone down
- Opus audio with a jitter buffer and packet-loss concealment, plus automatic reconnect
Audio quality
- Noise suppression (RNNoise, with optional DeepFilterNet downloaded on demand)
- Echo cancellation, automatic gain and limiting
- Headphone spatial audio
More than talking
- Voice groups — named channels you join from the in-game menu
- Soundboard — play local clips to nearby players
- Instruments — MIDI keyboard, line-in, drum machine and loop station
- Head animation that follows the speaker's voice
- Custom icon packs, including animated ones
Quality of life
- A voice-chat badge next to servers in the multiplayer list, so you know before you join
- Works alongside Simple Voice Chat and Plasmo Voice — keep either installed, and each server gets the right one
- In-game updater that installs a new build on your next restart
- Available in 10 languages, following your Minecraft language setting
Supported versions
| Minecraft |
Fabric / Quilt |
NeoForge |
Forge |
| 1.21.11 |
✅ |
✅ |
✅ |
| 26.1 |
✅ |
? beta |
✅ |
| 26.1.1 |
✅ |
? beta |
✅ |
| 26.1.2 |
✅ |
✅ |
✅ |
| 26.2 |
✅ |
✅ |
✅ |
| 26.3 |
✅ |
✅ |
✅ |
The Paper plugin and the proxy plugin are one jar each and work across all of the above.
Builds marked beta are built against a beta loader release, not a beta of SocketSVC.
Getting started
- Put the client jar in
mods/, and the server jar in plugins/ or mods/.
- Start the server once — it writes
config.yml (Paper) or socketsvc-server.yml (server mod).
- Set
public-url to an address your players can reach, then /ssvc-server reload.
Everything else has a default that works on LAN. For a public server behind TLS, see Server configuration; for a network, see Proxy configuration.
Press V in game to open settings, B to talk, G for voice groups. Full list under Controls.
For developers
SocketSVC exposes a spatial speaker API so your own plugin or mod can place audio in the world — music, PA announcements, named in-world speakers.
Something not working?
Start with Troubleshooting and Compatibility — they cover the usual causes, including other voice mods. Then ask on Discord
Metrics

评论 0
登录后参与评分
还没有评论,来抢沙发吧