Biome Ambience
是否曾想在《Minecraft》中聆听自然之声?现在通过本插件即可实现。它会根据你当前所在的生物群系播放自定义音效:平原上的蚱蜢或森林里的喜鹊。如果不喜欢声音包提供的音效,你也可以替换成自己的;例如,如果你希望在每个生物群系中播放自定义音乐,这也是可行的。只需确保文件名相同即可。
它还支持从告示牌播放声音。将文件放置在你存放其他所有声音的位置,然后在告示牌上输入以下内容:
[BiomeSound]
mysound.ogg
即可播放 my mysound.ogg。此处仅以 mysound.ogg 为例,你可以使用任何其他音效。每个告示牌都可以拥有独立的播放音效。它们甚至可以重叠,因此可以将多个告示牌放置在彼此附近,各自播放不同的声音。但请注意照顾他人的听觉体验。
1.4 版本新增的告示牌功能允许你将第三行设置为“wide”(宽)或一个数字,以设定声音的传播距离。“wide”会使声音从玩家位置发出,而输入数字则会使声音随距离告示牌越远而逐渐减弱。如果留空,将使用设置文件中的配置。
第四行可以设置声音的音量。如果留空,将使用设置文件中的音量节点配置。
请记住,半径设置会影响《Minecraft》检测告示牌的范围,因此如果你依赖单个告示牌,可能需要稍微提高该值。或者在你的建筑中使用更多告示牌。
基础声音包可在此处找到
计划中的功能
- 更多的告示牌设置。冷却时间和需要按下才能播放的告示牌。
- 告示牌的红石支持。
- 告示牌的计时器设置。希望告示牌在有人靠近 x 秒后才播放,而不是几乎立即播放。
- 面向最终用户的调试设置。
- mp3 支持。
- 我希望能对书籍和某种文本转语音功能做些什么。也许这作为独立插件会更好,但暂且保留在此。
权限
以下是来自 plugin.yml 的权限设置片段:
permissions:
biomeambience.play.*:
description: Makes everything that can play sounds do so.
biomeambience.play.vehicle:
description: Splashes from oars while in boats and a train like sound in mine carts
default: true
biomeambience.play.lava:
description: Melting rock do not make the sound of soft rock
default: true
biomeambience.play.sign:
description: Signs can now magically enter you mind and start sounds
default: true
biomeambience.play.biome:
description: The natural sounds of the wilderness
default: true
biomeambience.play.underground:
description: Ever wanted to hear the sounds of claustrophobia up close?
default: true
biomeambience.admin.placeSign:
description: Allows the user to put up noisy signs
default: op
biomeambience.admin.checkBiome:
description: If all the pines, ravens and generally felling of the environment doesn’t tell you that you're in a pine forest. This command will enables the usage of /biome
default: true
biomeambience.admin.checkBiomeOthers:
description: You “friends” left for “vacation” without telling you where? Fear not with this command you can stalk the environment of they favourite “vacation” place. Now you also know when they are hitting the beach. Enables /biome <player>
default: op
虽然看起来权限数量有点过多,但设计初衷是让你可以简单地通过设置 `biomeambince.play.*: true/false` 来启用或禁用整体功能,然后更自由地启用/禁用各个部分。例如,某人可能只想要地下环境和告示牌音效,或者想要全部启用但排除熔岩音效。这样你只需要两个节点即可实现这些配置。
本插件基于 laurinas 的旧插件 BiomeSound,而该插件又基于 robin0van0der0v 的 BiomeMassage。
其他页面
如何安装
Biome Ambience
Ever wanted to hear to sounds of nature in Minecraft. Now you can with this plug-in. Based on the biome you are standing in it will play a custom sound. Grasshoppers in the plains or magpies in the forest. If you don't like the sounds provided be the sound pack you can change them out to you own, if you for example want custom music in each biome that is also possible. Just make sure you have the same name on them.
It also have the ability to play sounds from signs. Put the files where you got all you other sounds and enter this on a sign
[BiomeSound]
mysound.ogg
to play my mysound.ogg. mysound.ogg is only given as an example you could have used any other sound effect. Every sign can have an own sound effect to play. They can even overlap so multiple signs can be put close together and each play different sounds. Just be considerate of others ears.
New with signs in 1.4 is that you can set the 3rd row to wide or a number to set how far it will be audible. Wide makes the sound come from the player's position and an number makes it fade farer away from the sign. It will use the setting from the settings file if left empty.
The 4th line can set the volume of the sound. If left empty it will use the volume node from the settings file.
Just remember that the radius settings affects how far Minecraft will check for signs, so if you relay one signs you might want to raise it a little. Or use more signs in you buildings.
A basic sound pack can be found here
Planned features
- More settings for signs. Cool downs and signs that you have to press in order for them to play.
- Redstone support for signs.
- Timer settings for signs. Want a sign to play when someone been close to it for x seconds rather than almost instantly.
- Debug setting for end users.
- mp3 support.
- I'm hopping that I can do something with the books and some kind of text-to-voice. Perhaps that will be better of as a own plug in but still.
Permissions
Here is the permission setup snippet from plugin.yml
permissions:
biomeambience.play.*:
description: Makes everything that can play sounds do so.
biomeambience.play.vehicle:
description: Splashes from oars while in boats and a train like sound in mine carts
default: true
biomeambience.play.lava:
description: Melting rock do not make the sound of soft rock
default: true
biomeambience.play.sign:
description: Signs can now magically enter you mind and start sounds
default: true
biomeambience.play.biome:
description: The natural sounds of the wilderness
default: true
biomeambience.play.underground:
description: Ever wanted to hear the sounds of claustrophobia up close?
default: true
biomeambience.admin.placeSign:
description: Allows the user to put up noisy signs
default: op
biomeambience.admin.checkBiome:
description: If all the pines, ravens and generally felling of the environment doesn’t tell you that you're in a pine forest. This command will enables the usage of /biome
default: true
biomeambience.admin.checkBiomeOthers:
description: You “friends” left for “vacation” without telling you where? Fear not with this command you can stalk the environment of they favourite “vacation” place. Now you also know when they are hitting the beach. Enables /biome <player>
default: op
While it seems a bit over kill with that many permission it was made with the idea that you simply can set biomeambince.play.*: true/false.
And then disable/enable the different parts more freely. For example someone maybe just want the underground and sign or everything enabled but the lava. Then you can make it that way with only two nodes.
This is based on laurinas old plugin BiomeSound that in turn is based on BiomeMassage of robin0van0der0v.
Other pages
How to install
评论 0
登录后参与评分
还没有评论,来抢沙发吧