
Edit SPT_Data files indirectly to keep track of changes and save them through updates.
⚠️ 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.
665 Downloads
Add option to dump parts of configs/database at runtime for debugging this or other mods.
Details
-
GUID
com.sgtlaggy.jsondatamodifier
-
Category
-
License
-
Source Code
-
Latest Version VirusTotal Result
https://www.virustotal.com/gui/file/afc24645f8db45c325bcb72ecd0a3650159256833965947d9887a5ba3631f3c9
Gamechanger. Thank you!
Would it be possible to add support for other Mods to persist updates ?
Bro, all this json files easily opens with notepad++ They’re just text files with *.json extension.
Можете сказать какие конфиги нужно править что бы был спавн ЧВК? У меня почему то на Резерве нет чвк совсем-чистая версия без модов то же самое….Может как то можно через конфиги отредактировать
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.)