Options Enforcer

Important Notice
The mod will not be updated beyond version 1.19. This is due to issues with Minecraft's reporting system that can block access to private servers. The author is fundamentally opposed to this system and does not plan to update the project.
Main Features
Configuration File Management

Options Enforcer allows modifying values in configuration files without completely replacing the files. This is especially useful for modpack creators who want to set specific settings without resetting user preferences.
Instead of including the full options.txt file in the pack, you simply add the required parameters to the optionsenforcer.cfg file. For example:
options.txt|renderDistance:10
Every time the game launches, the mod automatically sets the specified values while keeping all other user settings unchanged. There is also an option to set values only on first launch by adding |default to the parameter.
Additional Mods Preservation

The mod copying feature allows preserving additional mods between pack updates. Options Enforcer automatically copies .jar and .zip files from the mods-carryover folder to the main mods folder every time the game launches.
This is an ideal solution for users who want to add mods like OptiFine, WAILA, or other enhancements not included in the standard pack.
Technical Features
- Client-side only operation
- Supports various configuration files
- Automatic creation of necessary folders
- Compatible with different modpack platforms