0x4e49434f4c45 / amcdb

Another Minecraft-Discord Bridge
https://modrinth.com/mod/amcdb
MIT License
4 stars 0 forks source link

Chat Exclusions #43

Open varinyc opened 7 months ago

varinyc commented 7 months ago

A way to exclude certain messages originating from Minecraft forwarding to bridge, such as servers with multiple chat channels, or excluding teleport links or other forms of metadata sometimes used in MC chat that isn't intended to be read.

Maybe config by Regex, just as a thought.

varinyc commented 7 months ago

I like the efficiency of your mod, and was hoping to use it with a Global/Local mod that let bridge only broadcast Global chat.

IDK how it does each chat, but I assume Regex for [global] in string would work. And also fix Xaeros map pings from appearing.

0x4e49434f4c45 commented 7 months ago

Can you link this global/local chat mod? I agree a regex is probably the way to go (perhaps separately configurable for player vs server messages?) but I want to make sure I fully understand this use case.

varinyc commented 6 months ago

Sorry for the delay:

https://github.com/stanlystark/SimpleChat

Global is normal text, everyone can see.

Local is defined by an area/dimension, similar to proximity voice/audio. Also includes team chats (FTB Teams) or other channels that organize communication that would no longer be considered "public".

If I were to use it like this, I would be able to omit local chat entirely from the discord the same as whispers are.


Another use case in mind is for Journeymaps waypoints. When you share them you sometimes get a link in chat you can click to add a location to your minimap. But on discord it becomes a giant string of metadata. https://teamjm.github.io/journeymap-docs/latest/Client%20Docs/waypoints/

Or Dynmap has a chat to console, it shows up as "§I typed something§", for some reason. https://github.com/webbukkit/dynmap (I couldn't find the exact page for the chat)