This was created by another person on the minecraft forums. I recently stumbled upon it and thought i'd share it because this could be very useful for server owners who are trying to create servers with custom music and cinematics. It allows you to interrupt a music track and stop it completely and this would allow you to play a new track afterwards without having two separate tracks playing over each other. Now please be aware that this was released back in 2015, so it could be outdated but I would assume it still works or if not it could be updated for the latest version of Minecraft.
EDIT: It works for sounds, not just music as music is still a sound but it's longer, so any plugin or method that is used to play a sound or music could be used with this tool to interrupt it.
Original video: https://www.youtube.com/watch?v=Nt2PB0k_W8o
Original download: https://www.mediafire.com/?rt65y2xuq8lut57
I only found this because I needed the method myself, as i need music to play and stop at command for dungeon music and events and cinematics.
A good plugin to use with this would be Music - https://www.spigotmc.org/resources/music.30348/ as it allows you to play custom music from resource packs, and if your using Force ResourcePacks - https://www.spigotmc.org/resources/force-resourcepacks.10499/ this process would be easier because all players would have to download the pack on login and therefore the music would be accessible. I'm doing the same thing, as I'm forcing texture fixes to shields and other things so this would also come very handy to server owners trying to create the same thing. (Force ResourcePacks is also available from blackspigot.com)
EDIT: It works for sounds, not just music as music is still a sound but it's longer, so any plugin or method that is used to play a sound or music could be used with this tool to interrupt it.
Original video: https://www.youtube.com/watch?v=Nt2PB0k_W8o
Original download: https://www.mediafire.com/?rt65y2xuq8lut57
I only found this because I needed the method myself, as i need music to play and stop at command for dungeon music and events and cinematics.
A good plugin to use with this would be Music - https://www.spigotmc.org/resources/music.30348/ as it allows you to play custom music from resource packs, and if your using Force ResourcePacks - https://www.spigotmc.org/resources/force-resourcepacks.10499/ this process would be easier because all players would have to download the pack on login and therefore the music would be accessible. I'm doing the same thing, as I'm forcing texture fixes to shields and other things so this would also come very handy to server owners trying to create the same thing. (Force ResourcePacks is also available from blackspigot.com)