PluginBugs / Issues-ItemsAdder

Repository used to keep track of issues of my plugin ItemsAdder
https://itemsadder.devs.beer
49 stars 21 forks source link

How to make ItemsAdder text effects work in ChatControl Red #3586

Closed HielkeMaps closed 2 months ago

HielkeMaps commented 2 months ago

Terms

Discord tag (optional)

No response

Describe the solution you'd like

Normally the ItemsAdder text effects don't work with ChatControl Red. But if you add this to your rules folder of ChatControl Red, they will work. (I put this in global.rs)

match <r\s([^>]+)>
require perm ia.user.text_effect.use.r
strip colors false
then replace #FFFFFE$1&r

match <w\s([^>]+)>
require perm ia.user.text_effect.use.w
strip colors false
then replace #FFFFFD$1&r

match <j\s([^>]+)>
require perm ia.user.text_effect.use.j
strip colors false
then replace #FFFFFB$1&r

match <rw\s([^>]+)>
require perm ia.user.text_effect.use.rw
strip colors false
then replace #FFFFFC$1&r

match <rj\s([^>]+)>
require perm ia.user.text_effect.use.rj
strip colors false
then replace #FFFEFE$1&r

Hope this helps others 😄 Maybe this can get added under compatibility in the wiki?

Is your feature request related to a problem?

ItemsAdder Text Effects normally don't work with ChatControl Red.

Describe alternatives you've considered

.

Additional context

No response

github-actions[bot] commented 2 months ago

Hello, your report will be looked into as soon as possible. Please do not bump this thread and don't post it on multiple platforms.

Thanks a lot for your patience.

LoneDev6 commented 2 months ago

thanks so much, added to the wiki in the chatcontrol page