}
statementShortcuts.clear().load(config.getNode("statementShortcuts"));
//parser shortcuts
config.setHeader("itemShortcuts", "\nSeveral shortcuts you can use on signs to set the items");
ConfigurationNode itemshort = config.getNode("itemShortcuts");
parsers.clear();
// ================= Defaults ===============
if (!itemshort.contains("fuel")) {
itemshort.set("fuel", MaterialUtil.ISFUEL.toString());
}
if (!itemshort.contains("heatable")) {
itemshort.set("heatable", MaterialUtil.ISHEATABLE.toString());
}
if (!itemshort.contains("armor")) {
itemshort.set("armor", MaterialUtil.ISARMOR.toString());
}
if (!itemshort.contains("sword")) {
itemshort.set("sword", MaterialUtil.ISSWORD.toString());
}
if (!itemshort.contains("boots")) {
itemshort.set("boots", MaterialUtil.ISBOOTS.toString());
}
if (!itemshort.contains("leggings")) {
itemshort.set("leggins", MaterialUtil.ISLEGGINGS.toString());
}
if (!itemshort.contains("chestplate")) {
itemshort.set("chestplate", MaterialUtil.ISCHESTPLATE.toString());
}
if (!itemshort.contains("helmet")) {
itemshort.set("helmet", MaterialUtil.ISHELMET.toString());
}
// ===========================================
for (Map.Entry<String, String> entry : itemshort.getValues(String.class).entrySet()) {
putParsers(entry.getKey(), Util.getParsers(entry.getValue()));
itemshort.setRead(entry.getKey());
}
config.trim();
config.save();
}