Mineuniverse
Mods
MC Matrix Bridge

MC Matrix Bridge

MOD
A forge/neoforge mod that bridges chat between a Minecraft server and a matrix room.
by ControlNet
Download Claim this project
599 downloads
0 likes
0 followers
Updated Oct 14, 2026
0 hypes
Follow0
Server Utility
Advertisement Remove ads with Premium →

Minecraft Matrix Bridge

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).
  • If the bot is invited to the configured room but not joined yet, it will auto-accept the invite and join on startup.

Requirements

  • Java 17 (Forge 1.18–1.20) or Java 21 (Forge 1.21+)
  • Minecraft Forge 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
  • Matrix room must be unencrypted (no E2EE)

Installation

  1. Download the jar.
  2. Drop the jar into your Forge server’s mods/ folder.
  3. Start the server once to generate config.

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)

Optional:

  • bridge.enableMcToMatrix (default true)
  • bridge.enableMatrixToMc (default true)
  • bridge.announceConnected (default true) announces Matrix room connected: {roomIdOrAlias}
  • bridge.enableJoinLeaveToMatrix (default false) sends {player} joined/left the game to Matrix
  • bridge.enableServerLifecycleToMatrix (default false) sends Server started/stopping to Matrix
  • bridge.mcToMatrixPrefix (default [MC])
  • bridge.matrixToMcPrefix (default [Matrix])
  • bridge.syncTimeoutMs (default 30000)
  • bridge.timelineLimit (default 20)
  • bridge.maxQueueSize (default 1000)
  • bridge.dedupSize (default 512)

World-save state

Sync state is stored at:

  • <world>/data/minecraftmatrixbridge/state.json

Commands

OP-only:

  • /matrix status: show bridge status
  • /matrix reload: reload bridge config
  • /matrix test: send a test message to Matrix

Acknowledgments

I appreciate the great mod projects (e.g. Matrix Bridge) that have inspired me to create this project.

License

The mod is licensed under the AGPL-3.0 license.

minecraftmatrixbridge-forge-1.18.x-0.1.5.jar
MC 1.18.1, 1.18, Forge, 1.18.2, Server
Release 2026-09-21 Get
minecraftmatrixbridge-neoforge-26.1.x-0.1.5.jar
MC NeoForge, Server, 26.1, 26.1.1, 26.1.2
Release 2026-09-21 Get
minecraftmatrixbridge-forge-1.20.x-0.1.5.jar
MC 1.20.2, 1.20.5, 1.20.1, Forge, 1.20, 1.20.6, 1.20.4, 1.20.3, Server
Release 2026-09-21 Get
minecraftmatrixbridge-forge-26.1.x-0.1.5.jar
MC Forge, Server, 26.1, 26.1.1, 26.1.2
Release 2026-09-21 Get
minecraftmatrixbridge-neoforge-26.2.x-0.1.5.jar
MC NeoForge, Server, 26.2
Release 2026-09-21 Get
minecraftmatrixbridge-forge-1.21.x-0.1.5.jar
MC 1.21, 1.21.8, 1.21.5, 1.21.4, Forge, 1.21.1, 1.21.6, 1.21.3, 1.21.7, Server, 1.21.2, 1.21.9, 1.21.10, 1.21.11
Release 2026-09-21 Get
minecraftmatrixbridge-forge-1.19.x-0.1.5.jar
MC 1.19.4, Forge, 1.19.1, 1.19
Release 2026-09-21 Get
minecraftmatrixbridge-forge-26.2.x-0.1.5.jar
MC Forge, Server, 26.2
Release 2026-09-21 Get
minecraftmatrixbridge-neoforge-1.21.x-0.1.5.jar
MC 1.21, 1.21.8, 1.21.5, 1.21.4, 1.21.1, 1.21.6, 1.21.3, 1.21.7, NeoForge, Server, 1.21.2, 1.21.9, 1.21.10, 1.21.11
Release 2026-09-21 Get
minecraftmatrixbridge-forge-26.x-0.1.4.jar
MC Forge, Server, 26.1, 26.1.1, 26.1.2
Release 2026-05-31 Get
minecraftmatrixbridge-neoforge-26.x-0.1.4.jar
MC NeoForge, Server, 26.1, 26.1.1, 26.1.2
Release 2026-05-31 Get
minecraftmatrixbridge-forge-1.18.x-0.1.4.jar
MC 1.18.1, 1.18, Forge, 1.18.2, Server, 1.18-Snapshot
Release 2026-05-31 Get
minecraftmatrixbridge-forge-1.20.x-0.1.4.jar
MC 1.20.2-Snapshot, 1.20.5-Snapshot, 1.20.2, 1.20.5, 1.20.1, Forge, 1.20, 1.20.6, 1.20-Snapshot, 1.20.4, 1.20.3-Snapshot, 1.20.3, Server
Release 2026-05-31 Get
minecraftmatrixbridge-forge-1.19.x-0.1.4.jar
MC 1.19-Snapshot, 1.19.3, 1.19.4, 1.19.4-Snapshot, Forge, 1.19.1, 1.19.2, Server, 1.19, 1.19.3-Snapshot
Release 2026-05-31 Get
minecraftmatrixbridge-forge-1.21.x-0.1.4.jar
MC 1.21.2-Snapshot, 1.21, 1.21.6-snapshot, 1.21.1-Snapshot, 1.21.8, 1.21.5, 1.21.4, 1.21.5-Snapshot, Forge, 1.21.1, 1.21.6, 1.21.3, 1.21.7, 1.21-Snapshot, Server, 1.21.4-Snapshot
Release 2026-05-31 Get
minecraftmatrixbridge-neoforge-1.21.x-0.1.4.jar
MC 1.21.2-Snapshot, 1.21, 1.21.6-snapshot, 1.21.1-Snapshot, 1.21.8, 1.21.5, 1.21.4, 1.21.5-Snapshot, 1.21.1, 1.21.6, 1.21.3, 1.21.7, 1.21-Snapshot, NeoForge, Server, 1.21.4-Snapshot
Release 2026-05-31 Get
minecraftmatrixbridge-forge-1.20.x-0.1.3.jar
MC 1.20.2-Snapshot, 1.20.2, 1.20.1, Forge, 1.20, 1.20-Snapshot, 1.20.4, 1.20.3-Snapshot, 1.20.3, Server
Release 2026-01-14 Get
minecraftmatrixbridge-forge-1.19.x-0.1.3.jar
MC 1.19-Snapshot, 1.19.3, 1.19.4, 1.19.4-Snapshot, Forge, 1.19.1, 1.19.2, Server, 1.19, 1.19.3-Snapshot
Release 2026-01-14 Get
minecraftmatrixbridge-neoforge-1.21.x-0.1.3.jar
MC 1.21.2-Snapshot, 1.21, 1.21.6-snapshot, 1.21.1-Snapshot, 1.21.8, 1.21.5, 1.21.4, 1.21.5-Snapshot, 1.21.1, 1.21.6, 1.21.3, 1.21.7, 1.21-Snapshot, NeoForge, Server, 1.21.4-Snapshot
Release 2026-01-14 Get
minecraftmatrixbridge-forge-1.21.x-0.1.3.jar
MC 1.21.2-Snapshot, 1.21, 1.21.6-snapshot, 1.21.1-Snapshot, 1.21.8, 1.21.5, 1.21.4, 1.21.5-Snapshot, Forge, 1.21.1, 1.21.6, 1.21.3, 1.21.7, 1.21-Snapshot, Server, 1.21.4-Snapshot
Release 2026-01-14 Get
minecraftmatrixbridge-forge-1.18.x-0.1.3.jar
MC 1.18.1, 1.18, Forge, 1.18.2, Server, 1.18-Snapshot
Release 2026-01-14 Get
minecraftmatrixbridge-forge-1.21.x-0.1.2.jar
MC 1.21.2-Snapshot, 1.21, 1.21.6-snapshot, 1.21.1-Snapshot, 1.21.8, 1.21.5, 1.21.4, 1.21.5-Snapshot, Forge, 1.21.1, 1.21.6, 1.21.3, 1.21.7, 1.21-Snapshot, Server, 1.21.4-Snapshot
Release 2026-01-12 Get
minecraftmatrixbridge-forge-1.18.x-0.1.2.jar
MC 1.18.1, 1.18, Forge, 1.18.2, Server, 1.18-Snapshot
Release 2026-01-12 Get
minecraftmatrixbridge-forge-1.19.x-0.1.2.jar
MC 1.19-Snapshot, 1.19.3, 1.19.4, 1.19.4-Snapshot, Forge, 1.19.1, 1.19.2, Server, 1.19, 1.19.3-Snapshot
Release 2026-01-12 Get
minecraftmatrixbridge-neoforge-1.21.x-0.1.2.jar
MC 1.21.2-Snapshot, 1.21, 1.21.6-snapshot, 1.21.1-Snapshot, 1.21.8, 1.21.5, 1.21.4, 1.21.5-Snapshot, 1.21.1, 1.21.6, 1.21.3, 1.21.7, 1.21-Snapshot, NeoForge, Server, 1.21.4-Snapshot
Release 2026-01-12 Get
minecraftmatrixbridge-forge-1.20.x-0.1.2.jar
MC 1.20.2-Snapshot, 1.20.2, 1.20.1, Forge, 1.20, 1.20-Snapshot, 1.20.4, 1.20.3-Snapshot, 1.20.3, Server
Release 2026-01-12 Get
minecraftmatrixbridge-forge-1.19.x-0.1.1.jar
MC 1.19-Snapshot, 1.19.3, 1.19.4, 1.19.4-Snapshot, Forge, 1.19.1, 1.19.2, Server, 1.19, 1.19.3-Snapshot
Release 2026-01-10 Get
minecraftmatrixbridge-forge-1.20.x-0.1.1.jar
MC 1.20.2-Snapshot, 1.20.2, 1.20.1, Forge, 1.20, 1.20-Snapshot, 1.20.4, 1.20.3-Snapshot, 1.20.3, Server
Release 2026-01-10 Get
minecraftmatrixbridge-forge-1.18.x-0.1.1.jar
MC 1.18.1, 1.18, Forge, 1.18.2, Server, 1.18-Snapshot
Release 2026-01-10 Get
minecraftmatrixbridge-forge-1.21.x-0.1.1.jar
MC 1.21.2-Snapshot, 1.21, 1.21.6-snapshot, 1.21.1-Snapshot, 1.21.8, 1.21.5, 1.21.4, 1.21.5-Snapshot, Forge, 1.21.1, 1.21.6, 1.21.3, 1.21.7, 1.21-Snapshot, Server, 1.21.4-Snapshot
Release 2026-01-10 Get
minecraftmatrixbridge-forge-1.18.x-0.1.0.jar
MC 1.18.1, 1.18, Forge, 1.18.2, Server, 1.18-Snapshot
Release 2026-01-09 Get
minecraftmatrixbridge-forge-1.19.x-0.1.0.jar
MC 1.19-Snapshot, 1.19.3, 1.19.4, 1.19.4-Snapshot, Forge, 1.19.1, 1.19.2, Server, 1.19, 1.19.3-Snapshot
Release 2026-01-09 Get
minecraftmatrixbridge-forge-1.20.x-0.1.0.jar
MC 1.20.2-Snapshot, 1.20.2, 1.20.1, Forge, 1.20, 1.20-Snapshot, 1.20.4, 1.20.3-Snapshot, 1.20.3, Server
Release 2026-01-09 Get
minecraftmatrixbridge-forge-1.21.x-0.1.0.jar
MC 1.21.2-Snapshot, 1.21, 1.21.6-snapshot, 1.21.1-Snapshot, 1.21.8, 1.21.5, 1.21.4, 1.21.5-Snapshot, Forge, 1.21.1, 1.21.6, 1.21.3, 1.21.7, 1.21-Snapshot, Server, 1.21.4-Snapshot
Release 2026-01-09 Get
Advertisement Remove ads with Premium →

You Might Also Like