What are you searching for?

Chat Sync
Chat Sync

Chat Sync

Syncs client-side Minecraft chat to a Discord webhook.

download 5 Downloads · favorite 0 Followers · Updated 3 days ago
Fabric Social Utility 1.21.10 1.21.11

Versions

inventory_2
Chat Sync 1.0.0

1.0.0 · 3 days ago · 21.35 KB

Release download
Fabric 1.21.10 1.21.11

About

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

  1. Make sure you have Fabric Loader installed for Minecraft 1.21.10
  2. Install Mod Menu (optional, but required for in-game config)
  3. Download the ChatSync mod JAR file
  4. Place it in your .minecraft/mods folder
  5. Launch Minecraft

Configuration

You can configure ChatSync in two ways:

Option 1: In-Game Config Screen (Recommended)

  1. Install Mod Menu
  2. In Minecraft, go to: Mods → ChatSync → Config
  3. Enter your Discord webhook URL
  4. Customize the message prefix
  5. Toggle enabled/disabled
  6. 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

  1. Go to your Discord server settings
  2. Navigate to Integrations → Webhooks
  3. Click "New Webhook"
  4. Copy the webhook URL
  5. Open .minecraft/config/chatsync.json
  6. Replace YOUR_WEBHOOK_URL_HERE with 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 false to temporarily disable the mod without removing it
  • messagePrefix: Text to prepend to every message (default: "> ")
    • Use "" for no prefix
    • Examples: "> ", "[MC] ", "🎮 ", etc.
  • 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:

  1. Checks if the mod is enabled
  2. Checks if the webhook URL is configured
  3. Checks if the message matches any ignored patterns
  4. If all checks pass, sends the message to Discord asynchronously

Troubleshooting

Messages aren't appearing in Discord

  1. Check that your webhook URL is correct in the config file
  2. Make sure enabled is set to true
  3. Check the Minecraft logs for any error messages
  4. 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

  1. Ensure you have Fabric Loader 0.18.4 or higher
  2. Ensure you have Fabric API 0.138.4+1.21.10 or higher
  3. 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

open_in_new View on Modrinth
Compatibility
Client: Required Server: Unsupported
gavel MIT

Conversation

What are your thoughts?

Related projects

Optimization Utility
FerriteCore
FerriteCore

by malte0811

Memory usage optimizations

download 88.2M
favorite 12,919
Utility
Mod Menu
Mod Menu

by Prospector

Adds a mod menu to view the list of mods you have installed.

download 81.4M
favorite 22,385
Library Management Utility
YetAnotherConfigLib (YACL)
YetAnotherConfigLib (YACL)

by isxander

A builder-based configuration library for Minecraft!

download 69.1M
favorite 7,709
Adventure Transportation Utility
Xaero's Minimap
Xaero's Minimap

by thexaero

Displays a map of the nearby world terrain, players, mobs, entities in the corner of your screen. Lets you create waypoints which help you find the locations you've marked.

download 63.8M
favorite 13,932
lock Cookie consent

SkinMC uses cookies to provide functionality and features.