chatfix
This mod resolves numerous problems that occur when sending messages in chat.
Why This Mod Was Created
During development, we encountered a significant issue: when users from outside the local network joined public LAN servers, they would lose connection every time a chat message was sent. This occurred when using modifications like e4mc or programs such as playit. The solution we found using the tellraw command worked but was inconvenient for regular use. Therefore, we created chatfix, which automatically fixes most errors related to sending chat messages.
How It Works
The mod cancels the standard chat event and instead transmits the message content through the tellraw command in the format: <user> content. This is the standard message display format familiar to players.
System Security
Don't worry about potential system abuse. Built-in protection automatically replaces all backslashes (\) and curly braces ({, }) with regular slashes (/) and parentheses ((, )) to prevent the input of escape characters or JSON code into the tellraw command. Even double quotes (") are replaced with single quotes (') to eliminate the possibility of sending empty messages.