How do I store some audio files in the plugin?


I want to pre-store some audio files to my plugin and then play them under certain conditions, but I don't know how to do it to load the audio files into the plugin (file path)

1 comment

You can bundle these files in some JAR file and access them using regular Class.getResource()


Please sign in to leave a comment.