Solved Sounds without Ressouce pack

Discussion in 'Plugin Development' started by Lord_grafnus, Jan 3, 2017.

Thread Status:
Not open for further replies.
  1. Offline

    Lord_grafnus

    Hey guys,
    I'm trieing to create an minigames plugin but I need some custom sounds. But I have no idea how to set up my own Ressource Pack or how to modify an already existing.
    I found an Plugin with is able to do exacly this. It's called CustomMusic. So please don't tell me it's not possible.

    I'm hopeful that you can help me.
    Lord_Grafnus
     
  2. Offline

    ipodtouch0218

    There's no way to add custom sounds without resource packs. The "CustomMusic" probably uses existing sounds to "create" new ones.
     
  3. Offline

    Zombie_Striker

    @ipodtouch0218
    @Lord_grafnus
    You can look at my Music plugin if you need an example of how to set-up resource packs. You can find a test resourcepack here:
    https://dev.bukkit.org/projects/music/files/946105

    All you need to do is add the sounds to the sounds file and edit the sounds.yml so that it contains the paths and names for all the sounds you want to add.
     
  4. Offline

    Lord_grafnus

    @ipodtouch0218
    No that is the point! It must be possible because you put music in an music file in the from the plugin generated plugin folder. And than you can play every musik you want. You just have to add it to the file.

    @Zombie_Striker
    Nice thank you. Maybe I will use it if nobody else have an Idea :/
     
  5. Offline

    Zombie_Striker

    Can you post a link to the plugin? Maybe I can figure out what they did to achieve that.
     
    ipodtouch0218 likes this.
  6. Offline

    ipodtouch0218

    @Lord_grafnus
    It probably uses note blocks to produce a song, not adding actual sounds. It's not possible server-side without a resource pack.

    If you want to go the NoteBlock route to get songs, first create a .nbs file using Minecraft NoteBlock Studio. Then, use NoteBlockAPI to play the songs when you need them to be played.
     
  7. Offline

    Lord_grafnus

  8. @Lord_grafnus Well that requires a client and things, a lot of work for sounds and music. You could always just have servers use a Discord server or something and use a music bot (Shameful plug) FlareBot is a good one
     
    ipodtouch0218 likes this.
  9. Offline

    Zombie_Striker

    @Lord_grafnus
    That is a web client. That requires the player to have a web browser open while playing minecraft. Although it can be done, you would have to build your own website and write all the HTML and JavaScript code needed to stream music (which will be a lot of work).

    @bwfcwalshy
    Unless you have a channel for each player, all the players on discord will have to hear the same thing all at the same time. This may be what he wants, but I am not sure (since the plugin he linked me to does have location-specific sounds).
     
  10. Offline

    dart2112

    the plugin MCJukebox has an API and you just give it URLs to mp3s and it can play them in a web browser. that way you don't have to deal with building your own website or any of that crap.
     
  11. Offline

    Lord_grafnus

    @all of you
    Thanks for the multiple replys. I think the best and easyest way for me is to create an Rexturepack so I will watch some yt to get it ;D
    Lord_Grafnus
     
  12. Offline

    Zombie_Striker

    @Lord_grafnus
    If your problem has been solved, mark this thread as solved.

    Also, @all does not work. You will have to include our names in order for us to be notified.
     
Thread Status:
Not open for further replies.

Share This Page