Options Enforcer
by AstroTibs
Options Enforcer is a Forge mod that lets modpack makers keep chosen options.txt values in place across updates, without overwriting the player's other settings.
What it does
When a modpack ships an options.txt that includes only some values, the copy in place can overwrite the player's file and reset every setting left out of it to Minecraft's defaults. The mod changes this so that only the values the pack lists are written, and everything else keeps exactly what the player last set. A renderDistance entry in a pack, for example, updates that one value and leaves the rest untouched.
The mod can also enforce other top-level config files and copy files into subfolders, so a pack can ship the settings it depends on without replacing a player's whole configuration. The author built it for modpacks created with Technic, and the Galaxy Odyssey pack is named as a reason it was written. It is client-side only, so servers do not need it, and it is open source under the GNU Lesser General Public License v3.0 only, with the source code published.
Key features
Single-value overrides
Only the values a pack lists in options.txt are written, so player settings outside that list survive every update.
Other config files
Top-level configuration files and files placed in subfolders can be enforced in the same way as options.txt.
Modpack-first design
Pack makers bundle the enforced values with the pack, so updates no longer undo the choices a player made in the menus.
Gallery
Compatibility
Latest build for each game version and loader.
1.19.x1 of 1 version with builds
1.18.x1 of 1 version with builds
1.17.x1 of 1 version with builds
1.16.x1 of 1 version with builds
1.15.x1 of 1 version with builds
1.14.x1 of 1 version with builds
1.13.x1 of 1 version with builds
1.12.x1 of 1 version with builds
1.11.x1 of 1 version with builds
1.10.x1 of 1 version with builds
1.9.x1 of 1 version with builds
1.8.x1 of 1 version with builds
1.7.x1 of 1 version with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Updating a modpack
A pack update that ships a partial options.txt keeps each player's own graphics and control settings intact.
Pinning a few settings
A pack can require a render distance or similar value while leaving everything else a player chose unchanged.
Bundling companion mods
Pack makers can ship a config for mods such as OptiFine or First Person without the mods themselves, so the pack stays small.
Who it’s for: Modpack makers who want to lock a few settings in place, and players who keep a custom configuration across pack updates. Server owners have nothing to install, because the mod runs only on the client.
Questions
Does Options Enforcer have to be installed on the server?
Which Forge versions does Options Enforcer support?
Will it erase settings a player changed in game?
More from AstroTibs
What the author says
This is due to Minecraft's draconic and overbearing report system, which can be tricked and exploited, and can result in the user being unable to play on their own private servers. I am against this awful system on principle, and so long as I never run my game past 1.19, I will taint my account with the possibility.
Official listing
- Modrinth page
- modrinth.com/mod/options-enforcer
- Owner
- AstroTibs
- Published
- 2022-06-02
- Updated on Modrinth
- 2022-08-22
- Facts verified
- 2026-10-15
