Berlioz
Berlioz 允许你在服务器上播放真实的音乐。将环境音轨与特定区域绑定,或向周围的玩家直播,从 YouTube、SoundCloud 或直接音频链接进行流媒体播放。
这是服务端(Paper 插件)。它负责协调:谁在何时何地听到什么。实际的音频由 Berlioz 客户端模组播放,因此每位想要听音乐的玩家都需要安装该模组。没有安装模组的玩家仍然会收到当前曲目的可点击聊天链接,确保没有人被排除在外。
客户端部分可以在这里找到!
功能介绍
环境区域
选择两个角落,提供一份歌曲列表,即可完成设置。任何站在该方框内的玩家都能听到音乐,当他们离开时,音乐会干净利落地停止。适用于酒馆、地牢、Boss 竞技场等场景。
本地广播。
拥有权限的玩家打开游戏内面板,创建播放列表并向附近的所有玩家广播。他们可以暂停、跳过、随机播放、循环和跳转。所有听众的进度保持同步。曲目会提前预加载,因此歌曲之间不会有明显的间隔。
广播命令
对于小游戏或演出,你可以使用 /berlioz play <半径> <URL>。该命令会覆盖范围内的所有其他内容,并循环播放,直到你执行 /berlioz stop。还有一个 cache 子命令,可以在需要之前预热音轨,确保在发送 play 命令的那一刻所有人都能听到歌曲的开头。
命令与权限
/berlioz play <半径> <URL> | stop | cache <半径> <URL>
权限:
berlioz.playlist -> 运行 DJ 广播
berlioz.ambient -> 创建 / 编辑 / 删除环境区域
berlioz.command -> 使用 /berlioz(命令块始终允许)
区域数据存储在 zones.yml 中(附带 .bak 备份)。
注意事项:
专为 Berlioz 客户端模组构建。请安装在需要播放音乐的客户端上。
服务器本身不会下载或解码任何内容,它仅告知客户端播放什么。
发现 Bug 或有功能建议?请提交 Issue,或在 Discord 上联系我(vainerii)。
Berlioz
Berlioz lets you play real music on your server. Ambient tracks tied to specific areas, or live broadcasts to players around you, streamed from YouTube, SoundCloud or a direct audio link.
This is the server side (Paper plugin). It does the coordination: who hears what, where, and when. The actual audio is played by the Berlioz client mod, so each player who wants to hear the music needs it installed. Players without the mod still get a clickable chat link to the current track, so nobody is left out.
The client side can be found Here !
What it does
Ambient zones.
Pick two corners, give it a list of songs, done. Anyone standing inside the box hears it, and it switches off cleanly when they leave. Good for taverns, dungeons, boss arenas, etc.
Local broadcasts.
A player with permission opens the in-game panel, builds a playlist and broadcasts it to everyone nearby. They can pause, skip, shuffle, repeat, seek. All stays in sync for listeners. Tracks are pre-loaded a bit ahead of time so there's no big gap between songs.
Command broadcast.
For minigames or shows you can do /berlioz play <radius> <url>. It overrides everything else in range and loops until you /berlioz stop. There's also a cache subcommand to warm a track up before you need it and make sure everyone hears the start of the song at the moment the play command is sent.
Commands and permissions
/berlioz play <radius> <url> | stop | cache <radius> <url>
Permissions:
berlioz.playlist -> Run a DJ broadcast
berlioz.ambient -> Create / edit / delete ambient zones
berlioz.command -> Use /berlioz (command blocks are always allowed)
Zones are stored in zones.yml (with a .bak backup).
Notes :
Built for the Berlioz client mod. Install it on the clients that should hear the music.
The server never downloads or decodes anything itself. It only tells clients what to play.
Found a bug or want a feature? Open an issue, or contact me on discord (vainerii).
评论 0
登录后参与评分
还没有评论,来抢沙发吧