Closed SocksTheWolf closed 2 months ago
Possibly, yea. I don't really use the mod myself so I don't know what users might prefer. Though obviously, at the very least the password should not be editable through the menu ;)
Does it support lists though, such as for the IgnoredAccounts option? I can't really find it.
could add a string field that is manually exploded and repacked that is space separated/csv!
I quickly cooked up this which I'll push in a pull request. You can change the values of the bots that you don't want and it properly restores back into an array. Obviously, if the array is just , then you'll have invalid garbage in the array config, but there's no negative issues there.
I added a password page which is hidden by default and also does not show up in the game (only main menu) where one can put in the OAuth token.
This works, but obviously you would need to restart for any connection changes. However this does make it like a billion times easier for general purpose audiences.
Could also add localization as well.
That looks amazing :) I'll test it myself in a bit and take a look at localization, at least that's something I have done before. Once more, thank you for your work!
Ah, damn, you're quick. Just noticed you already threw in localization as a bonus. Well, I guess I can handle German localization :')
The main major thing that could be done is to rework the initialization of TwitchBot to execute upon loading a save, rather than on initial entry into the application, allowing for the user to execute their config changes without a restart.
Maybe that's a task for a separate issue.
Sounds reasonable, yea. I'll close this for now.
I'll open a new issue for that.
New issue in #5
Would it be worthwhile to add in support for GMCM so that the mod can be configured via in game?
https://github.com/spacechase0/StardewValleyMods/tree/develop/GenericModConfigMenu#for-c-mod-authors