New v1.1 - This allows you to create a file with replacements on your chat messages. Want to filter obscenities out without having a server mod? Just add them in the clearchat.regex file found in the config directory. Do you want to add new filters but not reload? Just press the key to reload your file (Insert by default), and you now have the new rules in place.
With the press of a key you can now clear your chat without having to leave to the main menu. This is a client-side only mod. Licensed under the 3-clause BSD license.
Someone please please please update this for the later main versions?
Or does it still work in later versions as it is now?
Also: I agree that not outputting a chat message when chat is cleared is desirable.
Memo to self: Try to remember to test if it works in 1.10.2
Update: SIGH. It doesn't stop the modpack loading but it also doesn't even try to load the mod at all. :(((
Plugin works perfectly for what i want. I really hate when i go into a test creative world and come back to a normal world all this Given text is in my chat. For video recording purposes you shouldn't have that. With the click of the "DELETE" Key it goes all away. Perfect!
.*||Test
This should replace everything with the word Test correct?
If so, it is not.
It should work, but I am looking into this. I appear to have misplaced my source code, so I am trying to figure out what I did for the replacing.
EDIT: It appears I used replace, which takes a literal string, instead of using replaceAll or replaceFirst, which take regular expressions. I will work on getting this rebuilt and uploaded soon.
I have uploaded version 1.1, which should fix this issue.
Maybe looking for a mod config that can edit that.