Region Midi File Playback

Discussion in 'Archived: Plugin Requests' started by DJ_SLIM3, Nov 28, 2013.

  1. Offline

    DJ_SLIM3

    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! :)
     
  2. The closest you can do is use VariableTriggers and a Resource Pack
     
  3. Offline

    AndyMcB1

    Or a plugin and a resource pack.
     
  4. Offline

    Me4502

    CraftBooks midi IC's support worldguard regions.
     
  5. Online

    timtower Administrator Administrator Moderator

    Midi files will send notes to the players, this is a possible request
     
  6. Online

    timtower Administrator Administrator Moderator

  7. timtower
    Ah, well I guess you learn something new everyday :p
     
    timtower likes this.
  8. Offline

    fromgate

    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 :))
     
  9. 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
     
    fromgate likes this.
  10. Offline

    DJ_SLIM3

    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)
     
  11. Offline

    Me4502

    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.
     
    bobacadodl likes this.
  12. Offline

    DJ_SLIM3

    @ 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.
     
  13. Offline

    15987632

    I feel this has strayed from the topic he wants a addon to grief prevention not all these other things
     
  14. Offline

    mattrick

    15987632
    No, he doesn't. He wants a plugin that plays MIDI files in certain regions. Did you even read the title?
     
  15. Online

    timtower Administrator Administrator Moderator

    That should help :p
     
  16. Offline

    15987632

    I did but I must have read it fast I'm stupid :p
     
  17. Offline

    DJ_SLIM3

    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! :p

    At this point, either a region midi file playback or a midi playback on command would do just fine! :p
     
  18. Online

    timtower Administrator Administrator Moderator

    Thing is: we can't use custom sounds, so you need to use the ones provided
     
  19. Offline

    DJ_SLIM3

    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..
     
  20. Offline

    mattrick

    DJ_SLIM3
    I'll check it out, see what it does....
     
  21. Offline

    DJ_SLIM3

    aight.
     

Share This Page