List all paths that will be searched by default for config files.
If the SCREEPS_CONFIG environment variable is defined, this path
defined there will always be searched first.
Search for config files and load the first one found.
If LoadConfigOptions.file is defined and non-empty, that path will always be checked first. Otherwise, defaultPaths will be checked in order until.
the name of the server to use from the credential file
Optionalopts: LoadConfigOptionsa valid ScreepsHttpConfig if one was found
Error if a file exists but the contents are invalid/malformed
Optionalopts: LoadConfigOptionsOptionalclientOpts: string | Partial<ScreepsAppConfig>
Provides features to find and load save configuration files.
This class supports the SS3 Unified Credentials File format as well as the screeps.json format used by many Screeps code upload tools.