Coming soon or you can submit one.
Default Key Configuration!
Stop plaguing your players with config resets due to modpack updates!
Setting up Default Keys
Configure the keys how you’d like them to be in the default configuration
Run the “/defaultoptions saveKeys” command: the file defaultkeys.txt will be saved in the config folder
Make sure to ship the defaultkeys.txt and NOT the options.txt in your modpack. Victory!
Check the Controls GUI to see that the default settings have updated. Players will now start with these keys by default.
Setting up Default Options
Configure the options (e.g. FOV, video and audio settings) how you’d like them to be in the default configuration
Run the “/defaultoptions saveOptions” command: the file defaultoptions.txt will be saved in the config folder
Make sure to ship the defaultoptions.txt and NOT the options.txt in your modpack. Woohoo!
Fresh installations of your pack (=> no existing options.txt) will now get the default options you specified.
Setting up Local Configs
Some mods add options that might frequently be changed on the client side, such as configurable GUI positions or special render effects.
This is the solution to those, that doesn’t require the mod developer to store those values in a separate file.
Head into your config directory and open up the localconfig.txt file (run the game with this mod at least once for it to be generated)
Define config options that should be treated as local options and be restored to what they were before modpack updates
Either create the config/modpack-update file by hand or run the “/defaultoptions createUpdateFile” command ingame
Make sure to ALWAYS ship the modpack-update and localconfig.txt file inside the config directory, but do NOT ship the localconfig.cfg file inside the Minecraft directory. Success!
When starting the pack after an update (=> the modpack-update file will exist), the client will restore the specified values from a backup file before the update.
- CurseForge: http://minecraft.curseforge.com/mc-mods/232131-default-options
- Development Versions: http://jenkins.blay09.net/
- Source: https://github.com/blay09/DefaultKeyConfig
- Forum: http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2461104-default-keyconfig-stop-shipping-options-txt-in
- Twitter: https://twitter.com/BlayTheNinth