Go to file
Nikky Ai c5fd53a00c add timeous to commands 2018-02-25 00:51:56 +01:00
1.7.10 how did i miss this.. ? 2018-02-22 18:28:24 +01:00
1.10.2 improve docs and reconnection handling 2018-02-21 22:34:16 +01:00
1.11.2 improve docs and reconnection handling 2018-02-21 22:34:16 +01:00
1.12.2 add more know properties to the RESPONSE template 2018-02-24 21:03:02 +01:00
core add timeous to commands 2018-02-25 00:51:56 +01:00
gradle/wrapper oops 2018-01-19 17:19:56 -05:00
.gitignore refactor message stream 2018-02-17 22:45:48 +01:00
Jenkinsfile add 1.7.10 to jenkins 2018-02-17 23:53:45 +01:00
LICENSE Initial commit 2018-01-19 16:29:50 -05:00
README.md improve docs and reconnection handling 2018-02-21 22:34:16 +01:00
build.gradle curseforge uploaded recompiled the wrong files and everything broke 2018-02-19 20:42:12 +01:00
gradle.properties refactor config and add connect / disconnect announcements as debug option 2018-02-21 03:13:49 +01: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 1.7.10 2018-02-17 23:52:29 +01:00

README.md

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: #matterbridge @ irc.esper.net

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"
    Buffer=1000
    RemoteNickFormat="{NICK}"
    ShowJoinPart = true

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 as if from the MC server console)

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

Response command

{
    "alias": "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!
/config <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.

Downloads

https://github.com/elytra/MatterLink/releases

https://ci.elytradev.com/job/elytra/job/MatterLink/job/master/lastSuccessfulBuild/ - may be unstable

https://minecraft.curseforge.com/projects/matterlink

Dependencies

Setup

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