public PlayerClass(String configPath) {
		effects = new ArrayList<PotionEffect>();
		items = new ArrayList<ItemStack>();
		armor = new ArrayList<ItemStack>();
		if (config.contains(configPath + ".Items")) {
			List<Integer> itemIds = config.getIntegerList(configPath + ".Items");
			for (int id : itemIds) items.add(new ItemStack(id));
		}
		if (config.contains(configPath + ".Armor")) {
			List<Integer> armorIds = config.getIntegerList(configPath + ".Armor");
			for (int id : armorIds) armor.add(new ItemStack(id));
		}
		if (config.contains(configPath + ".DefaultEquiped")) 
			defaultEquiped = new ItemStack(config.getInt(configPath + ".DefaultEquiped"));
		if (config.contains(configPath + ".Effects")) {
			List<String> effectList = config.getStringList(configPath + ".Effects");
			for (String effectOptions : effectList) {
				String[] options = effectOptions.split(":");
				PotionEffectType effectType = PotionEffectType.getByName(options[0].toUpperCase());
				PotionEffect potionEffect;
				if (options.length == 2) {
					try {
						potionEffect = new PotionEffect(effectType, 2147483647, Integer.valueOf(options[1]));
					}catch(NumberFormatException e) {
						potionEffect = new PotionEffect(effectType, 2147483647, 1);
					}
				}else potionEffect = new PotionEffect(effectType, 2147483647, 1);
				effects.add(potionEffect);
			}
		}
	}