#Extract resources from unknown directory structure

1 messages · Page 1 of 1 (latest)

viral ibex
#

I dont know if you have found a solution already, but I had a similar problem for one of my Projects and found one, but it only works with Gradle as the build system

faint basin
#

I’ve done it using the JarFile class

viral ibex
#

Yeah, I have written a small gradle Task that adds a simple text file with every resource which then can be read

#

And then new BufferedReader(new InputStreamReader(plugin.getResource("a"), StandardCharsets.UTF_8)).lines() to get every file