public Reward getReward(String type, Integer id) {
		
		String path = "types." + type + ".rewards." + id + ".";
		
		String message = plugin.configData.config.getString(path + "message");
		Double money = plugin.configData.config.getDouble(path + "money");
		List<String> action = null;
		
		if(plugin.configData.config.isSet(path + "action")) {
			if(plugin.configData.config.isList(path + "action")) {
				action = plugin.configData.config.getStringList(path + "action");
			}
			else {
				String a = plugin.configData.config.getString(path + "action");
				action = Arrays.asList(a);
			}
		}
		
		Reward reward = new Reward(message, money, action);
		return reward;
		
	}