InputStream is = this.getClass().getClassLoader().getResourceAsStream("plugins.properties");
Properties plugins = new Properties();
plugins.load(is);
for (String pluginName : plugins.stringPropertyNames()) {
Class pluginClass = Class.forName(pluginName);
JdrPlugin plugin = (JdrPlugin) pluginClass.newInstance();
commands.addAll(plugin.getCommands());
versionWriter.println(plugin.getPluginId());
}
versionWriter.close();
this.env.getZip().add(new ByteArrayInputStream(versionStream.toByteArray()), "version.txt");
} catch (Exception e) {