fix readme

This commit is contained in:
nikky 2018-05-23 23:43:36 +02:00
parent 41454b533d
commit 25627c138a
1 changed files with 4 additions and 6 deletions

View File

@ -44,8 +44,7 @@ Commands are specified in JSON format as follows:
Passthrough command (executes the configured command from the MC server console) Passthrough command (executes the configured command from the MC server console)
```json ```json
{ "tps": {
"alias": "tps",
"type": "PASSTHROUGH", "type": "PASSTHROUGH",
"execute": "forge tps", "execute": "forge tps",
"permLevel": 0, "permLevel": 0,
@ -57,8 +56,7 @@ Passthrough command (executes the configured command from the MC server console)
Response command Response command
```json ```json
{ "uptime": {
"alias": "uptime",
"type": "RESPONSE", "type": "RESPONSE",
"response": "{uptime}", "response": "{uptime}",
"permLevel": 1, "permLevel": 1,
@ -82,7 +80,7 @@ For Discord, this is your userid (NOT the four-digit number.)
``` ```
* Edit and reload the config file without restarting the server! * Edit and reload the config file without restarting the server!
``` ```
/config <connect|disconnect|reload> /bridge <connect|disconnect|reload>
connect: Connects the MC chat to the MatterBridge server connect: Connects the MC chat to the MatterBridge server
disconnect: Disconnects the chat from the MatterBridge server disconnect: Disconnects the chat from the MatterBridge server
reload: Disconnects, reloads the config and custom command files, reload: Disconnects, reloads the config and custom command files,
@ -98,7 +96,7 @@ Requires the matterbridge config api section to be setup along these lines:
[api.local] [api.local]
BindAddress="0.0.0.0:4242" # or listen only to localhost: 127.0.0.1:4242 BindAddress="0.0.0.0:4242" # or listen only to localhost: 127.0.0.1:4242
#OPTIONAL (no authorization if token is empty) #OPTIONAL (no authorization if token is empty)
Token="mytoken" Token="mytoken" # leave this empty if you know its going to run on the same machine as the minecraft server
Buffer=1000 Buffer=1000
RemoteNickFormat="{NICK}" RemoteNickFormat="{NICK}"
ShowJoinPart = true ShowJoinPart = true