ModsFinder

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.

ForgeClient-side onlyGNU Lesser General Public License v3.0 onlyOpen source1.7.10 – 1.19

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

  1. Single-value overrides

    Only the values a pack lists in options.txt are written, so player settings outside that list survive every update.

  2. Other config files

    Top-level configuration files and files placed in subfolders can be enforced in the same way as options.txt.

  3. 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.

Compatibility

Latest build for each game version and loader.

1.19.x1 of 1 version with builds
1.191.4-1.19
1.18.x1 of 1 version with builds
1.18.21.4.1-1.18.2
1.17.x1 of 1 version with builds
1.17.11.4.1-1.17.1
1.16.x1 of 1 version with builds
1.16.51.4.1-1.16.5
1.15.x1 of 1 version with builds
1.15.21.4.1-1.15.2
1.14.x1 of 1 version with builds
1.14.41.4.1-1.14.4
1.13.x1 of 1 version with builds
1.13.21.4.1-1.13.2
1.12.x1 of 1 version with builds
1.12.21.4.1-1.12.2
1.11.x1 of 1 version with builds
1.11.21.4-1.11.2
1.10.x1 of 1 version with builds
1.10.21.4-1.10.2
1.9.x1 of 1 version with builds
1.9.41.4-1.9.4
1.8.x1 of 1 version with builds
1.8.91.4-1.8.9
1.7.x1 of 1 version with builds
ReleaseBetaAlphaNot available

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?

No. Servers do not need it; each player installs it for their own game.

Which Forge versions does Options Enforcer support?

Forge builds are published for 1.7.10 – 1.19, across 13 release versions. The latest Forge file is 1.4-1.19 for 1.19, dated 2022-08-22.

Will it erase settings a player changed in game?

Not for values the pack leaves out. Only the options a pack lists are written, so a player's other settings keep the values they last set.

More from AstroTibs

All projects

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.
AstroTibs, on the Modrinth page

Official listing

Owner
AstroTibs
Published
2022-06-02
Updated on Modrinth
2022-08-22
Facts verified
2026-10-15