Currently, you can register plugins, but they need to know themselves how to get their configuration or you need to provide it later. E.g.: TwitchPlugin knows how to get the settings from the UI and there is currently now way to launch another twitch configuration as that too will use the same settings.
I am thinking it would be more flexible to have a argument to register_plugin, which would be a Lua table with key/values that configures the plugin.
Currently, you can register plugins, but they need to know themselves how to get their configuration or you need to provide it later. E.g.: TwitchPlugin knows how to get the settings from the UI and there is currently now way to launch another twitch configuration as that too will use the same settings.
I am thinking it would be more flexible to have a argument to
register_plugin
, which would be a Lua table with key/values that configures the plugin.