This document explains what the possibilities, options and restrictions of configuring syncmatica are.
syncmatica is configured by a config.json which can be found in config/syncmatica/config.json. The json inside
configures several settings on the Server/Client which are grouped together into categories. Here is an example of the
current (As of this files last update time current) config.json:
{
"quota": {
"enabled": false,
"limit": 40000000
},
"debug": {
"doPackageLogging": false
}
}{
"debug": {
"doPackageLogging": false
}
}If the file is missing or otherwise cannot be read, the file might completely reset itself during startup. If parts of the configuration are damaged/unreadable, the file will try to reset the portions during startup. Extra entries are ignored.
The key "quota" configures the quota feature of the server.
enableddefines whether the quota feature is enabled on the server. The feature blocks uploads from clients if the client exceeds a limit for file uploads. How much the client already uploaded resets itself when the server shuts down. Can betrueorfalselimitdefines the limit that a client is able to upload in bytes.
The key "debug" configures the debug feature of the mod.
doPackageLoggingconfigures whether the client/server should add a debug log for all outgoing and incoming packets. The type of the packet and the target of the packet gets logged for outgoing packets - for incoming only the type of the packet gets logged.