public void loadConfig() {
	    int stringNumber = cfg.refresh();
	    out("Translating "+stringNumber+" strings");
        verbose = cfg.get().getBoolean("verbose", false);
	    triggerString = cfg.get().getString("triggerString","[Repair]");
        verbose("Trigger string: " + triggerString);
        checkRepairPermission = cfg().get().getBoolean("checkRepairPermission",false);
        verbose("Check permission before repair: " + checkRepairPermission);

		currency = cfg.get().getInt("currency",266);
		currencyMaterial = Material.getMaterial(currency);
		if (currencyMaterial == null){
			error("You have selected an invalid currency (" + currency + "), falling back to GOLD_INGOT!");
			currency = 266;
			currencyMaterial = Material.GOLD_INGOT;
			currencyString = "Gold ingot";
		}
		else if (currencyMaterial.isEdible()){
			error("You've selected an edible currency.  Due to a bug, this won't work.  Falling back to GOLD_INGOT");
			currency = 266;
			currencyMaterial = Material.GOLD_INGOT;
			currencyString = "Gold ingot";
		}
		else {
			currencyString = cfg.get().getString("currencyString");
		}
        verbose("Currency: " + currencyMaterial.toString());

		baseCost = cfg.get().getDouble("baseCost",0.01);
        verbose("Base cost: " + baseCost);

        currencyName = cfg.get().getString("currencyName","g");
        verbose("Currency name: " + currencyName);

		partialRepair = cfg.get().getBoolean("partialRepair", false);
        verbose("Allow partial repair: " + partialRepair);

		distributePartialRepair = cfg.get().getBoolean("distributePartialRepair", true);
        verbose("Distribute partial repair: " + distributePartialRepair);

        repairables.clear();
        List<Integer> rawRepairable = cfg.get().getIntegerList("repairables");
        if (rawRepairable.size() == 0){
            error("The list of repairables was empty, going with the default set.");
            rawRepairable = Arrays.asList(defaultRepairables);
        }
        for (Integer id : rawRepairable){
            Material mat = Material.getMaterial(id);
            if (mat != null){
                repairables.add(mat);
                verbose("Added " + mat.toString().toLowerCase() + " to the repairable items list");
            }
            else {
                 error("Unknown repairable material ID: " + id);
            }
        }
    }