Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Chat Patches

Chat Patches

A Minecraft Fabric client-side mod that touches up a few aspects of Minecraft's mundane chat, with as much configurability as possible!

3.16M
730
Decoration
Social
Utility

Compatibility

Minecraft: Java Edition

1.21.x
1.20.x
1.19.x
1.18.x

Platforms

Fabric
Quilt

Supported environments

Client-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source Visit wiki Join Discord server
Donate on Ko-fi

Creators

OBro1961
OBro1961 Owner

Details

Licensed LGPL-3.0-only
Published 2 years ago
Updated last week
DescriptionGalleryChangelogVersions

Show all versions

1
2
3
4

194.5.1

by OBro1961 on Jul 13, 2023
Download

Changelog

Chat Patches 194.5.1 for Minecraft 1.19.4 on Fabric, Quilt

  • Removed compatibility with 1.19.3 because YetAnotherConfigLib 3.x doesn't support it
  • Added zh_cn.json translations (HUGE thanks to SJC08!)
  • Show Me What You Got now works with Chat Patches again! (#88)
  • Now some odd formatting mods/plugins should work with Chat Patches again (#96)
  • Fixed a couple README formatting issues
  • Changed the default config value for counterFormat to use '&r' so counterColor will appear to apply right out-of-the-box; same fix applied to boundaryFormat for boundaryColor
  • Updated the changelog snippet function in build.gradle that automatically populates new version descriptions when publishing
  • Added some more loggers in ChatLog so if it runs out of space it should tell you... (open any issues if it randomly clears the log please!)
  • Switched the preview image file types from .jpg to .webp to reduce file size, and because YACL (is supposed to) support it well
  • Unfortunately YACL still is crashing with the images, so they remain disabled. I've opened up an issue on the YACL repo, so hopefully it will be fixed soon! Note: this is why the file size of the mod is much higher now.

194.5.0

by OBro1961 on Jul 5, 2023
Download

Changelog

194.5.0 for 1.19.4 on Fabric, Quilt

Note: Based on popular opinion, Yet Another Config Lib and Mod Menu are now required.

  • Changed the "Chat HUD" config category to "Chat Interface" again, and split the options within it into 2 subcategories: "Heads Up Display (HUD)" and "Screen" for more organization
  • You can now use vanilla chat clearing (vanillaClearing) if you really want.. (#85)
  • Fixed the up arrow switching focus to the search field while also accessing sent message history? (#86)
  • Completely revamped the method to copy messages! Instead of the old and clunky /copymessage command, you just right-click on a message and a menu will appear with a multitude of options to access data contained within the message. For example, you can copy the raw message, a json representation, or even any links within the message! (#77, #87)
  • There are two config options associated with the new copy menu: copyColor and copyReplyFormat which control the color of the selection box around the clicked message, and the text that is put into the chat box when clicking on "Reply", respectively
  • All messages now store their time received in the timestamp's insertion text, which just means if you shift-left click on the timestamp text, it will insert the unix timestamp of the received message into the chat box
  • Removed the /copymessage command and its translations
  • Added fr_fr translations (huge thanks to Calvineries!)
  • Refactored some config options and their translations (saveChat => chatLog, nameFormat => chatNameFormat, and maxMsgs => chatMaxMessages) to work properly with the new subgroups
  • Fixed the dupe message adder method breaking when a boundary line was the last message sent
  • You can now choose to use a CompactChat style dupe counter, which is explained in the config (#67)
  • There is now a CompactChat subgroup under the dupe counter category in the config, which provides counterCompact for the toggle and counterCompactDistance for how many messages to check for duplicates
  • Updated YetAnotherConfigLib to 3.0.3-fabric, which overhauls the config UI to use a new tab system, but more notably has image previews now! For this reason along with popular opinion, YACL is now required to load Chat Patches (#91)
    • WARNING: The images currently crash the game, so they've been temporarily disabled until a bugfix is released. Check back in a week or so for the hotfix!

Misc changes and developer stuff:

  • Added some more detailed JavaDocs overall
  • The old method that was used to condense duplicate messages was overhauled with a slightly faster implementation that doubles as a way to use the CompactChat style dupe counter. The original method was moved to ChatUtils#getCondensedMessage(Text, int) and instead removes the old message, rather than updating the old message and ignoring the new one
  • Also cleaned up the YACLConfig class a little more to use less "magic numbers" and more clear method calls
  • Added the [Config.writeCopy] prefix to a logger call in Config#writeCopy() to maintain consistency and clarity
  • Replaced the common obtaining of ChatHudAccessor from the ugly (ChatHudAccessor) client.inGameHud.getChatHud() with two static methods, ChatHudAccessor.from(ChatHud) and ChatHudAccessor.from(MinecraftClient), which wrap the cast for convenience
  • Added message indices stored in ChatUtils to clearly identify what data is being interacted with, instead of magic numbers everywhere
  • Added the RenderUtils class, which currently only has a subclass MousePos
  • Added StringTextUtils#getLinks(String) for getting all links from a string, used in the copy menu
  • All of ChatScreenMixin is really just complete hell, it's all over the place, but most of the complex methods have javadocs (except for #cps$loadCopyMenu(mX, mY) which has comments inside). It works especially now together with MenuButtonWidget which is also disgusting. In the future, when I have time, I will rewrite the whole menu thing as a new class just for menus and buttons, and then use that. For now, I'm so sorry.

194.4.6

by OBro1961 on May 2, 2023
Download

Changelog

194.4.6 for Minecraft 1.19.3, 1.19.4 on Fabric, Quilt

  • Removed the floating gray search background when hideSearchButton is enabled (#83)
  • Also added the mixin prefix cps$ to a few unique methods in ChatScreenMixin that previously were unmarked

194.4.5

by OBro1961 on May 2, 2023
Download

Changelog

194.4.5 for Minecraft 1.19.3, 1.19.4 on Fabric, Quilt

  • Showing/hiding the chat search bar or the chat search settings will now persist after closing and reopening chat (#81)
  • You can now additionally hide the search button entirely, but keep in mind this disables all other chat searching functionality

194.4.4

by OBro1961 on Apr 30, 2023
Download

Changelog

194.4.4 for Minecraft 1.19.3, 1.19.4 on Fabric, Quilt

  • Updated dependencies, including YACL to 2.5.0-fabric so you may need to update that as well

  • Fixed #78, which uses a large mixin instead of an entirely new screen to allow for compatibility with other mods

  • Removed the chatSearchScreen option because the search settings can be hidden and other mods should be compatible now

    • That being said, the only real difference is that the search settings button cannot be removed from the chat screen
  • Added the messageDrafting and searchDrafting options (#79), which when toggled let any text in the fields persist after closing and reopening the chat

  • Tweaked the README config table to add double quotes around String options and removed the decimal numbers attached to Color options

  • Updated the changelog from only containing the latest version's changes to all of them starting from 194.4.0. Unless you're a contributor, this doesn't really matter

  • Contributor note: Now when you edit the changelog, assuming you run build or publish (which both subsequently run processResources) before committing any changes, this file will

    • have any double hashtags (##) followed by a number replaced with a GitHub issue link
    • replace any instances of ${} with either version, targets, or loaders in between the brackets with the appropriate value from the gradle.properties file
  • You can now specify the -PnoPublish=true flag when running ./gradlew publish to prevent the file from actually being published on Modrinth and Curseforge. This helps to avoid needing to add debug=true every time you want to double-check the changelog before publishing

194.4.3

by OBro1961 on Apr 13, 2023
Download

Changes with this version

  • Fixed #73, which was caused by a slight method change from 1.19.3 to .4. To fix this I simply removed it, which was fine because it didn't really work in the first place.
  • However, the method that was tweaked to fix this issue prevented a couple problems relating to selecting both the search and chat fields at the same time (but it can't anymore)
  • So to try and help with any issues that may arise from this, whenever you type a chat message that hasn't been sent yet, if you close the chat and reopen it the message will reappear in the chat field.

194.4.2

by OBro1961 on Apr 8, 2023
Download

Changes with this version

  • Fixed a couple of grammar mistakes

194.4.1

by OBro1961 on Apr 8, 2023
Download

Changes with this version

  • Fixed #72 (pressing the slash key doesn't put the slash in the input box)

194.4.0

by OBro1961 on Apr 7, 2023
Download

Changes with this version

  • Updated to FAPI 0.77.0 and YACL 2.4.0
  • Added the regex and regex_tester links in the YACL Help category for web links to regex assistance.
  • Added the new ChatSearchScreen screen, an extension of ChatScreen that allows for searching through chat messages plus more features!
  • Added the chatSearchScreen option that toggles the new chat search screen (which overrides the vanilla chat screen)
  • Added a new mixin injector to override the vanilla chat screen with the new one (if enabled)
  • Added some new String util methods
  • Fixed the '&<?>'-formatted string to text parser not removing double backslashes from literal uses of ampersands
  • Added a button icon and a background sprite

This update officially fixes #4 !!! sorry for taking so long, but hey it's done now!

194.3.0

by OBro1961 on Mar 19, 2023
Download

Changes with this version

  • Update to 1.19.4 and mark #68 complete (compatible with 1.19.3!)
  • Switch ChatHudAccessor mixin to a duck interface instead
  • Added and updated some more documentation
  • Updated Gradle to v8.0.1
  • Updated to YACL 2.3.0 and Mod Menu 6.1.0-rc.4 (warning: this version depends on a pre-release of Mod Menu, so it may be buggy or weird!)
  • Now requires Fabric Loader 0.14.17 or higher
  • Completely overhauled the Util class and split it into a bunch of smaller, more specific classes.
  • Added a new MessageData class for only storing the necessary data needed for a message. this will help backporting efforts in the future!
  • Restored messages no longer clog the logs with messages about being restored (#65)
  • Changed the default mixin priority to 2000 from 400 to partially fix #66 for 1.19.3 and 1.19.4. This might cause issues with other mods, so keep an eye out for issues, and make sure to report them if you find any!
  • Added a try-catch block to ChatHudMixin#addCounter to prevent the chat from effectively disabling if an error occurs (part 2 of #66)

btw sorry about the huge commit, I just really wanted to get this pushed out, and it took a lot longer than I was hoping. I'll try to keep the commits smaller in the future.

182.0.2

by OBro1961 on Feb 12, 2023
Download

Changes with this version

  • Removed @Debug annotation
  • Fixed javadoc typo
  • Fixed incomplete javadoc
  • Removed unnecessary Math.abs() calls for shiftChat
  • Replaced incorrect org.apache.commons.compress.utils.Lists class with com.google.common.collect.Lists

182.0.0

by OBro1961 on Feb 8, 2023
Download

Changes with this version

  • Backported everything from after July 20, 2022, to all 1.18 versions
  • Enormous file diff here.
  • Also applies fixes from the 192.2.1/193.2.3 versions

Notice

I did not realize before switching config libraries that YetAnotherConfigLib doesn't backport, so it seems like these older versions will continue to use Cloth Config.

193.2.3

by OBro1961 on Feb 8, 2023
Download

Changes with this version

(this bugfix version is equal to 192.2.1)

  • Fixed the config not always writing to disk
  • Removed one-use constants from Config
  • Renamed the Option subclass to ConfigOption to avoid conflicting with YACL's Option
  • No longer removes the INIT flag every time a world is loaded

192.2.1

by OBro1961 on Feb 8, 2023
Download

Changes with this version

  • Fixed the config not always writing to disk
  • Removed one-use constants from Config
  • Renamed the Option subclass to ConfigOption to avoid conflicting with YACL's Option
  • No longer removes the INIT flag every time a world is loaded

192.2.0

by OBro1961 on Jan 30, 2023
Download

Changes with this version

  • Another backport for 1.19.2
  • Contains the ChatPatches rebrand (also changes config file used from wmch.json to chatpatches.json, if you have a config file from an older version, you'll need to rename it)
  • Also adds the chatWidth option to allow for larger than vanilla chat width

See this commit diff for all the changes, or just look through the 1.19.3 versions' changelogs.

193.2.2

by OBro1961 on Jan 29, 2023
Download

Changes with this version

  • Added the chatWidth option: off by default, but allows for a greater chat width up to 630 pixels. when unused, just uses vanilla
  • Replaced the original "dynamic" shiftChat slider maximum (which didn't work correctly anyway) with a fixed max of 100 pixels
  • Completes #59
  • Probably fixes #60

193.2.1

by OBro1961 on Jan 29, 2023
Download

Changes with this version

Dependencies

  • Updated to Loom 1.1-SNAPSHOT

Technical

  • Added the mixin method prefix (cps$) to the mixin in MinecraftClientMixin

Other

  • Added old mod name to description header
  • Fixed README badge not displaying correctly

193.2.0

by OBro1961 on Jan 29, 2023
Download

Changes with this version

Rebranding

  • Rebranded to "Chat Patches" from "Where's My Chat History?" to better reflect the purpose of the mod
  • Also changed the author's (my) name back to OBro1961
  • Both of these changes are reflected in all references, including the repository, code, and sites on which it is hosted
  • Make sure to update any sort of references you may have as well!
  • This DOES change the config file used! Make sure to rename wmch.json to chatpatches.json in your config folder!

Technical

  • Split the mixins inside the mixin folder into three separate folders: chat, secure, and the main mixin folder
  • chat is self-explanatory, secure contains mixins relating to the Secure Chat features of 1.19, and the main is for one-off mixins
  • Shortened some mixin method names

Other

  • Renamed "Chat Interface" category to "Chat Hud"
  • Added english translation for the Debug category

Differences

name: Where's My Chat History? => Chat Patches
id: wmch => chatpatches
capitalized: WMCH => ChatPatches
config: wmch.json => chatpatches.json
mixin method prefix: wmch$ => cps$

192.1.0

by OBro1961 on Jan 27, 2023
Download

Changes with this version

  • Backported some more stuff
  • Updated to YACL 2.2.0 (#58)

Notes

  • For a true list of updates, see this commit diff, as this update is simply a backport of all the newest changes from the 1.19.3 branch.

193.1.2

by OBro1961 on Jan 27, 2023
Download

Changes with this version

  • Fixed a couple YACL issues
  • Fixed #55
  • Fixed weird ordering of config values in the GitHub table and in the config file
  • Renamed boundaryStr and counterStr to boundaryFormat and counterFormat
  • boundaryFormat's tooltip now directly states that \n can be used, and the default value of nameFormat is now <$> like vanilla (#57)
  • Replaced the final two instances of ClothConfig in the project with YACL

Notes

This is the last update that will be released for 1.19.3 until I have backported this to other Minecraft versions. (unless of course there is some big issue that needs to be fixed, or I have forgotten about)

1
2
3
4

Modrinth is open source.

main@396f737

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.