Configuration Manager
Configuration Manager
Before the client downloads the mod, they have the option to pre-configure the mod - Developers can create a form to be filled out by the user that will later fill in the addon's config on download via string replacement.
Default values should be supported, in case the customer wants to configure some fields, but not others.
After filling out the config, customer should be able to click download and receive a full addon file with their config choices already prefilled. Optionally, if the client just wants to download the config file without the full addon, he should be able to - in this case, download server returns only the files that have been modified by the script replacement - Saving a bit of bandwidth. (Could be tricky with multiple file string replacements)
Developers create config forms by defining key rows and giving them unique id's, types of values (string? combo box? boolean?) on the website directly. If they give the field ID, for example, healing1 then string replacement format in the file could be {{option:healing1}}
Benefits:
- Less possible errors made by clients hand-editing the config values due to all the input being verified on the website.
- Customer Friendly