SMWYG-Fix
by ImEden6
Sharing items in chat can disconnect a player when an item name carries a section sign, and SMWYG-Fix is a client mod that removes that risk for the item-sharing mod it patches on Fabric.
What it does
Some formatting codes inherited from server plugins or other mods can appear in item display names. When an item is shared in chat, the game may disconnect the player with the message "Illegal characters in chat". SMWYG-Fix addresses this force leave bug by removing illegal section signs from item names before they reach the chat field.
The fix keeps the character positions used by the sharing mod consistent by working with indexes rather than stripping text blindly, so the shared item still displays as intended. Installation needs Fabric Loader and the sharing mod in the mods folder. No configuration is required, and the mod is open source under the MIT License, with files for 1.20.1 only.
Key features
Illegal characters kick
Prevents the disconnect that occurs when shared item names contain section signs the chat field rejects.
Automatic sanitization
Removes illegal section signs from item names before they are passed to the chat field.
Index-aware tracking
Keeps the character positions the sharing mod relies on consistent after sanitization.
No setup needed
The mod works once it is placed alongside the sharing mod, with no options to adjust.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Questions
Does SMWYG-Fix need the sharing mod installed?
Does SMWYG-Fix have to be installed on the server?
Which Minecraft versions does SMWYG-Fix support?
In the catalog
SMWYG-Fix is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 34,764 mods support Minecraft 1.20.1.
More from ImEden6
Similar mods
Official listing
- Modrinth page
- modrinth.com/mod/smwyg-fix
- Owner
- ImEden6
- Published
- 2026-03-16
- Updated on Modrinth
- 2026-08-29
- Facts verified
- 2026-10-15
