Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better Chat Filters #36

Open
AlphaLeoli opened this issue Jul 13, 2024 · 1 comment
Open

Better Chat Filters #36

AlphaLeoli opened this issue Jul 13, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@AlphaLeoli
Copy link

Motivation

The chat filters have a lot of potential to do some really cool things. Also some of this stuff (replacing chat messages and forwarding them) was in another mod I had a while ago, which is AdvancedChatFilters. That guy made a lot of other chat mods, but he discontinued updating them. They were very messy guis to navigate though, and was a bit buggy.

Description

here is a list of things that would improve the functionality of chat filters

  1. option to toggle between replacing only the matched or the whole message
  2. this thing
  3. make it so you can customize the replaced message. for example, replacing a message with "censored" or replacing a phrase with a word or maybe replacing the whole message and just keeping the word idk
  4. basically a combination of all these and merging it with notifier, since those could work well as the same thing. just make it chat filters and give options for them that notifier has and the things i listed above. it's hard to explain sry.
  5. the thing i suggested at the end here, which is just letting you do it with the object data too. below is how it might be useful

This is the same server that i used as an example in the other suggestion.
image
As you can see in that screenshot, there is no username, but only the roleplayname! However, that part where it says "USCH2" is actually a nickname that they set, and by default it's their ign.

So instead, you can use object data with this regex literal\{(§.{1,6})\}.{18}\{([a-zA-Z0-9_]{3,16})\}.{14}(.*)}]]]]}] to search for their ign, and with chat filters you could then replace their nickname with their ign.

Other information

No response

@70CentsApple 70CentsApple added the enhancement New feature or request label Jul 13, 2024
@AlphaLeoli AlphaLeoli mentioned this issue Jul 14, 2024
2 tasks
@africanoogabooga
Copy link

how to add more than 1 filter, when i press plus it opened 1 that i have but does not let me add another?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants