Mod Details

Json Data Modifier

Json Data Modifier 3.2.0

Created by  sgtlaggy

1.1K Downloads

SPT 3.11.4 Compatible

Edit SPT_Data files indirectly to keep track of changes and save them through updates.

Latest Version 3.2.0
SPT 3.11.4

Updated Feb 4, 7:52 PM

Version Notes

Add option to dump parts of configs/database at runtime for debugging this or other mods.

This download is externally hosted.
Always scan for viruses.

⚠️ Using this mod, like SVM and editing SPT_Data files directly, can have unexpected results, potentially broken profiles, and you are less likely to receive help through official support channels. ⚠️

This will let you edit config values without touching the server’s own configs.

In configs/configs.json (filenames don’t matter) the keys take the name of the json files in SPT_Data/Server/configs, so a key might be inraid or http. The values of those keys should be objects further mapping values in those configs to new values.

Example:

{
  "inventory": {
    "newItemsMarkedFound": true
  },
  "core": {
    "allowProfileWipe": false,
    "fixes": {
      "removeModItemsFromProfile": true
    }
  }
}

The same functionality applies to database modifications through the database folder.

Deleting Entries

Config and database entries can be deleted by setting its value to null. The following example will remove Jaeger’s dehydration quest and set the starting requirement of the next quest (Wounded Beast) to the previous (Thrifty).

{
  "templates" : {
    "quests": {
      "5d25bfd086f77442734d3007": null,
      "5d25c81b86f77443e625dd71": {
        "conditions": {
          "AvailableForStart": {
            "0": {
              "target": "5d25b6be86f77444001e1b89"
            }
          }
        }
      }
    }
  }
}

Debugging

NOTE: Debugging dumps are made immediately after all changes applied by this mod. Mod load order could affect how true dumps are relative to in-game observations. You will likely need to load this mod last by using a load order editor or renaming it with z at the front of the folder name.

Specific sections of the config or database can be dumped to inspect their values at runtime. Edit the debug.json file and add a dot-separated path to the data you want in the array. Each path should start with configs or database. For example, the following debug.json will dump the settings for the Christmas event and Prapor’s assort table.

[
  "configs.seasonalevents.events.1",
  "database.traders.54cb50c76803fa8b248b4571.assort"
]

This will create a dumps folder and a timestamped folder inside it. The timestamped folder will have a file for each path in the array.

Version 3.2.0
Download Mod Version
SPT 3.11.4
Latest Compatible SPT Version

665 Downloads

Created Feb 4, 7:52 PM

Updated Feb 4, 7:52 PM

Virus Total Results

Add option to dump parts of configs/database at runtime for debugging this or other mods.

Version 3.1.4
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

478 Downloads

Created Dec 7, 2024 at 10:31 PM

Updated Dec 7, 2024 at 10:31 PM

Virus Total Results
guidot

Gamechanger. Thank you!

0 Likes
ViP3R_76

Would it be possible to add support for other Mods to persist updates ?

0 Likes
sgtlaggy

If you mean mod-specific configs that would be overwritten when you update the mod, I don’t think that’s something a separate mod could solve.

0 Likes
kalibr83

Bro, all this json files easily opens with notepad++ They’re just text files with *.json extension.

0 Likes

You can make changes without touching the original files. That alone makes this mod plenty useful.

0 Likes
vismen

Можете сказать какие конфиги нужно править что бы был спавн ЧВК? У меня почему то на Резерве нет чвк совсем-чистая версия без модов то же самое….Может как то можно через конфиги отредактировать

0 Likes
Shynd

For users who want to change http.json->“ip” and “backendIp” to be a different value, like a VPN IP or “0.0.0.0”, but also want those changes to persist through SPT version updates:

Make a file in user/mods/JsonDataModifier/configs/ named ip_address.json

{ “http”: { “ip”: “0.0.0.0”, “port”: 6969, “backendIp”: “0.0.0.0”, “backendPort”: 6969 } } If you want to modify how long your arm stamina lasts while ADS:

Make a file in user/mods/JsonDataModifier/database/ named AimDrainRate.json

{ “config”: { “Stamina” : { “AimConsumptionByPose”: { “x”: 0.15, “y”: 0.75, “z”: 1 }, “AimDrainRate”: 1.1 } } (x is prone, y is crouched, z is standing. All values are default.)

1 Like

Details