User Tools

Site Tools


mbbsemu:configuration:command_line_options

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
mbbsemu:configuration:command_line_options [2020/11/14 16:44] – created enusbaummbbsemu:configuration:command_line_options [2024/01/08 19:41] (current) drutro
Line 1: Line 1:
-<markdown> +====== Command Line Arguments ======
-Command Line Options+
  
-Below are the available command line options in MBBSEmu and their definitions.+Below are the available command line options supported by the latest Release of MBBSEmu:
  
-**`-?`** : Help Screen+**''-?''** : Help Screen
  
-**`-C <modulesConfig>`** : modules.json file used to load multiple modules at runtime (More Info: [here](https://github.com/enusbaum/MBBSEmu/wiki/modules.json-Configuration-File))+**''-C <modulesConfig>''** : modules.json file used to load multiple modules at runtime (More Info: [[mbbsemu:configuration:appsettings.json|appsettings.json]])
  
-_**Note**: Specifying `-Cwill result in `-Mand `-Pbeing ignored._+__**Note**__: Specifying ''-C'' will result in ''-M'' and ''-P'' being ignored.
  
-**`-M <moduleIdentifier>`** : Module Identifier (Overrides -C)+**''-M <moduleIdentifier>''** : Module Identifier (Overrides ''-C'')
  
-**`-P <modulePath>`** : Path To Module (Overrides -C)+**''-P <modulePath>''** : Path To Module (Overrides ''-C'')
  
-**`-K <menukey>`** : Menu Option Key (A-Z, Overrides -C)+**''-K <menukey>''** : Menu Option Key (A-Z, Overrides ''-C'')
  
-**`-CONSOLE`** : Play locally on the console without having to Telnet! If you have it configured, MBBSEmu will still start the `Telnet` and `Rlogin` services in the background when you use the `-CONSOLE` option allowing your friends to join in as wellWhen you "Log Off", MBBSEmu will exit.+**''-S <appSettings>''** : Override default "appsettings.jsonfile name / location
  
-**`-APIREPORT`** : Generates a JSON report file (`moduleIdentifier_api.json`) of the Imported Methods enumerated in the DLL's Imported Name Table. This helps identify APIs that MBBSEmu might be missing in libraries such as MAJORBBSGSBL, PHAPI, etc.+**''-CONSOLE''** : Play locally on the console without having to Telnet! If you have it configured, MBBSEmu will still start the `Telnetand `Rlogin` services in the background when you use the `-CONSOLE` option allowing your friends to join in as well. When you "Log Off"MBBSEmu will exit.
  
-**`-DBRESET <password>`** : Resets the MBBSEmu SQLite database to fresh state (only sysop, guest userand sets the sysop password to the specified passwordIf a password is not specifiedthe user will be prompted to enter a new one before MBBSEmu starts.+**''-APIREPORT''** : Generates JSON report file (`moduleIdentifier_api.json`of the Imported Methods enumerated in the DLL's Imported Name TableThis helps identify APIs that MBBSEmu might be missing in libraries such as MAJORBBSGSBL, PHAPI, etc.
  
-## Example Command Lines+**''-DBRESET <password>''** : Resets the MBBSEmu SQLite database to a fresh state (only sysop, guest user) and sets the sysop password to the specified password. If a password is not specified, the user will be prompted to enter a new one before MBBSEmu starts.
  
-`./MBBSEmu -M TSGARN -P c:\bbsv6\ -dbreset secret`+**''-DBREBUILD <database>''** In the off chance you accidentally delete an MBBSEmu SQLite Database or it becomes corrupt, you can rebuild certain database files that are generated on first run. The currently only supported database for this command is ''BBSUSR''
  
-`./MBBSEmu -C myModules.json+**''-PWRESET <password>''** : Resets the Sysop password within MBBSEmu without resetting the underlying system databases. 
-</markdown>+ 
 +**''-CLI''** : Puts MBBSEmu into "CLI" mode, bypassing the GUI and outputting all log information to the console window. This option is for folks who want to run MBBSEmu as a system service on Linux/macOS, or those who just don't like GUI's :-P 
 + 
 +**''-V''** : Displays the MBBSEmu Version Information 
 + 
 +====== Example Command Lines ====== 
 + 
 +''./MBBSEmu -M TSGARN -P c:\bbsv6\ -dbreset secret'' 
 + 
 +''./MBBSEmu -C myModules.json''
mbbsemu/configuration/command_line_options.1605372247.txt · Last modified: 2023/10/06 23:40 (external edit)