Hey all,
I’ve been trying to access a file in my plugin.jar which acts as a static .conf template.
These are the things I’ve tried:
-this.getClass().getClassLoader().getResource(“String”);
where string has been:
-“geoworld.conf”
-"/geoworld.conf"
-"…/geoworld.conf"
-"…/…/geoworld.conf"
This is my file structure:
[spoilers]https://scontent.fsnc1-1.fna.fbcdn.net/hphotos-xtp1/v/t34.0-12/12584174_10208445013784064_1325376911_n.jpg?oh=3453497b64fee8df2896895b4a532a99&oe=56AA9AB0
[spoilers]https://scontent.fsnc1-1.fna.fbcdn.net/hphotos-xpt1/v/l/t34.0-12/12648045_10208445013624060_995863142_n.jpg?oh=794ee9dd536946a928f33a5aecf302c0&oe=56AA4811
and this is the current code:
[spoilers/]https://github.com/El-minadero/GeoWorld/blob/master/GeoCraft/src/main/java/com/geoworld/MainDefaults.java#L82