Translations:How to JSON/14/en

From DragonMineZ Wiki
Revision as of 05:21, 13 October 2026 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  1. The old file is moved to config/dragonminez/oldBackup/<same relative path> (for example oldBackup/races/saiyan/forms/superforms.json).
  2. A fresh file is generated from the new defaults.
  3. 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.
  4. The log shows Regenerating <file>. Reason: Outdated version (...) and how many of your values were preserved.