Biome Ambience
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.
I've added permissions now but I have still to test them properly. My reasoning how they are made are that they is a biomeambience.play by not enableing it nothing will play for those with it.
biomeambience.play got a couple of childs for example biomeambience.play.singplay will control if the player will hear the stuff that signs play. That means you can disable all other sounds other than them that comes from signs by setting.
biomeambience.play: false
biomeambience.play.sign: true
At least that is the plan, as said before I still have to test everything and all. I just wonder if it are some permissions that you would want to see in the next update. Or perhaps you despise the permissions stuff and want a no permission mode added before I release?
@TerraNetworkOrg Yeah that is a debug thing, must have forgotten it on. It is just a system.out.println() that runs every time that the plugin runs a new check of a player.
@Muu36
Infinite (in theory). You are able to define the biomes yourself in the main config. I suggest you try the plugin yourself if you got too much time on your hands some day, we'll see if BiomeAmbience could made compatible to it then :-)
@Muu36
Great!
One question ... is there some kind of debug function you're using?
I'm getting this message in my console: "Updated for [playername]" since today.
And BiomeAmbience is the only plugin i updated today, beside my own plugins, but they don't have such a message.
I'm getting this when a player moves ... every 4-5 Blocks
@TerraNetworkOrg
Yeah, I will add that to the list of planned features, the next thing I were planning to do were the ability to disable specific biomes for the whole server. But permission based control over that would work to.
@Muu36
Do you think you can implement permissions? Most players like the ambient sounds, but some of them don't. It would be great if i could use permissione to activate these sounds for player A and deactivate it for player B.
Or could the players who don't like it overwrite the sound-files with empty ones?
@ShyOblivion
Well that error massage prevents the player from starting so it might not be an issue with you host. updateSound is the part that checks and plays sounds and updates when players move.
Hosting locally is not possible last time I checked, you're not the first one that wanted that feature but it's outside of bukkit/spout right now.
Still I don't know why it happens for you. I should get an new update out soon, can you check if the problem still happens then.
@Burckhart
I haven't used that mod ever so I don't know right now. Are you able to create an infinite amount of custom biomes or are it just a couple premade extras? Like the old biomes that got removed in 1.8?
If it's just a few premade/old biomes I should be able to do that if not it might be really hard to do it. But it will more likely take awhile before I start at that.
Is it possible to have this plugin look for the sound files locally? It appears that the server I'm hosting this on won't allow for internet access to specific files. I tried changing the config to point to a specific directory within my \plugins folder, but it didn't seem to work.
I am also getting this error without much of a clue as to why:
Hey, I'm glad you are taking care of this plugin, I was hoping to see it updated :-)
Unfortunately I use custom biomes generated by TerrainControl, do you think you could make your Plugin compatible to it some day?
@Muu36
When is the update with the biome fix coming? :-)
@Muu36 You should really post this on GetSpout!
@Muu36
Ok great. The problem with the temp directory was because i used the stable 1597 with a dev-build of the client.
This is known by the devs.
Everything works great if you use stable releases with both Spouts
Thx for your update ! I love this plugin and my players too :)
Sorry for my very bad english XD
@TerraNetworkOrg
I don't think the temp is deleted every time the Spoutcraft is exited. Unless that was changed recently. The pause before you hear the first sound is because I have a couple of pauses in the code so that it can't updated to often. With was an issue in the original build.
Also which dev build are we talking about, everyone or just a few that you tested with? Build numbers would help to.
Anyway I will add those missing biomes right away.
Also if a link doesn't point to anything or silence.wav no sound will play. So you can turn them off now but I probably never mentioned that.
@Muu36
There are some things that needs to be fixed
- Ice Plains aren't covered with this music pack
- River Biomes aren't covered
- customize: let players config which biome should have which sound
- this plugin uses the temp cache, what means the files are deleted when exiting the SpoutClient (omg the traffic!) So i have to download the files new with every new session?! It's an issue of Spout when using a dev client to a stable server-build!
Great sounds! I like the Nether o.o
@predawnia
English is not my first language but hopefully I was able to explain how to install it here. You don't need the sound pack it's perfectly possible to only use sound that you supply yourself. It's provided however so that server owners don't have to look up 15-16 sound effects before they can use it. But right now you will have to find you own sounds for mushroom island and the end as I haven't updated the sound pack yet.
Hmm.. how do I install this? Do I need to download the sound pack too?