Closed enusbaum closed 3 years ago
The module is still loaded at runtime, but it's not Added to MbbsHost
An additional enhancement would be adding a Sysop Command which would enable/add a disabled module to MBBSEmu while running.
/SYS ENABLE <moduleName>
would set Enabled
to 1
for the module and load it into MbbsHost
/SYS DISABLE <moduleName>
would set Enabled
to 0
for the module and unload it from MbbsHost
This enhancement would add an
Enabled
flag to themodules.json
record for each module enumerated within the JSON file.Currently the only way an individual is able to remove a module from being loaded from MBBSEmu, they have to remove the entire entry from the
modules.json
file. This results in multiple different backups/copies in order to not lose configurations that have already been entered but not needed.A new
modules.json
file would look like this:In this example, MajorMUD and Galactic Empire are enabled while LORD is disabled.
Absence of the flag results in
Enabled
being defaulted to1
(on)