public static List<Archive> getPlugins() {
		List<Archive> plugins = new ArrayList<Archive>();
		for (File file : DIRECTORIES[0].listFiles()) {
			String name = file.getName();
			if (name.endsWith(".class"))
				plugins.add(new ClassFile(file));
			else if (name.endsWith(".jar"))
				try {
					plugins.add(new JavaArchive(new JarFile(file)));
				} catch (IOException e) {
					e.printStackTrace();
				}
		}
		return plugins;
	}