🎧Music/SFX

You can add musics on you server with an edition gui /ba edit

To add music from autohost, put you audio files in plugins/BoostedAudio/webhost/audio And when you need to put audio link in plugin you can directly put as link: audio/audioFile.wav You can create many subfolders as you want in the audio dir to organize your audios

You can use radio audio stream as link it works great with both speaker and region

Region music system works with priority, so you can have one region in another region with audio, the biggest priority will override, if same priority the both region audio will be played

Parameters explaination:

links # The audio urls

synchronous # If the audio will be synced between player

fadeIn / fadeOut # The duration in ms of the fade effect

loop # If the audio play once, of it it's loop

maxVoiceDistance # The max distance a thing could be heard, used to calculate redDistance when not specified

distanceModel # The calculation model for the distance volume attenuation, linear, inverse, exponential

refDistance # This property defines the distance from which the sound begins to attenuate

rolloffFactor # This property controls how quickly the sound attenuates as distance increases

Last updated