MatrixSRV
A free and open source project that bridges your Minecraft chat to a Matrix Room of your choice!
📖About MatrixSRV
MatrixSRV
A simple bridge between Minecraft and Matrix. Made with blood, sweat, and Trixnity
Why MatrixSRV
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!
Who is this for?
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.
Compilation
Although this page is public, it is highly recommended that you compile the plugin on your own:
- Clone the git repository
git clone https://git.gay/Stigstille/MatrixSRV
- Enter the project files
cd ./MatrixSRV
- Build and Compile the plugin
./gradlew shadowJar
- Find the freshly generated plugin
- Should be located at
./build/libs/MatrixSRV-x.x.x-all.jar
- Should be located at
Commands
/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>
Config
You 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