How do I store some audio files in the plugin?

Answered

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
Comment actions Permalink

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

0

Please sign in to leave a comment.