For modpack makers
Set Sorted's defaults and lock settings for everyone who plays your pack.
From Sorted 0.1.44, ship config/sorted.pack.json with your pack. Sorted reads it next to the player's own config/sorted.json and never writes to it, so a pack update never undoes what a player changed.
config/sorted.pack.jsonJSON{
"defaults": { "mergeStacks": false, "glanceChests": false },
"locked": { "autoOpenNearbyContainers": false },
"reason": "Kept off in this pack"
}Defaults #
- A default applies to every setting the player has not changed. What they changed stays theirs.
- Change a default in a pack update, and it reaches every player who never touched that setting.
- Reset in the settings goes back to your default, not Sorted's.
- The keys are the ones in
config/sorted.json. Start the game once and copy them from there. - Sorted notes which defaults it applied in
config/sorted.pack-applied.json. That file is the player's: leave it out of your pack.
Locked settings #
A locked setting always has your value. In the settings it is greyed out with "Set by the modpack", and your reason when you give one.
BuildPrint reads the same kind of file, config/buildprint/config.pack.json, and can also turn features off. See BuildPrint for modpack makers.
Next, you may want to
Something missing or wrong on this page? Say so on Discord.