PrismarineJS / prismarine-web-client

Minecraft web client running in your browser
https://prismarinejs.github.io/prismarine-web-client/
MIT License
448 stars 147 forks source link

Add toxicity filter in client #151

Open rom1504 opened 3 years ago

rom1504 commented 3 years ago

https://github.com/louis030195/mineflayer-k8s/blob/81876f1eec3a0d04b89acef52f100f5a3266d9b7/plugins/chatToxicity.js#L10

u9g commented 3 years ago

I disagree with this, this should be done server side

rom1504 commented 3 years ago

It can be done server side yes. But what's the drawback to having it client side too ?

u9g commented 3 years ago

what is the point in censoring client, it feels unnecessary if people want to be toxic, let them, but on their own server, not on ours. Just put a toxicity filter on the server if you want one

AwesomestCode commented 3 years ago

Agreed with U9G. If we're going to add it, we should make sure it's optional. Java currently doesn't have this, and Bedrock having this has led to many community complaints. If we add it, every time a word is blocked we should make it clear, no "shadow banning," so the user can disable it if they wish.

host008 commented 2 years ago

You could have enabled/disabled buttons

soshimee commented 2 years ago

Also, custom chat formats will make this difficult.