Berlioz
Berlioz 在 Minecraft 中播放音乐,音频实时从 YouTube、SoundCloud 或任何直接音频链接获取,并与游戏世界相结合:在特定区域播放的环境音乐,或向周围玩家广播的播放列表。
这是客户端部分(Fabric 模组)。它流式传输音频,显示游戏内的播放器,并提供播放列表和区域屏幕。协调功能(谁听到什么、在哪里听)由权威性的 Berlioz 服务端插件处理,因此要实际听到声音,你需要加入运行该插件的服务端。
服务端插件位于 此处 !
功能介绍
音乐播放器
为你提供一个真正的游戏内音乐播放器。一个小型 UI 元素,显示当前曲目、进度和音量(你可以调整音量)。
广播面板
按 M 键打开它(如果你拥有相应权限)。粘贴一些链接,构建播放列表,点击播放,它就会向附近所有安装了此模组的玩家广播。你可以随机播放、循环、跳过、跳转,并设置广播半径。即将播放的曲目会提前缓存,以避免歌曲之间出现中断。
环境区域
拥有相应权限后,你将获得一个区域管理器:列出附近的区域、传送至这些区域,并编辑每个区域内播放的歌曲。走进区域,音乐开始播放;走出区域,音乐逐渐消失。
工作原理
无需手动配置流媒体服务。首次使用时,它会安静且安全地将 yt-dlp 和 ffmpeg 下载到独立文件夹中(读取网络歌曲所必需)。你无需自行安装任何东西。
在自定义设置面板中,你可以开启或关闭各个音源(YouTube / SoundCloud / 直接链接),调节淡入淡出时长,并为环境音乐、DJ 模式和服务器推送的音乐分别设置独立的音量。
注意:
仅在与运行 Berlioz 插件的服务端一起使用时有效。你必须接受或拒绝你所信任的服务端。
只有安装了此模组的玩家才能听到流式传输的音频。未安装的玩家仍会看到一个可点击的聊天链接,指向当前正在播放的内容。
发现 Bug 或有功能建议?请提交 Issue,或在 Discord 上联系我(vainerii)。
流媒体可能违反源平台的服务条款(ToS)和版权规定。
你对自己播放/广播的内容负责。
如需公开或商业用途,请获取相应许可证。
建议仅在私有服务端上使用。
Berlioz
Berlioz plays music in Minecraft, pulled live from YouTube, SoundCloud, or any direct audio link, and ties it into the world: ambient tracks that play in specific areas, or playlists broadcast to the players around you.
This is the client side (Fabric mod). It streams the audio, shows an in-game player, and gives you the playlist and zone screens. The coordination (who hears what, and where) is handled by the authoritive Berlioz server plugin, so to actually hear anything you need to be on a server running it.
The server side can be found Here !
What it does
Music player
Gives you a real in-game music player. A small UI element that shows the current track, progress and volume (that you can change).
A broadcast panel.
Press M to open it (if you have the right permission). Paste some links, build a playlist, hit play, and it broadcasts to everyone nearby who has the mod. You can shuffle, repeat, skip, seek, and set the broadcast radius. Upcoming tracks get cached ahead of time so songs don't cut out between each other.
Ambient zones.
With the right permission you get a zone manager: list nearby zones, tp to them, and edit which songs play inside each zone. Walk in, music starts; walk out, it fades away.
How it works
No manual setup for the streaming. On first use it quietly (and securely) downloads yt-dlp and ffmpeg into their own folder (which are necessary to read songs from the internet). You don't have to install anything yourself.
In the custom settings panel, you can turn individual sources on or off (YouTube / SoundCloud / direct links), tune the fade length, and set separate volumes for ambient, DJ and server-pushed music.
Notes :
Works on servers that runs the Berlioz plugin. You'll have to accept or deny servers that you trust.
Only players who have the mod hear the streamed audio. People without it still get a clickable chat link to whatever's playing.
Found a bug or want a feature? Open an issue, or contact me on discord (vainerii).
Streams may violate source-platform ToS and copyright.
You are responsible for what you play/broadcast.
Obtain licenses for public/commercial use.
Usage is recommanded on private servers only.
评论 0
登录后参与评分
还没有评论,来抢沙发吧