public ymlLoader(Plugin p, String f) {
		ymlFile = new File(p.getDataFolder(), f);
		if (!ymlFile.exists()) {
			ymlFile.getParentFile().mkdirs();
			copy(p.getResource(f), ymlFile);
		}
		yml = new YamlConfiguration();
		try {
			yml.load(ymlFile);
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		} catch (InvalidConfigurationException e) {
			e.printStackTrace();
		}
		try {
			yml.save(ymlFile);
		} catch (IOException e) {
			e.printStackTrace();
		}
	}