resources/config.yml
resources/lang/ru-RU.yml
InputStream in = getClass()
.getClassLoader()
.getResourceAsStream(resourcePath);
String resourcePath = "config.yml" //Для config.yml
String resourcePath = "lang/ru-RU.yml" //Для lang