Extended Config MyBM
Change data storage location
If you do not want to use the default directory, add a new path to the end of the MyBM run command.
java -jar mybm.jar <file_config>
Configuration file content:
{
"privatePort": 1989, // Internal portal port
"publicPort": 2002, // Public port
"pathData": "C:\\MyBM/Data", // Chat data storage location
"pathDatabase": "C:\\MyBM/Database", // Database storage location
"pathWebsite": "C:\\MyBM/Website", // Public website interface storage location
"OwnerPassword": "owner", // Initial Owner account password
"maxHttpBody": 20971520, // File upload limit in bytes (20971520 = 20MB)
...
}When running the app MyBM.jar without config path <file_config> then MyBM will use the default path:
| Operating System | Default Directory | Configuration File |
|---|---|---|
| Windows | C:\MyBM | Config.cfg |
| macOS | /Users/Shared/MyBM | Config.cfg |
| Linux | /MyBM | Config.cfg |
Illustration on Windows. macOS and Linux share the same directory structure.