Hello again Bukkit Community! I've made a post concerning this genre of plugin before, but I realize now how extremely unclear I was about what I wanted. That being said, my desire for this plugin has changed, which I will explain: Note: Please be aware that I've tried plugins like CommandBook to fulfill my desires, but they don't meet my expectations. Basic idea of the plugin: Pull a midi file from the plugin folder (preferably held in a "midi" folder inside of the plugin folder). Commands: "/midi play name" - play a specified midi file to the command sender. "/midi play name username" - play a specified midi file to the specified player. "/midi stop" - stop the midi -if it's possible, it'd be awesome if there'd be a way to control the volume of the midi, although I don't think that's possible. In case there is, the commands could look something like this:- "/midi play name volume" "/midi play name username volume" Note: for the correct syntax of the commands, players/console would need to substitute "name" with the name of the midi file, "username" with a player's username, and "volume" with an integer. Points of Reference: BAMRadio (look at attached video for a comparison between CommandBook and BAMRadio) File Support: Midi Thanks for your time everyone! You all rock! Reference Video:
I think that it's imposible. For make that, you must to send/stream the midi for all players, and make this with Java cause too overhead.
BAMRadio plays the song to the whole server, not an individual player. I never thought of that! I will definitely look into that, thanks! ^_^ T3h Cr33p3r I've successfully done most of what I want to have happen with the custom sounds, but I've run into a problem. Ideally, I want to play sounds that are more than a minute long (for minigames and things), is there a way to play those sounds without crashing my game? I read something about streams, but came up with nothing on how or why to use them :\ @T3h Cr33p3r Nevermind, I resolved it. My issue was that the file was ridiculously long, and cause the client to freeze upon the loading of said sound. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Pl3xPager plays midi files. I also have a "test" plugin called "Pl3xMidiPlayer" on my jenkins that plays midi files. Neither of these do exactly what you want, but are perfect examples to show how possible this is to do. Check out this, which might be what youre looking for: http://dev.bukkit.org/bukkit-plugins/noteblockplayer/
I can try getting CraftBooks midi library pulled into Commandbook, it's a greatly improved version of commandbooks which sounds similar to BAMRadio's AFAIK.
The midi library used in CommandBook isn't nearly as powerful as CraftBook's BillyGalbreath I'll definitely look into that! Me4502 That'd be awesome if you could! Craftbook's midi library is amazing compared to CommandBook's
I've just submitted a request with all the changes done. Wizjany said he will check it and merge it tomorrow morning his time. No idea when that is, but it hopefully will be in a CommandBook dev build within 24 hours.