I use GriefPrevention for my land claiming system, and was recently wanting to add custom music to some of the regions. Basic Idea: When players enter a defined region, a midi file will play on their enter, and will stop on their exit (it doesn't necessarily have to play minecraft note block sounds). File support: Midi Thanks for your time Bukkit Community!
The Gaming Grunts It is: http://dev.bukkit.org/bukkit-plugins/midiradio/ http://dev.bukkit.org/bukkit-plugins/bamradio/ https://forums.bukkit.org/threads/lib-play-midi-files-with-your-plugin.149011/
The Gaming Grunts here is video of my unfinished plugin MusicBox: So it's possible. But I stopped developing because every note is sending in real-time. Music playback quality is very dependent on the quality of the network transmission channel. If someone has a traffic problem music will be laggy: freezes, delays and acceleration. And now it possible with any MIDI-play plugin (I remember two or three) and any scripting/event plugin (I can suggest ReActions )
With VariableTriggers, you can simply just use Area Triggers + Sound script command When making a plugin, he will have to wait a while because developers always like to say "Ill pick this up in a week if no one takes it". A VariableTriggers can be made in 5 minutes
I've searched through a few midi plugins. My favorite (in terms of midi playback) has to be BAM radio. Does anyone know of a plugin or code to play an external midi file to a player? (I plan to use this in scripting things such as minigames, if that helps any)
If you want a plugin that has a library for midi playback, craftbook has the Jinglenote API built into it, which is what powers craftbooks midi parsing IC's. It is usable by plugins.
@ Me4502 I've been using the IC's as of late, but I love the feature that BAM Radio offers, which is playing the actual midi file itself. If there's no alternative when it comes to playing the raw file, then the IC's will be sufficient.
I feel this has strayed from the topic he wants a addon to grief prevention not all these other things
15987632 No, he doesn't. He wants a plugin that plays MIDI files in certain regions. Did you even read the title?
timtower I've look at that, but it seems that it uses one note block melody line to play the midi. Want I want is to play the actual midi itself. I may have missed something in that forum thread, and if I have, I'll definitely see what I can do to use it! I'll look through it again to see what I can find! At this point, either a region midi file playback or a midi playback on command would do just fine!
timtower Use custom sounds concerning what, though, because BAM Radio played the midi files using some form of a custom library to play the file, as well as playing the note-bock rendition along with it..