MC Matrix Bridge
🟡 Updated this year⚠️ Install Order · 2 steps
Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.
🖼️ Gallery (1 images)
🔍 Analysis
- 👍 0.0% endorsement rate
- 🏆 #209 of 331 forge mods in this game by downloads
📋 About This Mod
# Minecraft Matrix Bridge (Forge/NeoForge, Server-Only) <div align="center"> <img src="https://img.shields.io/github/stars/ControlNet/minecraft-matrix-bridge?style=flat-square"> <img src="https://img.shields.io/github/forks/ControlNet/minecraft-matrix-bridge?style=flat-square"> <a href="https://github.com/ControlNet/minecraft-matrix-bridge/issues"><img src="https://img.shields.io/github/issues/ControlNet/minecraft-matrix-bridge?style=flat-square"></a> <img src="https://img.shields.io/github/license/ControlNet/minecraft-matrix-bridge?style=flat-square"> <a href="https://modrinth.com/mod/mc-matrix-bridge"> <img src="https://img.shields.io/badge/Modrinth-mc--matrix--bridge-00AF5C?style=flat-square&logo=modrinth&logoColor=white"> </a> <a href="https://www.curseforge.com/minecraft/mc-mods/mc-matrix-bridge"> <img src="https://img.shields.io/badge/CurseForge-mc--matrix--bridge-F16436?style=flat-square&logo=curseforge&logoColor=white"> </a> </div> Bridges chat between a Minecraft server and **one Matrix room** (unencrypted only). ## Features - **MC → Matrix**: forwards player chat into a Matrix room. - **Matrix → MC**: forwards Matrix `m.text` room messages into Minecraft server chat. - **Server-only**: vanilla clients can join without installing anything (no client mod). - Sync state stored in the **world save** (prevents replay spam on restart). - The "Matrix room connected: …" notice is localized server-side based on each player's reported client language (currently includes `en_us` and `zh_cn`). - If the bot is **invited** to the configured room but not joined yet, it will **auto-accept the invite** and join on startup. - **Event Taps**: dynamically subscribe to Forge/NeoForge events and forward them to Matrix for debugging/monitoring. ## Requirements - Java 17 (Forge 1.18–1.20), Java 21 (Forge/NeoForge 1.21.x), or Java 25 (Forge/NeoForge 26.1) - Minecraft Forge/NeoForge server matching the versions. I only manually test it in popular minor versions, and hopefully it works in other minor versions. - 1.18.2 - 1.19.2 - 1.20.1 - 1.21.1 - 26.1 - Matrix room must be **unencrypted** (no E2EE) ## Installation 1. Download the jar or build it locally with `./scripts/build_dist.sh` (all supported versions) or `./scripts/build_dist_26.sh` (26.x only). The generated jars are written to `dist/`. 2. Drop the jar into your Forge/NeoForge server's `mods/` folder (pick the jar matching your loader + Minecraft major). 3. Start the server once to generate config. ### Build all versions (creates `dist/`) To build jars for all supported Minecraft versions and collect them into `dist/`: - `./scripts/build_dist.sh` `dist/` includes Forge jars for 1.18.x–1.21.x and 26.x, plus NeoForge jars for 1.21.x and 26.x. ### Build only the 26.x line The 26.x projects use the dedicated Gradle 9 wrapper and are conditionally included by `settings.gradle`. - Build and collect both 26.x jars into `dist/`: `./scripts/build_dist_26.sh` - Build Forge 26 only: `./gradlew-26 -Pomx_modern_26=true :forge-26:build` - Build NeoForge 26 only: `./gradlew-26 -Pomx_modern_26=true :neoforge-26:build` - On Windows, use `gradlew-26.bat` instead of `./gradlew-26` `./scripts/build_dist_26.sh` produces: - `dist/minecraftmatrixbridge-forge-26.x-<version>.jar` - `dist/minecraftmatrixbridge-neoforge-26.x-<version>.jar` - `dist/SHA256SUMS.txt` ## Configuration Edit `config/minecraftmatrixbridge.toml`: - `matrix.homeserver` (required) e.g. `https://matrix.example.com` - `matrix.roomId` (required) room ID `!abcdef:example.com` or room alias `#myroom:example.com` (the room **should not be encrypted**) - `matrix.accessToken` (required, or use env variable `MATRIX_ACCESS_TOKEN`) ### Bridge Options - `bridge.enableMcToMatrix` (default `true`) - Forward MC chat to Matrix - `bridge.enableMatrixToMc` (default `true`) - Forward Matrix messages to MC - `bridge.announceConnected` (default `true`) - Announce `Matrix room connected: {roomIdOrAlias}` when bridge starts - `bridge.enableJoinLeaveToMatrix` (default `false`) - Send `{player} joined/left the game` to Matrix - `bridge.enableServerLifecycleToMatrix` (default `false`) - Send `Server started/stopping` to Matrix - `bridge.mcToMatrixPrefix` (default ` `) - Prefix for MC messages in Matrix - `bridge.matrixToMcPrefix` (default ` `) - Prefix for Matrix messages in MC - `bridge.matrixBotPrefix` (default `!mc`) - Matrix bot command prefix; messages starting with this prefix are treated as bot commands and are not forwarded to Minecraft chat - `bridge.syncTimeoutMs` (default `30000`) - Matrix sync timeout in milliseconds - `bridge.timelineLimit` (default `20`) - Maximum timeline events per sync - `bridge.maxQueueSize` (default `1000`) - Maximum outgoing message queue size - `bridge.dedupSize` (default `512`) - Event deduplication cache size ### Event Tap Options - `bridge.enableEventTaps` (default `true`) - Enable or disable event taps feature e
# Minecraft Matrix Bridge (Forge/NeoForge, Server-Only)
Bridges chat between a Minecraft server and one Matrix room (unencrypted only).
## Features - MC → Matrix: forwards player chat into a Matrix room. - Matrix → MC: forwards Matrix `m.text` room messages into Minecraft server chat. - Server-only: vanilla clients can join without installing anything (no client mod). - Sync state stored in the world save (prevents replay spam on restart). - The "Matrix room connected: …" notice is localized server-side based on each player's reported client language (currently includes `en_us` and `zh_cn`). - If the bot is invited to the configured room but not joined yet, it will auto-accept the invite and join on startup. - Event Taps: dynamically subscribe to Forge/NeoForge events and forward them to Matrix for debugging/monitoring.
## Requirements - Java 17 (Forge 1. 18–1. 20), Java 21 (Forge/NeoForge 1. 21.x), or Java 25 (Forge/NeoForge 26. 1) - Minecraft Forge/NeoForge server matching the versions. I only manually test it in popular minor versions, and hopefully it works in other minor versions. - 1. 18. 2 - 1. 19. 2 - 1. 20. 1 - 1. 21. 1 - 26. 1 - Matrix room must be unencrypted (no E2EE)
## Installation 1. Download the jar or build it locally with `./scripts/build_dist.sh` (all supported versions) or `./scripts/build_dist_26.sh` (26.x only). The generated jars are written to `dist/`. 2. Drop the jar into your Forge/NeoForge server's `mods/` folder (pick the jar matching your loader + Minecraft major). 3. Start the server once to generate config.
### Build all versions (creates `dist/`) To build jars for all supported Minecraft versions and collect them into `dist/`: - `./scripts/build_dist.sh`
`dist/` includes Forge jars for 1. 18.x–1. 21.x and 26.x, plus NeoForge jars for 1. 21.x and 26.x.
### Build only the 26.x line The 26.x projects use the dedicated Gradle 9 wrapper and are conditionally included by `settings.gradle`.
- Build and collect both 26.x jars into `dist/`: `./scripts/build_dist_26.sh`
- Build Forge 26 only: `./gradlew-26 -Pomx_modern_26=true :forge-26:build`
- Build NeoForge 26 only: `./gradlew-26 -Pomx_modern_26=true :neoforge-26:build`
- On Windows, use `gradlew-26.bat` instead of `./gradlew-26`
`./scripts/build_dist_26.sh` produces:
- `dist/minecraftmatrixbridge-forge-26.x-
## Configuration Edit `config/minecraftmatrixbridge.toml`: - `matrix.homeserver` (required) e.g. `https://matrix.example.com` - `matrix.roomId` (required) room ID `!abcdef:example.com` or room alias `#myroom:example.com` (the room should not be encrypted) - `matrix.accessToken` (required, or use env variable `MATRIX_ACCESS_TOKEN`)
### Bridge Options - `bridge.enableMcToMatrix` (default `true`) - Forward MC chat to Matrix - `bridge.enableMatrixToMc` (default `true`) - Forward Matrix messages to MC - `bridge.announceConnected` (default `true`) - Announce `Matrix room connected: {roomIdOrAlias}` when bridge starts - `bridge.enableJoinLeaveToMatrix` (default `false`) - Send `{player} joined/left the game` to Matrix - `bridge.enableServerLifecycleToMatrix` (default `false`) - Send `Server started/stopping` to Matrix - `bridge.mcToMatrixPrefix` (default ` `) - Prefix for MC messages in Matrix - `bridge.matrixToMcPrefix` (default ` `) - Prefix for Matrix messages in MC - `bridge.matrixBotPrefix` (default `!mc`) - Matrix bot command prefix; messages starting with this prefix are treated as bot commands and are not forwarded to Minecraft chat - `bridge.syncTimeoutMs` (default `30000`) - Matrix sync timeout in milliseconds - `bridge.timelineLimit` (default `20`) - Maximum timeline events per sync - `bridge.maxQueueSize` (default `1000`) - Maximum outgoing message queue size - `bridge.dedupSize` (default `512`) - Event deduplication cache size
### Event Tap Options - `bridge.enableEventTaps` (default `true`) - Enable or disable event taps feature e
📊 Mod Details
- Game
- Minecraft Mods
- Author
- ControlNet
- Version
- 0.1.4
- Downloads
- 514
- Endorsements
- 0
- Category
- forge
- Created
- 1/10/2026
- Updated
- 5/31/2026
- Game Versions
- 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4
- Tags
- management, social, utility
🔧 How to Install Minecraft Mods Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
📖 Full step-by-step install guide for Minecraft Mods →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.
❓ Frequently Asked Questions
Which Minecraft Mods versions does MC Matrix Bridge support?
The author lists 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5. Other versions may work but are untested by the author.
What is the latest version of MC Matrix Bridge?
Version 0.1.4, published 2026-05-31 with 514 downloads recorded at the source.
Keep browsing — more Minecraft Mods mods await
