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)

0

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

0

请先登录再写评论。