public void getValues()
	{
		//Cost for printing
		conf.printingCosts = new ArrayList<ItemStack>();
		List<String> items = c.getStringList("PrintingCosts");
		
		//Custom costs:
		if (items != null)
			for (String s : items)
				conf.printingCosts.add(Utility.getItem(s));
		//Default costs:
		else
			conf.printingCosts.add(new ItemStack(Material.INK_SACK, 1));
		
		//Cost for clearing
		conf.clearingCosts = new ArrayList<ItemStack>();
		items = c.getStringList("ClearingCosts");
		
		//Custom costs:
		if (items != null)
			for (String s : items)
				conf.clearingCosts.add(Utility.getItem(s));
		//Default costs:
		else
			conf.clearingCosts.add(new ItemStack(351, 3, (short)15));
		
		
		conf.HungerLost = c.getInt("Player.HungerLost");
		conf.MustBeAuthor= c.getBoolean("Player.MustBeAuthor");
		conf.PressEffect = c.getBoolean("Press.Effect");
		

		conf.DisableOnFactionLand = c.getBoolean("Protection.DisableOnFactionLand");
		conf.DisableOnWorldGuardLand = c.getBoolean("Protection.DisableOnWorldGuardLand");
		
		conf.Language = c.getString("Language");

		//Attempt to load the language and display a message if it failed.
		try
		{
			lang = Language.load(c.getString("Language"));
		}
		catch (FileNotFoundException e){this.getLogger().severe("Language file not found: languages/"+c.getString("Language")+".yml");e.printStackTrace(); }
		catch (IOException e){this.getLogger().severe("Could not read language file: languages/"+c.getString("Language")+".yml");e.printStackTrace(); }
		catch (InvalidConfigurationException e){this.getLogger().severe("Invalid language file: languages/"+c.getString("Language")+".yml");e.printStackTrace(); }
		catch (IllegalArgumentException e){this.getLogger().severe("Illegal values in language file: languages/"+c.getString("Language")+".yml");e.printStackTrace(); }
		catch (IllegalAccessException e){this.getLogger().severe("Can't access values in language file: languages/"+c.getString("Language")+".yml");e.printStackTrace(); }

		
		conf.PressBlock = Utility.getMat(c.getString("Press.Block"));
		conf.PressEffect = c.getBoolean("Press.Effect");

		conf.CanClearWrittenBooks = c.getBoolean("Press.ClearingOptions.CanClearWrittenBooks");
		conf.CanClearEnchantedBooks = c.getBoolean("Press.ClearingOptions.CanClearEnchantedBooks");

		Bukkit.getPluginManager().registerEvents(new EventListener(), this);
	}