MehVahdJukaar / Supplementaries

Other
147 stars 108 forks source link

Speaker block censoring #1105

Open mkern1200 opened 4 months ago

mkern1200 commented 4 months ago

Hello! We use this mod on my server, and it adds a lot of great features, the speaker block being one of those. However, knowing how easily things can get out-of-control on a public server, we also use a mod to prevent messages with certain words from being put into chats. As far as I can tell, speaker blocks don't seem to have any such restriction, and completely bypass our censoring mod. It would be nice if you could add a configurable list or file where server owners could enter words to be censored from a speaker's messages.

Thank you for your work on this mod!

MehVahdJukaar commented 4 months ago

Hm i thought I made it go through the same verification that signs go through on 1.20.1. does that not work?

mkern1200 commented 4 months ago

I'm sorry, I don't understand what that question means

MehVahdJukaar commented 4 months ago

Minecraft has its own censoring systems. Signs and chat use it. Tbh I don't know much about what it does I just know how it looks in code and it's something server driven that censored some stuff . Was a recent addition of one of latest updates

mkern1200 commented 4 months ago

Oh, I don't know anything about that. I had to install a separate mod called Chat Control to censored out explicit/graphic messages from my server's chat. I've never seen anything about vanilla having a system for that.

MehVahdJukaar commented 4 months ago

So speaker blocks do use text filtering just like signs and chat does. This is a setting that can be disable in the client and whose behaviour is controlled by the server. It's mainly used in vanilla but a censoring mod should override it's server behaviour expanding it, assuring compatibility with this system instead of adding a competitor system that would need handmade compost by mods. In other words it's not my issue here