Posted July 17, 201411 yr hi this is a bit of a noob question to some of you guys, but its I would say its also a bit in the advanced side of modding. how would I make it so when you change a config option (in the new config guis,) it would pop up a message or something saying "the change CONFIG_CHANGE requires a MC restart" or something like that
July 17, 201411 yr in the configuration gui class where you have: super(screen, new ConfigElement(ConfigurationHandler.configuration.getCategory("(category)")).getChildElements(), Reference.MODID, false, false, GuiConfig.getAbridgedConfigPath(ConfigurationHandler.configuration.toString())); change the second false to true super(screen, new ConfigElement(ConfigurationHandler.configuration.getCategory("(category)")).getChildElements(), Reference.MODID, false, true, GuiConfig.getAbridgedConfigPath(ConfigurationHandler.configuration.toString()));
July 17, 201411 yr Author Solution: in the configuration gui class where you have: super(screen, new ConfigElement(ConfigurationHandler.configuration.getCategory("(category)")).getChildElements(), Reference.MODID, false, false, GuiConfig.getAbridgedConfigPath(ConfigurationHandler.configuration.toString())); change the second false to true super(screen, new ConfigElement(ConfigurationHandler.configuration.getCategory("(category)")).getChildElements(), Reference.MODID, false, true, GuiConfig.getAbridgedConfigPath(ConfigurationHandler.configuration.toString()));
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.