-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugins' config file formats #14
Comments
most of them. Some plugins have tricky conf (adv, censor) that can hardly be made in .ini Sorry I have missed this issue before submitting pull request #16. Do you think those changes are enough to address the user confusion issue?
I see one drawback with this solution: we already have published links such as http://config.bigbrotherbot.net/form.php?parser=cod4 or http://config.bigbrotherbot.net/form.php?parser=bf4 on different websites and readme files. Those are (unofficial) entry points for the config generator and we'd better make sure those links will remain working as expected by the users who will follow them in the future. |
The main problem here is that, if you look at the built-in plugins section here for instance, you'll see that all config files are .xml. Those should be .ini for B3 1.10. or at least the ones that will be served as ini. |
A workaround could be to have another data folder for v1.9.x. What do you think? |
I already have those things corrected in my branch here: danielepantaleone@7fd22d6 I didn't know if to send a pull request already since I haven't been following this project that much and I didn't test the changes I made |
Regarding removing the inputs; I think this maybe a problem if you're running multiple B3 instances sharing the same core. You would want to customize config files per instance. |
Maybe that's a bit of a edge case? I guess users who have a multi server setup have enough confidence to edit the produced files by hand. |
@fenixxx what's your view on all this? |
I think it would be better not to provide plugin configuration file paths. I recently changed the algorithm which loads plugins in the B3 parser. Now plugins can be used without specifying a configuration file: if such plugin doesn't require a configuration file then none is used; if however a configuration file is required to start the plugin then B3 will search the configuration file in the plugin directory (here: https://github.com/danielepantaleone/big-brother-bot/blob/new-configuration/b3/parser.py#L759) I said plugin directory because now plugins are made of directories (here more info: BigBrotherBot/big-brother-bot#247), so the search path will be for plugins and extplugins respectively:
This has been made so that it's easier for end users to install a plugin: just drop the folder in extplugins and place the plugin name in the plugins section of b3.ini (config file will be looked up automatically) |
Nice addition 👍
Can you send a pull request with those changes? |
check #18. I think there are a couple of templates missing and extplugins configuration files needs to be double checked (I actually would remove extplugins from the config generator and provide support just for built in plugins and XLRstats) |
There is a problem when providing an optional xml+ini solution using the same form. I guess B3 v1.10 will have all config files in .ini format while v1.9.x have them as .xml. I also think displaying 2 buttons for different output formats may be confusing for users.
How about forcing users to choose the B3 version on the screen where they choose the game? And based on the selection redirect to a specific version of the config generator?
The text was updated successfully, but these errors were encountered: