A free and open source project that bridges your Minecraft chat to a Matrix Room of your choice!
A simple bridge between Minecraft and Matrix. Made with blood, sweat, and Trixnity
NOTICE: MatrixSRV does NOT work in encrypted rooms. Once encryption is enabled it cannot be disabled, and you will have to make a new room
This plugin connects your Minecraft server chat to a Matrix room, so messages appear in both places at the same time.
Players can chat from inside Minecraft while others can join the conversation from Matrix, even when they are not in-game.
It’s easy to set up and helps keep your community connected outside the server.
MatrixSRV also has an optional dependancy with DiscordSRV, to keep messaging with both platforms as seamless as possible!
This plugin is for Minecraft server owners who want to stay in touch with their community, moderators who want to monitor chat remotely, and players who want to keep chatting when they are not online in Minecraft.
/me commandsAlthough the Modrinth page is public, it is highly recommended that you compile the plugin on your own:
git clone https://git.gay/Stigstille/MatrixSRVcd ./MatrixSRV./gradlew shadowJar./build/libs/MatrixSRV-x.x.x-all.jar/matrixsrv: Shorthand for /matrixsrv source/matrixsrv source: Shows players a clickable URL to the source code, along with a copy of the license/matrixsrv broadcast <text>: Broadcasts a message to matrix with the content of <text>/matrixsrv reload: Reloads the configuration. (Server still needs a restart to change the Access Token or the HomeserverYou can find the configuration file after starting the server with the plugin for the first time.
# Your Bot's Access token.
# It is not recommended to use the Access token for your own account
matrix-access-token: "CHANGEME_THISISNOT_AREALVALUE"
# The ID for the room that should be bridged
matrix-channel-link: "!somewhere:over.therain.bow"
# Your homeserver.
# If you don't know what this is, you *probably* shouldn't touch this
matrix-homeserver: "https://matrix.org"
# Preferences
show-full-matrix-uname: false
forward-me-command: true
me-command-permission: "minecraft.command.me"
canned-responses: {"!ip": "play.example.com", "!seed": "The seed for this world is ..."}