pblop / twitch-chat

Minecraft-Twitch bridge for Fabric!
MIT License
22 stars 14 forks source link

Option to force pseudo color to a single color #69

Open Vassiliaky opened 1 month ago

Vassiliaky commented 1 month ago

Add a toggle option to disable the use of the twitch pseudo color et use a single color for all pseudo. This new option is mainly for the fact that some pseudo color can be hard to read in the minecraft chat. Two new config option, the toggle and the color choice (in Hexa), with their corresponding entry in the config file. Same as most of the other mods options, they can be changed using ModMenu or directly in the config file. Added condition on the new boolean to bypass the color choosing part of the code.

All language files exept French and English have been filled using GitHub Copilot, so the 4 new entries may be a little weird in some language. Tiny modification of the python script who generate en-ud.json (wrong file path)

I've been using this modification for personnal use since a few versions, and as more and more people have asked me for the .jar, here's the pull request to include this option directly in the original mod.

pblop commented 1 month ago

Thanks a lot for the pull request! It looks good (mostly), I'll change a few names here and there, and merge it! It may take me a week (or two), as I'm a bit busy at the moment.