if (!pluginUrls.isEmpty()) {
pluginsClassloader = new URLClassLoader(pluginUrls.toArray(new URL[pluginUrls.size()]));
}
for (Plugin plugin : plugins) {
try {
YamlConfiguration pluginConfig = new YamlConfiguration(
plugin.toString(),
plugin.getServiceConfigsReader(),
pluginsClassloader);
compositeLoader.add(pluginConfig);
}