Translations:How to JSON/14/en
From DragonMineZ Wiki
- The old file is moved to
config/dragonminez/oldBackup/<same relative path>(for exampleoldBackup/races/saiyan/forms/superforms.json). - A fresh file is generated from the new defaults.
- Your old values are merged back in with a three-way merge against the defaults of the previous release, which ship inside the mod jar (
data/dragonminez/previousConfigs/):- a value you never changed (it still equals the previous release's default) takes the new default, so balance changes reach you;
- a value you changed is kept;
- keys added in the new version are added with their default, and entries you added to maps (for example extra entity ids) are kept;
- if there is no previous-release copy of a file (custom races, newly added files), every value that differs from the new default is kept.
- The log shows
Regenerating <file>. Reason: Outdated version (...)and how many of your values were preserved.