Config Type: Disable (old, 1.7.0 only) - TerraFirmaCraft-The-Final-Frontier/FileDirector GitHub Wiki
Disabling and deleting files
With this config type, you can disable or delete mods or files.
First of all, your config file needs to end with .disable.json
.
Then, the format needs to be the following:
{
"folder": "mods",
"fileName": "old_mod.jar"
}
The file gets disabled by adding .disabled-by-mod-director
to the file name.
If you want to delete a file completely for reasons of cleanliness, you can add the key delete
:
{
"folder": "mods",
"fileName": "old_mod.jar",
"delete": true
}
This config type can also be used in config bundles:
{
"disable":
[
{
"folder": "config",
"fileName": "old_config.cfg",
"delete": true
},
{
"folder": "scripts",
"fileName": "old_script.zs"
}
]
}
This feature is supported in version 1.7.0