fix readme
This commit is contained in:
parent
41454b533d
commit
25627c138a
10
README.md
10
README.md
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue