Go to file
nikky 75a64e49ad adding version command for simplified debugging of user issues 2018-07-14 23:01:10 +02:00
1.7.10 cleanup gradle stuff 2018-07-11 23:29:02 +02:00
1.10.2 cleanup gradle stuff 2018-07-11 23:29:02 +02:00
1.11.2 cleanup gradle stuff 2018-07-11 23:29:02 +02:00
1.12.2 cleanup gradle stuff 2018-07-11 23:29:02 +02:00
Jankson@93ab86ee82 improve logging 2018-07-11 20:56:07 +02:00
api@75138cec00 improve logging 2018-07-11 20:56:07 +02:00
core adding version command for simplified debugging of user issues 2018-07-14 23:01:10 +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 remove attempts at cleanup 2018-07-07 14:42:40 +02:00
LICENSE fix 1.7.10 relations, update license 2018-03-08 16:01:20 +01:00
README.md update README 2018-07-08 02:46:15 +02:00
build.gradle cleanup gradle stuff 2018-07-11 23:29:02 +02:00
gradle.properties cleanup gradle stuff 2018-07-11 23:29:02 +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

includes pass-through to Minecraft commands!
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
    }
}

Acount Linking

To link your chat account to your minecraft uuid
execute !auth Username
make sure to use the proper username and command prefix, the system will then guide you through

internally the identity links are stored like so:

{ 
    /* username: NikkyAi */ 
    "edd31c45-b095-49c5-a9f5-59cec4cfed8c": { 
        /* discord id */ 
        "discord.game": [ 
            "112228624366575616"
        ]
    }
}

Command permissions

Higher numbers mean more permissions. Configured per uuid.

{
  "edd31c45-b095-49c5-a9f5-59cec4cfed8c": 9000
}

Reload

Edit and reload the config file without restarting the server!

/ml <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:

Local

If ou know the matterbridge will run on the same machine as the Minecraft Server

[api]
[api.local]
    BindAddress="127.0.0.1:4242" // Listens only for localhost
    #OPTIONAL (no authorization if token is empty)
    Token="" # Token left empty
    Buffer=1000
    RemoteNickFormat="{NICK}"
    ShowJoinPart = true

With this you need no extra configuration steps.. just run matterbridge and then start the minecraft server (or reload matterlink with command if it runs already)

Remote

If the matterbridge runs on a different machine

[api]
[api.local]
    BindAddress="0.0.0.0:4242"
    #OPTIONAL (no authorization if token is empty)
    Token="mytoken"
    Buffer=1000
    RemoteNickFormat="{NICK}"
    ShowJoinPart = true

you need to know the ip / domain of the matterbridge and the token used, enter them in the ´connection' section in the config and reload matterlink

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