
Chat Sync
Syncs client-side Minecraft chat to a Discord webhook.
Screenshots

About this Mod
ChatSync - Minecraft to Discord Chat Sync
A client-side Fabric mod for Minecraft 1.21.10 that syncs in-game chat messages to a Discord webhook.
Features
- 🔄 Syncs both chat messages and game messages to Discord
- 🎯 Configurable message filtering with regex patterns
- ⚙️ Easy JSON configuration
- 🎮 In-game config screen via Mod Menu
- 🚀 Asynchronous webhook sending (doesn't lag the game)
- 🔒 Client-side only (works on any server)
Installation
- Make sure you have Fabric Loader installed for Minecraft 1.21.10
- Install Mod Menu (optional, but required for in-game config)
- Download the ChatSync mod JAR file
- Place it in your
.minecraft/modsfolder - Launch Minecraft
Configuration
You can configure ChatSync in two ways:
Option 1: In-Game Config Screen (Recommended)
- Install Mod Menu
- In Minecraft, go to: Mods → ChatSync → Config
- Enter your Discord webhook URL
- Customize the message prefix
- Toggle enabled/disabled
- Click "Done" to save
Option 2: Manual Configuration File
On first launch, the mod will create a configuration file at .minecraft/config/chatsync.json
Setting up your Discord Webhook
- Go to your Discord server settings
- Navigate to Integrations → Webhooks
- Click "New Webhook"
- Copy the webhook URL
- Open
.minecraft/config/chatsync.json - Replace
YOUR_WEBHOOK_URL_HEREwith your actual webhook URL
Configuration File Structure
{
"webhookUrl": "https://discord.com/api/webhooks/YOUR_WEBHOOK_URL_HERE",
"enabled": true,
"messagePrefix": "> ",
"ignoredMessages": [
"^\\[.*\\].*",
"^>.*"
]
}
Configuration Options
- webhookUrl: Your Discord webhook URL
- enabled: Set to
falseto temporarily disable the mod without removing it - messagePrefix: Text to prepend to every message (default:
"> ")- Use
""for no prefix - Examples:
"> ","[MC] ","🎮 ", etc.
- Use
- ignoredMessages: Array of regex patterns for messages to ignore
Ignored Messages Examples
The ignoredMessages array uses regex patterns to filter out unwanted messages:
"ignoredMessages": [
"^\\[.*\\].*", // Ignore messages starting with [brackets]
"^>.*", // Ignore messages starting with >
".*joined the game.*", // Ignore join messages
".*left the game.*", // Ignore leave messages
"^!.*", // Ignore commands starting with !
"^/.*" // Ignore commands starting with /
]
How It Works
The mod listens to two Minecraft events:
- Chat Messages: Player chat messages
- Game Messages: System messages (deaths, achievements, etc.)
When a message is received, it:
- Checks if the mod is enabled
- Checks if the webhook URL is configured
- Checks if the message matches any ignored patterns
- If all checks pass, sends the message to Discord asynchronously
Troubleshooting
Messages aren't appearing in Discord
- Check that your webhook URL is correct in the config file
- Make sure
enabledis set totrue - Check the Minecraft logs for any error messages
- Verify your webhook is still active in Discord
Some messages are being ignored
Check your ignoredMessages patterns - they use regex, so make sure your patterns are correct.
The mod isn't loading
- Ensure you have Fabric Loader 0.18.4 or higher
- Ensure you have Fabric API 0.138.4+1.21.10 or higher
- Check the Minecraft logs for errors
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
Join our discord! Discord
Available Versions
How to Install Chat Sync on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).
Install Mod
Open the mod browser in the dashboard and search for "Chat Sync". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11, 1.21.10
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Chat Sync server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.
Is Chat Sync compatible with fabric?
Chat Sync officially supports fabric for Minecraft 1.21.11, 1.21.10. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Chat Sync – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Chat Sync consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Chat Sync with just one click on your server.