I’m looking for help with making a custom server resourcepack for adding music files that will be playable to individual players using the playsound command. I’ve looked at 4 different resourcepack tutorials and the Sponge Docs (looking to automate the process of the music being played by implementing the GriefPrevention API to have the plugin listen for the player entering a claim and then playing the sound that would go with the area that they just entered type of thing) as well as Google, but I can not - for the life of me - get the stupid custom sound to play when trying to trigger it manually. And, obviously, if I can’t even trigger it manually, no way I’d be able to trigger it automatically.
So, if anyone has any experience with an issue like this, I would greatly appreciate some advice on what I’m doing wrong.
The server is running Pixelmon as its only mod installed (that would be adding texture/sound files anyway), so I’m not sure if that is making a difference or not, but I’m adding in the custom music files to the resourcepack, in the assets>minecraft>sounds>music folder, and the file type is a .ogg.
I’m using the /playsound command to try to trigger it manually, using “/playsound music.SOUND_NAME master @a” but nothing plays. The .ogg file is only about 1:15 long, so the delay between the command being executed and the music starting to play shouldn’t be that long, but I’ve waited a good 10 minutes for it to start playing and never heard it.
The .json is located in the assets>minecraft folder, the same location as where my sounds folder is. And, it is formatted in the same way that was shown to me in all the resourcepack tutorials I have watched.
After all this, my sound still isn’t playing and I’m getting frustrated at my own confusion. So, again, any help would be greatly appreciated. Thanks in advance!