Hey, I truly am thankful for your help, but sadly it isn't working for me, just a reminder, I'm running 1.8.9 so I don't know if things are different or if you are also testing in that version.
This is what I have now,
@EventHandler
public static void preInit(FMLPreInitializationEvent event) {
File configFile = new File(Loader.instance().getConfigDir(), "keymod.cfg");
Configuration config = new Configuration(configFile);
config.load();
Property isOn = config.get("test", "test value", 100);
int update = isOn.getInt();
if (config.hasChanged()) {
config.save();
proxy.registerKeyBindings();
}
}
I had to make an assumption that the update variable was an int.
Sadly, once again when loading the game, under mod options, the config button is grayed out.