YT Party
在 Minecraft 中一起收听 YouTube —— 派对中的每个人在同一时刻听到相同的曲目。可以播放、暂停、跳转、跳过并编辑队列,整个房间内的体验保持完美同步。音频在每个客户端上解码和播放,因此网络上仅传输微小的控制消息。
功能
- 同步播放 —— 所有派对成员同时播放同一曲目、处于相同进度
- 共享控制:播放 / 暂停 / 跳转 / 跳过 / 重新排序,实时同步给所有听众
- 逐个添加视频到队列,或在列表编辑器中一次性粘贴多个链接(每行一个 URL)
- 支持循环播放、自动移除和完整的队列编辑
- SponsorBlock —— 自动跳过赞助片段
- 每位玩家可独立调节音量,并提供可选的当前播放 HUD
- 支持邀请制派对、权限级别以及公开 / 私密房间
- 单人模式开箱即用 —— 无需服务器
工作原理
安装模组(需要 Fabric API),并通过按键绑定(J)打开派对界面 —— 它可以在单人模式下立即使用。要与他人一起收听,可以从游戏内的 Relay 屏幕连接到一个可自行托管的 relay,或者加入运行了 YT Party 服务端模组或 Bukkit 插件的 Minecraft 服务器(无需客户端设置)。它们都使用相同的协议,因此体验完全一致。
本项目提供两个 jar 文件:主 jar 供玩家安装,以及一个单独的精简服务端 jar 供 Fabric 服务器所有者使用(仅包含服务端派对逻辑 —— 无 UI 或音频)。Bukkit 服务器则使用对应的插件。
源代码、自行托管 relay、服务端插件及完整文档:
github.com/ZoeyVid/ytparty
YT Party
Listen to YouTube together in Minecraft — everyone in a party hears the same track at the same
moment. Play, pause, seek, skip and edit the queue, and it stays perfectly in sync for the whole room.
Audio is decoded and played on each client, so only tiny control messages travel over the network.
Features
- Synced playback — same track, same position, for everyone in the party
- Shared controls: play / pause / seek / skip / reorder, live for all listeners
- Queue videos one by one, or paste several links at once — one URL per line — in the list editor
- Repeat, auto‑remove and full queue editing
- SponsorBlock — skip sponsor segments automatically
- Per‑player volume and an optional now‑playing HUD
- Parties with invites, permission levels and public / private rooms
- Solo mode works out of the box — no server needed
How it works
Install the mod (requires Fabric API) and open the party screen with the keybind (J) — it works
solo right away. To listen with others, either connect to a self‑hostable relay from the
in‑game Relay screen, or join a Minecraft server running the YT Party server mod or Bukkit
plugin (no client setup needed). All of them speak the same protocol, so the experience is identical.
This project ships two jars: the main jar players install, and a separate minimal server
jar for Fabric server owners (server‑side party logic only — no UI or audio). Bukkit servers use
the plugin instead.
Source code, self‑hosting the relay, the server plugin, and full documentation:
github.com/ZoeyVid/ytparty
评论 0
登录后参与评分
还没有评论,来抢沙发吧