
默认的 Minecraft 音乐是否略显单调?你是否希望为你的区域添加氛围音乐?现在你可以使用 RegionJukebox 来实现!用令人毛骨悚然的管风琴管道布置你的墓地,或者用悦耳的风铃装饰你放松的度假屋。只需使用 WorldGuard 定义一个区域,然后为该区域分配一个 Minecraft 唱片或自定义资源包中的声音即可。每当玩家进入该区域时,音乐就会为该玩家播放!
迎来 2.0 版本! :D
天哪朋友们!我终于做到了!2.0 版本来了!大家一直期待的功能终于出现了。请鼓掌……自定义音乐!你现在可以将区域设置为播放来自资源包的声音。只需在命令中使用与 sounds.json 文件中相同的名称即可。对于那些仍然喜欢使用经典的默认 Minecraft 唱片的用户,不用担心,你仍然可以使用它们。
音乐。无处不在。无!处!不!在!现在,音乐将在区域内配置的“扬声器”方块中播放。如果你将区域配置为从音符盒播放,那么音乐将从区域内的每个音符盒中播放。这样你就可以让音乐从区域内的不同位置播放,甚至可以从每一个草方块中播放(我不建议这样做,这会非常强烈)。
循环播放功能现在运行得非常完美。循环不再是一个全局设置,而是可以按区域进行配置。要实现循环,只需要提供正在播放的音乐的长度。对于自定义声音,你可能需要稍微猜测和测试一下才能找到正确的长度。对于那些使用默认 Minecraft 唱片的用户,你甚至不需要担心这个问题。插件已经知道每张唱片的时长,因此你可以在命令中省略该参数。
安装方法:
- WorldGuard 是必需的
- WorldGuard Region Events 是必需的
- 只需将 jar 文件放入 plugins 文件夹即可完成设置!
当前功能:
- 为预定义的 WorldGuard 区域分配音乐
- 播放 Minecraft 唱片或自定义资源包音乐
- 循环播放音乐!可按区域配置
- 在区域内指定一个“扬声器”方块来播放声音
- 自动更新
计划功能:
- 有任何建议吗?尽管告诉我吧!
命令:
- /rj help - 显示命令列表
- /rj recordlist - 显示可播放的唱片列表
- /rj regionlist - 显示已启用留声机的区域列表
- /rj remove - 从区域中移除留声机
- /rj reload - 重新加载配置文件
- /rj set - 设置区域的留声机音乐
如需有关命令的更多帮助,只需在聊天中输入命令,系统将显示其用法以及每个参数的含义。
权限:
- regionjukebox.command.rj - 允许使用 rj 命令
源代码
如果你真的想要源代码,那就反编译 jar 文件吧。真的,我不在乎。你想怎么做就怎么做!
常见问题解答:
问:能否让音乐在整个区域内播放?
答:可以!2.0 版本解决了这个问题!你可以配置一个“扬声器”方块来向外播放声音。然后在你的区域周围放置指定的“扬声器”方块即可。
问:当玩家离开区域时,能否让音乐逐渐淡出?
答:部分可以……这取决于你是否使用默认的 Minecraft 唱片。如果你使用的是唱片,它们会突然停止。如果你使用的是自定义声音,我实际上无法阻止它们继续播放。因此,随着玩家远离声源,声音会逐渐减弱。如果你们希望唱片的行为方式与自定义声音相同,请告诉我。我完全可以做到这一点。
问:能否添加自定义音乐?
答:可以!2.0 版本再次拯救世界!你现在可以配置区域以播放自定义资源包中的声音。只需使用与 sound.json 文件中相同的声音视频名即可。
问:能否修复“区域内嵌套区域”的问题?
答:我可以做,但我不想做。这超出了简单性的范围。这也涉及区域检测,那要复杂得多。
另一个经常出现的问题是人们告诉我插件无响应或事件停止工作。我想让你们了解我是如何处理这些情况的。我会先查看评论并尝试重现问题,然后将最新的插件加载到我的服务器上。我的开发服务器始终、总是运行最新版本以保持与客户端同步。然而,插件则不一定如此,因为插件无需运行最新版本即可保持稳定。然后我会尝试使用当前可用的插件版本和当前的服务器重现问题。大多数情况下,它是有效的。如果某些东西对你不起作用,你可以尝试删除插件和数据文件夹,并重新安装一份全新的副本。如果问题仍然存在,请详细解释具体问题是什么,或者提供逐步说明如何重现问题。仅仅告诉我“它不起作用”对我没有任何帮助。
更新日志:
- 2.0 版本:*最新版本*
- 现在可以播放自定义音乐了!对此感到非常兴奋!
- 循环功能现已支持按区域单独配置
- 现在可以为音乐分配一个“扬声器”方块来播放声音
- 1.6 版本:
- 更新适配至 1.7.9
- 修复了离开区域后音乐仍继续播放的 bug
- 为 2.0 版本做好了准备!
- 1.52 版本:
- 更新适配至 1.6.2
- 1.51 版本:
- 修复了无法移除已配置区域的故障
- 1.5 版本:
- 重写了插件,将区域保存至配置文件。不再使用序列化对象!
- 1.45 版本:
- 修复了一个元数据错误
- 1.44 版本:
- 当用户没有权限使用命令时,添加控制台日志记录
- 1.43 版本:
- 对 plugin.yml 进行了几处小改动,并修复了控制台刷屏问题
- 更新适配至 1.5.2
- 功能无变化
- 1.4 版本:
- 区域的保存方式发生了变化。不再保存在难看的文本文件中。请删除该文本文件!
- 1.31 版本:
- 更新适配至 1.5.1
- 1.3 版本:
- 添加了权限系统
- 1.23 版本:
- 添加了 /rj reload 命令以重新加载配置文件
- 修复了离开区域时的空指针异常
- 每次循环周期结束时,音乐将在玩家所在位置重新播放
- 1.22 版本:
- 修复了控制台命令的使用问题
- 修复了离开区域时的元数据问题
- 1.2 版本:
- 添加了循环播放音乐功能
- 添加了用于控制循环音乐的配置开关
- 由于代码结构调整,命令语法略有更改以适应循环音乐功能
- 1.1 版本:
- 修复了在使用新声音更新区域时的 bug
- 更新了自动更新器通知,让用户知道插件正在自我更新
- 1.0 版本:
- 首次发布

Is the default Minecraft music a little dull? Would you like to add atmospheric music to your regions? Now you can, with RegionJukebox! Setup your cemeteries with scary organ pipes, or your relaxing vacation home with nice chimes. Just define a region with WorldGuard and then assign either a Minecraft record or a custom resource pack sound to the region. Whenever a player enters the region, the music will play for that player!
Bring in Version 2.0! :D
Holy crap people! I finally did it! Version 2.0 is here! The one feature everyone has been asking for is here now. Drum roll please... Custom music! You can now assign regions to play sounds from resource packs. Just use the same name you use in the sounds.json file in the command. For those that still use the beautiful default Minecraft records, don't worry, you can still use those.
Music. Is. Everywhere. EVERYWHERE! The music now plays at a configurable "speaker" block in the region. If you configure the region to play from a note block, then the music will play from every note block in the region. This way you can have it play from different spots in the region, or even have it play from every grass block (I suggest not doing this, it's pretty intense).
Looping works wonderfully now. Looping is no longer a global setting, and can now be configured per region. The only thing that is needed to loop is the length of the music being played. For custom sounds, you're going to have to guess and check a little bit to get it right. For those using default Minecraft records, you don't even have to worry about it. The plugin already knows the lengths of each record, so you can just leave that argument out of the command.
How to Install:
- WorldGuard IS NEEDED
- WorldGuard Region Events IS NEEDED
- Just drop jar into the plugins folder and you're set!
Current Features:
- Assign music to predefined WorldGuard regions
- Play either Minecraft records or custom resource pack music
- Loop the music! Configurable per region
- Assign a "speaker" block to play the sound at in the region
- Auto-updating
Planned Features:
- Got any suggestions? Go ahead and tell me about them!
Commands:
- /rj help - Shows a list of commands
- /rj recordlist - Shows list of records to play
- /rj regionlist - Shows list of regions with jukebox enabled
- /rj remove - Removes the jukebox from a region
- /rj reload - Reloads configuration file
- /rj set - Sets the region's jukebox music
For additional help with the commands, just type out the command in chat, and their usages along with what each parameter means will be shown.
Permissions:
- regionjukebox.command.rj - Allows the use of the rj command
Source
If you really want the source code, go ahead and decompile the jar file. Really, I don't care. Do what you want!
QA:
Q: Is it possible to make the music play throughout the whole region?
A: Yes! Version 2.0 fixed that! You can configure a "speaker" block to play the sound out of. You then place the designated "speaker" block all around your region.
Q: Can you make the music fade when a player leaves the region?
A: Kind of... Depends on if you're using the default Minecraft records or not. If you're using the records, they stop pretty abruptly. If you're using custom sounds, I actually can't stop those from playing. So as the player walks away from the sound source, it will fade away. If you guys want the records to act the same way as the custom sounds, let me know. I can definitely do that.
Q: Can you add custom music?
A: Yes! Version 2.0 to the rescue again! You can now configure regions to play custom resource pack sounds. Just use the same sound name as the sound.json file.
Q: Can you fix the region within a region thing?
A: I could, but don't want to. That goes beyond the scope of simplicity. That also gets into region detection and that's a lot more complicated.
Another thing that comes up a lot is people telling me the plugin is unresponsive or the events stopped working. I would like to let you know how I handle these. I first see a comment and trying to recreate the problem, load the freshest plugin onto my server. My dev server is always, ALWAYS, running the latest build to keep up with the client. The plugins however, are not, as plugins do not need to run the latest build to stay stable. I then try to recreate the problem using the current available plugin version and the current server. Most of the time, it works. If something doesn't work for you, you can try to delete the plugin and the data folder, and reinstall a fresh copy. If the problem persists, please explain exactly what the problem is and/or a step by step on how to reproduce the problem. Telling me "it doesn't work" doesn't help me at all.
Changelog:
- Version 2.0: *Latest Version*
- You can now play custom music! So excited for this!
- Looping is now configurable on a per region basis
- You can now assign a "speaker" block to play the music out of
- Version 1.6:
- Updated to 1.7.9
- Fixed a bug where leaving a region wouldn't stop the music
- Preparations were made for version 2.0!
- Version 1.52:
- Updated to 1.6.2
- Version 1.51:
- Fixed problem with not being able to remove configured regions
- Version 1.5:
- Rewrote plugin to save regions to config file. No more serialized objects!
- Version 1.45:
- Fixed a metadata error I came across
- Version 1.44:
- Added console log when user doesn't have permission to use command
- Version 1.43:
- Couple minor plugin.yml changes and console spam fixes
- Updated to 1.5.2.
- No changes to functionality
- Version 1.4:
- Regions are saved differently. No longer in unsightly text file. Please delete the text file!
- Version 1.31:
- Updated to 1.5.1
- Version 1.3:
- Added permissions
- Version 1.23:
- Added /rj reload command to reload the configuration file
- Fixed a null issue when leaving a region
- Music replays at the players location every loop cycle
- Version 1.22:
- Fixed console command usage
- Fixed a metadata issue when leaving a region
- Version 1.2:
- Added looping music
- Add configuration toggle for looping music
- Command syntax was slightly changed to accommodate the change in code for looping music
- Version 1.1:
- Fixed bug when updating a region with a new sound
- Added notification to updater so the user knows the plugin is updating itself
- Version 1.0:
- Initial Release
下载 RegionJukebox
下载 RegionJukebox
下载 RegionJukebox
下载 RegionJukebox
下载 RegionJukebox
下载 RegionJukebox
下载 RegionJukebox
下载 RegionJukebox
下载 RegionJukebox
下载 RegionJukebox
2.0 版本已发布!新增自定义资源包音效播放功能。支持按区域循环音乐,而非全局统一循环。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
插件
创建用户友好的菜单以前往不同的世界
插件
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
评论 0
登录后参与评分
还没有评论,来抢沙发吧