public void init() {
		File[] informationFiles = PLUGIN_INFORMATION_DIRECTORY.listFiles();
		for(File f : informationFiles) {
			if(f.getName().toLowerCase().endsWith(".xml")) {
				PluginStub stub = createStub(f);
				LOADED_PLUGINS.put(f.getName().toLowerCase().replaceAll(".xml", ""), stub);
				boolean isCommand = stub.getPlugin() instanceof CommandPlugin;
				String type = "standard plugin";
				if(isCommand) {
					CommandFactory.getSingleton().register((CommandPlugin)stub.getPlugin());
					type = "command";
				}
				ServerWindow.getSingleton().printCommandText("Registered new plugin; "+stub.getName()+". The plugin is a "+type+".");
				//logger.info("Registered new plugin; "+stub.getName()+". The plugin is a "+type+".");
			}
		}
	}