-
Notifications
You must be signed in to change notification settings - Fork 0
Options | keepFiles
Vu Dang Khoa Chiem edited this page Aug 3, 2020
·
16 revisions
Each time you run the
config-controller
orconfig-controller.exe
file to generate/regenerate the configuration for your server, all the files/folders in yourservers
folder (not the one in theconfig
folder) except the server jars will be deleted. This property is to specify all the other files that need to be kept. Note that files that are in the configuration will still override the files listed inkeepFiles
that are in<serverNetworkFolder>/servers/<serverID>
.
- Go to the
config.json
file of your server/template (if you have not setup any server or any template, see Configure a Server or Configure a Template) - Add the
keepFiles
field - You can now list the paths of the files you want keep for that server/template only in an array format
It should look something like this:
{
...
"keepFiles": ["relative/path/to/file"]
}
Confused? See Example Server or FAQ
Something is still not clear? Create an issue!
MIT © Samuel-Martineau & Doudou8
- Arguments & Flags
- Configure a Template
- Liquid templating engine in configuration
- Options (Not optional)
- Schemas