RPG 音乐插件 (1.18.2 - 1.20.4)
一款让服务器像 RPG 一样沉浸的插件(使用音乐)。
注意:为此你需要使用自定义资源包中的音乐。顺便说一下,你不需要 Optifine 或任何模组来实现这一点,只需搜索如何使用资源包向游戏添加声音即可。
当玩家进入有音乐的区域(在 regions.yml 中指定的区域)时,该区域的音乐将开始播放。
如果该区域的音乐已经在玩家端循环播放,那么当玩家再次进入该区域时,不会发生任何变化。
如果有其他歌曲正在为玩家循环播放,则该歌曲将停止播放,其循环也会终止,新歌曲将开始循环播放。
如果玩家离开有音乐的区域进入没有音乐的区域,音乐不会立即停止,但循环会在当前音乐播放完毕后结束。换句话说,音乐会一直播放直到结束,之后不再为玩家播放。但是,如果玩家在当前歌曲结束前返回到包含该歌曲作为背景音乐的音乐区域,则循环不会被中断,音乐将继续为玩家循环播放。
需要配置的内容包括:区域名称、区域所在的世界名称、歌曲名称(对应纹理包中的命名)、歌曲速度(以刻为单位)、音量以及音调。
插件版本:1.18+。如果需要兼容更旧的版本,可以通过修改源代码来调整兼容性。
注:你需要在 plugins 文件夹中安装 WorldGuard 和 WGRegionEvents(已更新 // 适用于 1.13-1.20 版本)才能使用该插件。
从以下链接下载 WorldGuard:点击这里
并从以下链接下载 WGRegionEvents(已更新版):点击这里
- 额外说明:所有音效将被归类在“唱片机/音符盒”类别下,而不是“音乐”类别,因为没人能拒绝这种改动带来的独特体验。
RPG MUSICS PLUGIN (1.18.2 - 1.20.4)
A plugin to make your server immersive like an rpg (using music).
NOTE: You need to use musics from a custom resource-pack for that. Btw, you DONT NEED Optifine or any mods for that, just search how to add sounds to the game using resource-packs.
When the player enters a region with music (a region specified in regions.yml), music from that region will begin playing.
If the music in that region is already playing (in a loop) for the player, when entering that region, nothing happens.
If another song is playing (in a loop) for the player, that song will stop playing and its loop will also stop, and the new song will start playing (in a loop).
If the player leaves the region with music to a region without music, the music will not stop playing, but the loop will end as soon as the music is completed. In other words, the music will play until it ends, and after that it will no longer play for the player. However, if the player returns to a region with music, which has that song as its music, before the current song ends, the loop will not be stopped, and the music will continue playing in a loop for the player.
All that needs to be done is to specify the name of the region, the world name of the region, the name of the song (in texture), the tempo of the song (in ticks), the volume of the sound, and the pitch of the sound.
Plugin version: 1.18+. You can change it (through the source-code) to make it compatible with other older versions, if you want.
Obs: You need WorldGuard and WGRegionEvents (Updated // 1.13-1.20 version), in your plugins folder to use it.
Download WorldGuard from here: CLICK HERE
and WGRegionEvents (updated) from here: CLICK HERE
- Extra: All the sounds will be in the "Jukebox/Note Blocks" category instead of "Music" because there isn't a person who doesn't leave this mutated.
评论 0
登录后参与评分
还没有评论,来抢沙发吧