Your Options Must Be Respected
No reviews yet
Allows default options to modpacks. A port of YOSBR that made by shedaniel.
Includes quality of life improvements and small tweaks to enhance and customize gameplay.
Neoforge is a fork of the Minecraft Forge available for versions 1.20.1+ of Minecraft. Many Forge mods are compatible with Neoforge and vice versa.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
Ensure that the default options and configurations provided by a modpack are correctly written before Minecraft reads them.
It scans the default files provided by the modpack early during game startup and copies them to the actual game directory or config directory. It is suitable for distributing default key bindings, graphics, audio, accessibility settings, and other configuration files that should only be written on first launch.
This mod is a port of Your Options Shall Be Respected that made by shedaniel. While retaining the core idea of default configuration synchronization, it adjusts for scenarios where options.txt is pre‑created by the launcher.
Motivation
The main reason for creating this mod is to accommodate launchers that pre‑create options.txt before the game fully launches (e.g., to set the language automatically). In such cases, many similar default‑sync mods detect that options.txt already exists and skip the sync, preventing the modpack author’s default options from taking effect.
To solve this, this mod introduces an options_applied.flag design: after applying the default options.txt for the first time, a marker file is written. This allows the mod to replace the launcher‑generated options.txt when the marker is absent, while preserving player‑modified settings on subsequent launches – avoiding repeated resets.
As far as I know, PCL and HMCL are compatible with YOSBR mods. When automatically setting the language, it can switch to the options.txt in our directory (although it might mess up the files, it won't affect the functionality). If users use such launchers, they don't need to install the Default Language (but installing it won't cause any conflict).
PCL only supports directories with the naming convention of config/yosbr, which is why I prefer to use yosbr as the directory name.
Use Cases
This mod is intended for modpack authors, for example:
- To ensure players get recommended graphics, audio, language, or key binding settings on first launch.
- To pre‑set certain client or server configurations without overwriting player changes on each update modpack.
- To solve the problem where a launcher pre‑creates
options.txt, preventing the modpack’s default options from applying.
Usage
Place default files into:
.minecraft/config/yosbr/
Files are synchronized according to the following rules:
.minecraft/config/yosbr/options.txt
=> .minecraft/options.txt
.minecraft/config/yosbr/config/example.toml
=> .minecraft/config/example.toml
.minecraft/config/yosbr/resourcepacks/example.zip
=> .minecraft/resourcepacks/example.zip
In other words:
- Files inside
config/yosbr/config/are copied to the actual.minecraft/config/ - Other paths under
config/yosbr/are copied to.minecraft/preserving the relative path.
Overwrite Rules
options.txt is handled specially:
- If the player does not have an
options.txt, the mod copies the default file. - If an
options.txtexists but nooptions_applied.flagexists, the mod assumes it may have been pre‑created by the launcher and replaces it with the default file once. - After a successful replacement or copy, the
options_applied.flagis written. - On subsequent launches, as long as the marker file exists, the player’s
options.txtwill not be overwritten.
Other regular files follow simpler rules:
- Copy if the destination file does not exist.
- If the destination file already exists, keep it (do not overwrite).
Advice for Modpack Authors
- Only put files that are truly needed as defaults into
config/yosbr/. - Test the first launch experience with a fresh instance before releasing.
- After modifying the default
options.txt, if your test instance already has anoptions_applied.flag, delete that marker file before testing the first‑time application process again.
Important Note
When providing a default
options.txt, make sure it contains the correctversionkey (i.e., the data version of your Minecraft target, e.g.,3955for 1.21.1). According to Minecraft's internal logic, ifoptions.txtis missing theversionfield, the game will discard the file on startup and regenerate default options, effectively ignoring the preset defaults you provided.
You can check the data version for each release on the Minecraft Wiki or copy the correctversionline from a client that has been launched at least once.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers