HomeJavaModsOptions Rewriter
Options Rewriter
ModsJava

Options Rewriter

by Sjym · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.11 · NeoForge⬇ Download for 1.21.1 · NeoForge⬇ Download for 1.20.1–1.20.6 · Forge⬇ Download for 1.19.2–1.19.4 · Forge⬇ Download for 1.18.2 · Forge
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Options Rewriter

Options Rewriter is a lightweight client-side utility mod designed for Minecraft modpacks.

When importing a modpack, Minecraft or third-party launchers may sometimes reset the options.txt file, causing carefully configured keybindings and client settings from the modpack creator to be lost.

This mod allows modpack creators to include a prepared options.txt template and automatically rewrite it back into the instance on the first launch, restoring the intended keybindings and client settings.

The rewrite process only happens once and creates a flag file after completion, preventing the player's later customizations from being overwritten. A configuration screen is also provided for saving templates and manually triggering the rewrite process.

Features

Use Cases

Feedback & Support

Found a bug or have a suggestion? Please report it here:

https://github.com/s-j-y-m/Options_Rewriter/issues

You are free to include this mod in your modpack, provided that you comply with the Minecraft EULA and this mod's MIT License.


简体中文

Options Rewriter 是一个面向 Minecraft 整合包的小型客户端工具 Mod。

在导入整合包时,Minecraft 或部分启动器可能会因为初始化流程等原因重置 options.txt 文件,导致整合包作者预先配置好的键位和客户端设置丢失。

本 Mod 允许整合包作者提供准备好的 options.txt 模板,并在玩家首次启动时自动将其重新覆写回实例目录,恢复作者设计好的键位绑定和客户端设置。

覆写操作只会执行一次,并在完成后生成标记文件,避免之后重复修改玩家自己的设置。同时提供配置界面,方便保存模板以及手动重新执行覆写。

功能

适用场景

反馈与支持

发现问题或有功能建议? 欢迎提交反馈:

https://github.com/s-j-y-m/Options_Rewriter/issues

你可以在遵守 Minecraft EULA 以及本模组 MIT License 的前提下,将本模组自由加入你的整合包中。

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more