Stats

936 views 3 downloadsJun 20, 2023 Jun 20, 2023

Not rated yet


Creators and Publishers

BlayTheNinth

Creator

modristore

Publisher

Additional Links

You may find some useful information by following these links

https://www.curseforge.com/minecraft/mc-mods/default-options


Share this post



Default Options Mod

Default Options is a mod for modpack makers which allows them to set default options without needing an options.txt file bundled (which means updates would override user changes if the options.txt is overwritten).

In vanilla, most options, like the key binds, are stored in a file called options.txt. Mudpack makers often change this file to make mod packs in a specific way that meets their vision. However, players may not like these changes and may want to change them. Changing the options would change the options.txt file. However, in a normal scenario, if the mudpack maker were to update the pack, the options.txt would be overwritten on the update erasing the player’s changes. Default Options changes this.

Instead of an options.txt file being bundled, a folder called defaultoptions exists in the config folder, which contains the default options which exist when 1st starting a pack. The defaults can be set with the /defaultoptions command (or /defaultoptions saveAll). This still saves the info from options.txt and also from servers.dat and more. Be sure you do NOT include these files in the game, as Default Options creates them if they do not exist and only if they do not exist. If they do exist, Default Options will do nothing, and you would be defeating the whole point of the mod.

Note: If you have FoamFix Anarchy Edition disable the config setting B:initOptions, or else you will have issues with Default Options.

Requires Balm