Any way to add custom sounds?

Discussion in 'Spigot Plugin Development' started by UnlimitedNinjas, Jul 20, 2018.

  1. If i wanted to add custom sounds to a plugin, not replace but add new sounds in my plugin. im assuming this is very hard?
    How do i add those sounds, also is there any plugin that allows me this
     
  2. When you mean custom sound files, then no. because the sounds are client-side
     
  3. MiniDigger

    Supporter

    you can create a resource pack and add sounds to that. then set it as server resource pack to users will auto download it. then you can play those sounds via /playsound (I think) or via a plugin.
     
  4. Yes, when you use a own resource pack, and you add your own sounds then you can play it via /playsound
     
  5. Is there a way to check for player kills? eather with scoreboard or something else?
     
  6. You can make a own resource pack with custom sounds. :D
     
  7. I once made a plugin for that. The name was Mixer, but my computer broke and I lost the source code.
     
  8. MiniDigger

    Supporter

    That's why you always upload your code to GitHub ;)