Setup
A config file is autogenerated on first launch at config/matrix-minecraft-bridge.json.
Appservice mode
Edit the config:
- change
server_urlto where the bridge can reach the homeserver, - and
server_nameto your Matrix server name.
Write an appservice registration.yaml like:
id: minecraft
url: "http://localhost:37182"
as_token: CHANGEME
hs_token: CHANGEME
sender_localpart: minecraftbot
namespaces:
users:
- exclusive: true
regex: "@minecraft_.*"
where as_token and hs_token should match what's in the .json file and url is where the homeserver can reach the bridge.
Then register the appservice: some examples here.
Bot mode (per-message profiles)
Edit the config:
- set
as_tokento your bot's access token, - remove
hs_token(the entire line), - set
server_urlandserver_nameas before.
Start the Minecraft server.
Usage
Invite @minecraftbot:example.org (or your bot's mxid) to a public (only needs to be public for appservice) unencrypted room.
Minecraft messages will be bridged to the Matrix room, and vice-versa.
Run /mxmsg "@username:example.org" <message> to send a message to someone on Matrix. Won't work in bot mode

External resources
Featured versions
See allProject members

grgergo
Owner
Technical information
License
Apache-2.0
Client side
unsupported
Server side
required
Project ID
