public HashMap<Integer, Integer> getItems() {
		List<?> items = config.getList("items");
		HashMap<Integer, Integer> map = null;

		if(items != null) {
			
			map = new HashMap<Integer, Integer>();
			
			//Loop for all items from config
			for(Object o : items) {

				int itemId = -1;
				int damageInt = -1;

				String input = String.valueOf(o);
				
				int dashIndex = input.indexOf("-");
				
				try {
					if(dashIndex == -1) {
						itemId = Integer.parseInt(input);
						
						Material m = Material.getMaterial(itemId);
						
						if(m != null) {
							damageInt = m.getMaxDurability();
						} else {
							log.info("Invalid config value " + input + ". Make sure it is in the format <item id>-<item damage>");
							continue;
						}
							
						
					} else {
						String itemStr = input.substring(0, dashIndex);
						String damageStr = input.substring(dashIndex + 1, input.length());
						
						itemId = Integer.parseInt(itemStr);
						damageInt = Integer.parseInt(damageStr);
					}
				} catch(NumberFormatException e) {
					log.info("Invalid config value " + input + ". Make sure it is in the format <item id>-<item damage>");
					continue;
				}
				
				if(damageInt <= -1 || itemId <= 0) {
					log.info("Invalid config value " + input + ". Make sure it is in the format <item id>-<item damage>");
					continue;
				} else {
					map.put(itemId, damageInt);
				}

			}
			
		}
		
		return map;
		
	}