User Tools

Site Tools


mbbsemu:configuration:appsettings.json

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
mbbsemu:configuration:appsettings.json [2020/11/16 17:47] – [Configuration Values] tudaymbbsemu:configuration:appsettings.json [2023/12/09 19:18] enusbaum
Line 7: Line 7:
  
 **`BBS.Title`** : `string` : Correlates to `MAJORBBS->bbsttl`. Some Modules make use of this configuration value to display the name of the Bulletin Board system to the users. **`BBS.Title`** : `string` : Correlates to `MAJORBBS->bbsttl`. Some Modules make use of this configuration value to display the name of the Bulletin Board system to the users.
 +
 +**`Timer.Hertz`**: `int` : Controls speed of main BBS program loop execution. 0 = full speed/100% processor. Value of 18 minimum is recommended -- depending on your hardware ymmv, 144 works well on modern processors while keeping CPU <5%. 
  
 **`BBS.Channels`** : `int` : Set the maximum number of channels (users) that can use the system simultaneously  **`BBS.Channels`** : `int` : Set the maximum number of channels (users) that can use the system simultaneously 
Line 21: Line 23:
  
 **`Telnet.Enabled`** : `bool` : Specifies if the Telnet Server is enabled **`Telnet.Enabled`** : `bool` : Specifies if the Telnet Server is enabled
 +
 +**`Telnet.IP`** : `string` : Specifies which IP the Telnet Server should bind to (Optional, defaults to all)
  
 **`Telnet.Port`** : `int` : Specifies which port the Telnet Server should bind to **`Telnet.Port`** : `int` : Specifies which port the Telnet Server should bind to
Line 27: Line 31:
  
 **`Rlogin.Enabled`** : `bool` : Specifies if the Rlogin Server is enabled **`Rlogin.Enabled`** : `bool` : Specifies if the Rlogin Server is enabled
 +
 +**`Rlogin.IP`** : `string` : Specifies which IP the Rlogin Server should bind to (Optional, defaults to all)
  
 **`Rlogin.Port`** : `int` : Specifies which port the Rlogin Server should bind to **`Rlogin.Port`** : `int` : Specifies which port the Rlogin Server should bind to
 +
 +**`Rlogin.Compatibility`** : `string` : `Default` is the same as not being configured, `WG3NT` enables a fix to prevent extra characters from showing up on initial connections from a WG3 server
  
 **`Rlogin.RemoteIP`** : `string` : Specifies the Remote IP of the instance to be permitted to connect via Rlogin to MBBSEmu **`Rlogin.RemoteIP`** : `string` : Specifies the Remote IP of the instance to be permitted to connect via Rlogin to MBBSEmu
Line 39: Line 47:
  
 **`Account.DefaultKeys`** : `list` : List of keys (used for access to modules/features) assigned to every new account created (Examples: 'DEMO' and 'NORMAL') -- Some modules require "USER" or "PAYING" by default, check the .msg file with each module to edit/change configuration of needed keys. **`Account.DefaultKeys`** : `list` : List of keys (used for access to modules/features) assigned to every new account created (Examples: 'DEMO' and 'NORMAL') -- Some modules require "USER" or "PAYING" by default, check the .msg file with each module to edit/change configuration of needed keys.
 +
 +Any changes to `DefaultKeys` only take effect to accounts created _after_ they're changed. To add keys to existing accounts, please use the `/SYS` command.
 +
 +**`Console.LogLevel`** : `string` : Minimum console logging level (Debug, Info, Warn, Error, Fatal)
 +
 +**`File.LogName`** : `string` : Filename for log file
 +
 +**`File.LogLevel`** : `string` : Minimum file logging level (Debug, Info, Warn, Error, Fatal)
  
 **`ANSI.Login`** : `string` : Filename for a custom Login ANSI file (Displayed before sign in) **`ANSI.Login`** : `string` : Filename for a custom Login ANSI file (Displayed before sign in)
Line 48: Line 64:
 **`ANSI.Menu`** : `string` : Filename for a custom Main Menu ANSI file (Replaces default menu) **`ANSI.Menu`** : `string` : Filename for a custom Main Menu ANSI file (Replaces default menu)
  
-## Example File+**`Btrieve.CacheSize`**: `int` : How many items per btrieve database to cache at a time. A higher number uses more memory but can cache more data. Sqlite is very fast so having a small cache value shouldn't be detrimental to performance.
  
-```json+## Example File 
 +</markdown> 
 +<file javascript appsettings.json>
 { {
   "BBS.Title": "Example BBS",   "BBS.Title": "Example BBS",
 +  "Timer.Hertz": "0",
   "BBS.Channels": "4",   "BBS.Channels": "4",
   "GSBL.BTURNO": "12345678",   "GSBL.BTURNO": "12345678",
Line 65: Line 84:
   "Rlogin.PortPerModule": "True",   "Rlogin.PortPerModule": "True",
   "Database.File": "mbbsemu.db",   "Database.File": "mbbsemu.db",
 +  "Console.LogLevel": "Info",
   "ANSI.Login" : "login.ans",   "ANSI.Login" : "login.ans",
   "Account.DefaultKeys": [   "Account.DefaultKeys": [
      "DEMO",      "DEMO",
-     "NORMAL"+     "NORMAL", 
 +     "USER"
    ]    ]
 } }
-``` +</file> 
-</markdow +
-n>+
mbbsemu/configuration/appsettings.json.txt · Last modified: 2023/12/09 19:56 by enusbaum