Go to file
nikky 510123b6f5 buildscript cleanup for 1.10 and 1.11 2018-07-03 14:02:32 +02:00
1.7.10 added permisssion request commands 2018-06-25 14:12:14 +02:00
1.10.2 buildscript cleanup for 1.10 and 1.11 2018-07-03 14:02:32 +02:00
1.11.2 buildscript cleanup for 1.10 and 1.11 2018-07-03 14:02:32 +02:00
1.12.2 added permisssion request commands 2018-06-25 14:12:14 +02:00
Jankson@8771387a05 fix NPE in Jankson and finetune hjson loading 2018-06-26 19:08:36 +02:00
api@8e17cb9937 reduce INFO spam from messages 2018-06-30 22:49:59 +02:00
core buildscript cleanup for 1.10 and 1.11 2018-07-03 14:02:32 +02:00
gradle/wrapper add jankson dependency 2018-06-22 11:58:51 +02:00
.gitignore Added submodule api 2018-05-08 01:09:50 +02:00
.gitmodules add jankson dependency 2018-06-22 11:58:51 +02:00
Jenkinsfile Added submodule api 2018-05-08 01:09:50 +02:00
LICENSE fix 1.7.10 relations, update license 2018-03-08 16:01:20 +01:00
README.md add badges to top of readme 2018-06-28 06:16:44 +02:00
build.gradle add jankson dependency 2018-06-22 11:58:51 +02:00
gradle.properties added permisssion request commands 2018-06-25 14:12:14 +02:00
gradlew make gradlew exutable 2018-01-27 04:22:43 +01:00
gradlew.bat oops 2018-01-19 17:19:56 -05:00
matterbridge-sample.toml add more know properties to the RESPONSE template 2018-02-24 21:03:02 +01:00
settings.gradle add jankson dependency 2018-06-22 11:58:51 +02:00

README.md

Discord Discord Download 1.12.2 Jenkins Patreon

MatterLink

A Matterbridge endpoint for MC servers!

THIS MOD REQUIRES YOU TO ALSO RUN A MATTERBRIDGE RELAY https://github.com/42wim/matterbridge

Chat with us on IRC: #matterlink @ irc.esper.net

Downloads

Github All Releases

Jenkins

Files

Download 1.12.2

Download 1.11.2

Download 1.10.2

Download 1.7.10

Dependencies

Forgelin Files

Features

Custom bridge commands

including passthrough to MC!
Default commands: help, tps, list, seed, uptime

Commands are specified in JSON format as follows:

Passthrough command (executes the configured command from the MC server console)

"tps": {
    "type": "PASSTHROUGH",
    "execute": "forge tps",
    "permLevel": 0,
    "help": "Print server tps",
    "allowArgs": false
}

Response command

"uptime": {
    "type": "RESPONSE",
    "response": "{uptime}",
    "permLevel": 1,
    "help": "Print server uptime",
    "allowArgs": false
}

Command permissions

Higher numbers mean more permissions. Configured on a network-by-network basis.
For IRC, this is your hostmask.
For Discord, this is your userid (NOT the four-digit number.)

{
  "irc.esper": {
    "~DaMachina@hostname.com":1000
  }
}
  • Edit and reload the config file without restarting the server!
/bridge <connect|disconnect|reload>
    connect:    Connects the MC chat to the MatterBridge server
    disconnect: Disconnects the chat from the MatterBridge server
    reload:     Disconnects, reloads the config and custom command files, 
                then reconnects.

Setup

Requires the matterbridge config api section to be setup along these lines:

[api]
[api.local]
    BindAddress="0.0.0.0:4242" # or listen only to localhost: 127.0.0.1:4242
    #OPTIONAL (no authorization if token is empty)
    Token="mytoken" # leave this empty if you know its going to run on localhost only
    Buffer=1000
    RemoteNickFormat="{NICK}"
    ShowJoinPart = true

Now you just need to run MatterBridge on the server, the default configuration works with the provided sample.

Install matterbridge and try out the basic sample:

go get github.com/42wim/matterbridge
mv matterbridge-sample.toml matterbridge.toml
matterbridge

now start the server with matterlink (and forgelin )in the mods folder

and then RTFM!!! and configure all your needed gateways, endpoints etc

powered by wishful thinking