COWMODSКаталог модов

MatrixSRV

A free and open source project that bridges your Minecraft chat to a Matrix Room of your choice!

Автор: Stigstille3153обновлён 21 окт. 2026 г.
ОбщениеУтилиты

Описание

MatrixSRV

A simple bridge between Minecraft and Matrix. Made with blood, sweat, and Trixnity

Available on git.gay

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

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.

Features!

  • Listens to player chat messages
  • Listens to player deaths
  • Listens to player join/leave
  • Listens to player advancements
  • Listens to player /me commands
  • Forwards most standard matrix messages (including all file types, and 3 text formats)
  • RELOADABLE config, with preferences
  • Copyleft FOSS project
  • Broadcast command
  • OPTIONAL compatability with DiscordSRV
  • AND MORE!

Compilation

Although the Modrinth page is public, it is highly recommended that you compile the plugin on your own:

  1. Clone the git repository
    • git clone https://git.gay/Stigstille/MatrixSRV
  2. Enter the project files
    • cd ./MatrixSRV
  3. Build and Compile the plugin
    • ./gradlew shadowJar
  4. Find the freshly generated plugin
    • Should be located at ./build/libs/MatrixSRV-x.x.x-all.jar

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>
  • /matrixsrv reload: Reloads the configuration. (Server still needs a restart to change the Access Token or the Homeserver

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
# add/remove channels however you like
# first channel will be main channel for join, leave, death, etc. messages and canned-responses
matrix-channel-link:
   global: '!somewhere:over.therain.bow'
   #nether: '!somewhere:under.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"

# MSCs (Matrix Spec Changes). Not all clients support these
## MSC4144: Per-message profiles
support-msc-4144: true
## Only gets used if MSC4144 is enabled.
## Supports placeholderapi and variables like {username}, {uuid}, and {uuid-no-dashes}
avatar-url: "https://crafthead.net/helm/{username}"

# !matrixsrv is always active and will show a link to the source page
canned-responses:
   '!ip': "play.example.com"
   '!seed': "The seed for this world is ..."

As of v0.1.0,

MatrixSRV now lets you change previously hardcoded text, and actually specify the text for custom advancements! in plugins/MatrixSRV/lang.json, just paste the contents of en_us.json (or other language file) from your datapack, and reload MatrixSRV! There are some default values that come built in for making it easier to control the built-in text:

{
   "matrixsrv.advancement": " has made the advancement ",
   "matrixsrv.discord_prefix": "[DSCRD] ",
   "matrixsrv.join_game": " joined the game",
   "matrixsrv.left_game": " left the game",
   "matrixsrv.matrix_prefix": "[MTRX] ",
   "matrixsrv.message_seperator": " \u003e\u003e ",
   "matrixsrv.minecraft_prefix": "[MNCRFT] ",
   "matrixsrv.reply": " in response to ",
   "matrixsrv.sent_audio": " sent audio",
   "matrixsrv.sent_file": " sent a file",
   "matrixsrv.sent_image": " sent an image",
   "matrixsrv.sent_video": " sent a video"
}

Галерея

MatrixSRV in action

Последние версии

Все версии →
release

MatrixSRV 0.1.0

0.1.0
21 окт. 2026 г.34Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2, 26.3bukkit, paper, purpur, spigot
Скачать
Что нового
RANDOM BULLSHITT GO!!!!! (first full release loll) - Okay so I improved the code base, and also discovered linting :skull: - There is now a lang.json file that you can put language files from resource pack to support custom advancements and stuff, and you can also put different language vanilla translations for stuff (its a json so you could straight up copy-paste from the game and stuff) - /matrixsrv now shows the git commit from the version!! - much refactoring - a few other things i probably forgor :3 Enjoy this! Share it with your friends! Support FOSS by word of mouth!!!
beta

MatrixSRV 0.0.10

0.0.10
15 окт. 2026 г.16Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2, 26.3bukkit, paper, purpur, spigot
Скачать
Что нового
!!Hotfix!! Forgot to put the fetching of the profile picture on a seperate thread
beta

MatrixSRV 0.0.9

0.0.9
15 окт. 2026 г.6Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2, 26.3bukkit, paper, purpur, spigot
Скачать
Что нового
Added support for [MSC-4144](https://github.com/matrix-org/matrix-spec-proposals/pull/4144) which allows for per-message profiles. Since this is still an MSC, and not officially in the spec, only a select few clients actually support it (i.e. Sable)
beta

MatrixSRV 0.0.8

0.0.8
8 сент. 2026 г.30Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2, 26.3bukkit, paper, purpur, spigot
Скачать
Что нового
Now messages from discord that have attachments shouldnt send blank/double messages
beta

MatrixSRV 0.0.7

0.0.7
6 мар. 2026 г.97Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11bukkit, paper, purpur, spigot
Скачать
Что нового
Version 0.0.7! okay changelog: I added canned responses, so basically, you can tell it reply to specific messages that start with a phrase (by default, I added `!ip` and `!seed`, and its easy to edit the responses and stuff. I forced `!matrixsrv` so people have the source and license from the matrix side. I also added `/matrixsrv reload` so you can easily reload config items (APART FROM the homeserver and the access token) without restarting the server
beta

MatrixSRV 0.0.6

0.0.6
1 мар. 2026 г.26Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11bukkit, paper, purpur, spigot
Скачать
Что нового
Fix crash when no DiscordSRV, prevent announcing silent advancements
beta

MatrixSRV 0.0.5

0.0.5
27 февр. 2026 г.26Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11bukkit, paper, purpur, spigot
Скачать
Что нового
Add support for more message types (`m.notice`, `m.emote`) I also changed it so that things like join/leave messages and death messages show as `m.notice` instead of normal `m.text`
beta

MatrixSRV 0.0.4

0.0.4
27 февр. 2026 г.25Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11bukkit, paper, purpur, spigot
Скачать
Что нового
Adds simple Support for forwarding `/me` commands
beta

MatrixSRV 0.0.3

0.0.3
15 февр. 2026 г.26Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11bukkit, paper, purpur, spigot
Скачать
Что нового
- Misc Bug fixes (check commit history) - Added `/matrixsrv` command and subcommands - Put license directly in the code good luck have fun!
beta

MatrixSRV 0.0.2

0.0.2
11 февр. 2026 г.27Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11bukkit, paper, purpur, spigot
Скачать
Что нового
First version of MatrixSRV. This is the base plugin. Nothing more nothing less. Enjoy!