Closed Scarlaid closed 1 year ago
I'm extremely busy with college, so this will take time to fix if I do it on my own. I'm aware some messages don't collapse, can't even find a way to reproduce that yet, so PRs (or at least methods to reproduce these) are welcome.
This messages are from a server plugin known as WorldGuard, purpose is like world protection but more independance and more stuff involves To reproduce, it's pretty simple:
//wand
and choose the corners (at least 3 blocks high)/rg define (name it whatever you want)
and it should show a magenta messageThe message will pop up like in the picture, spam it and you will get the resuilt like me
Nono, I'm aware that's WorldGuard, what I'm talking about is having steps to reproduce any message that fails to collapse normally. I am aware this happens with messages that are so long they line-break (as the client considers these separate messages, and multi-message spam filter isn't supported yet), and for whatever reason WorldGuard messages, even not being multi-line, never collapse - which I still don't understand why. The only thing I can think of right now is in case WorldGuard adds any metadata to each chat message, such as chat hover and/or click events, making them differ from each other, but other than that I really can't think of anything. I'll investigate this when I have time, or if you manage to find more info, please don't hesitate posting it here. Thanks.
So, I might have been able to find a fix for this, with a new multiline anti-spam feature. However, I don't know if it's just me, but it feels a little buggy on some sorts of chat messages. Let me know if it works fine for you.
https://github.com/tierrif/chat-utils/releases/tag/1.6.0-EXPERIMENTAL
Looks like it's working
For spamming though
Comparing is dumb, but I'm pretty sure blocking other types of messages is possible, as how Lunar Client handle them Chat Utils isn't though![image](https://user-images.githubusercontent.com/90851437/170810867-fc5d64d9-a1fa-407b-9b3d-d111eb7d478f.png)