private static void loadConfig(File file) {
		if (!file.getParentFile().exists()) {
			file.getParentFile().mkdirs();
		}
		try {
			if (!file.exists()) {
				file.createNewFile();
			}
			YamlConfiguration config = new YamlConfiguration();
			config.load(file);
			// ======================
			if (!config.contains("enabledInAllPlugins") || !config.isBoolean("enabledInAllPlugins")) {
				config.set("enabledInAllPlugins", false);
			}
			if (!config.contains("enabledPlugins") || !config.isList("enabledPlugins")) {
				config.set("enabledPlugins", Arrays.asList("SomePlugin1", "SomePlugin2", "SomePlugin3"));
			}
			noverEnabledAll = config.getBoolean("enabledInAllPlugins");
			if (!noverEnabledAll) {
				for (Object o : config.getList("enabledPlugins")) {
					noverEnabledPlugins.add(o.toString());
				}
			}
			// ======================
			config.save(file);
		} catch (Exception ex) {
			ex.printStackTrace();
		}
	}