private void generateMessages()
	{
		File messagesFile = new File(getDataFolder(), "messages.yml");

		if (!messagesFile.exists())
		{
			messages = (messages1 = new NewYAML(messagesFile)).newYaml();
			BufferedReader input = new BufferedReader(new InputStreamReader(getClassLoader().getResourceAsStream("messages.yml")));
			String line;
			try {
				while ((line = input.readLine()) != null)
				{
					System.out.println(line);
					System.out.println(line.split(": ").length);
					messages.set(line.split(": ")[0], line.split(": ")[1]);
				}
				messages.save(messages1.getFile());
				input.close();
			} catch (IOException e) {
				e.printStackTrace();
			}
		}else
			messages = (messages1 = new NewYAML(messagesFile)).newYaml1();
	}