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 SystemDefault DirectoryConfiguration File
WindowsC:\MyBMConfig.cfg
macOS/Users/Shared/MyBMConfig.cfg
Linux/MyBMConfig.cfg
Illustration on Windows. macOS and Linux share the same directory structure.
Custom Software Development
Zalo
0379711459
Installation Support
Zalo
0963202427
Tutorial
Zalo
0708571361
Feedback & Bug Reports
Zalo
0789783596
Payment Support
Zalo
0789783596
Zalo
0379711459