Play audio with commands
ShiftySpace opened this issue ยท 1 comments
I'm a server admin that is looking for a mod to incorporate boss music into my fabric server.
This mod is amazing and really well done, love how it integrates with simple voice chat.
It would be really nice to be able to play music without the need of a jukebox and instead play music through commands.
My main use of this would be when the boss fight is starting it plays the boss music from the center of the area.
I can try to work around this by attempting to hide a jukebox someone and figure out how to use command blocks to trigger play it,
However it would be very nice to have a command such as:
/audioplayer play (UUID) @a 100 63 -192
Similar to how the /playsound command works in minecraft.
Let me know if there is a way to already do this, how possible something like this is, or any other workarounds that may be possible.
This is amazing! really helps a lot. :) One last thing, can there also be a /audio player stop command? Possibly specifying the sound name to make sure it doesn't stop other playing sound.
Ex:
/audioplayer play 7d47849b-f3bd-4f26-8132-f6adccdb6433 200 87 -863 100
/audioplayer stop 7d47849b-f3bd-4f26-8132-f6adccdb6433
or
/audioplayer stop 7d47849b-f3bd-4f26-8132-f6adccdb6433 200 87 -863