diff options
author | destruc7i0n <6181960+destruc7i0n@users.noreply.github.com> | 2018-08-30 10:59:26 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-30 10:59:26 -0400 |
commit | e3f47e35372617d9d520b52543c499d21b186c22 (patch) | |
tree | 7b8cee8403ce5d8c0aea68149d46ee58efaa2c0d /config.json | |
parent | Merge pull request #21 from destruc7i0n/remove-ci (diff) | |
parent | Allow configurable discord format (diff) | |
download | shulker-e3f47e35372617d9d520b52543c499d21b186c22.tar.gz shulker-e3f47e35372617d9d520b52543c499d21b186c22.zip |
Merge pull request #29 from Arcensoth/master
Allow configurable message formats
Diffstat (limited to 'config.json')
-rw-r--r-- | config.json | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config.json b/config.json index d34d46a..ddf8cd8 100644 --- a/config.json +++ b/config.json @@ -2,12 +2,14 @@ "PORT": 8000, "DISCORD_TOKEN": "TOKEN_HERE", "DISCORD_CHANNEL_ID": "general", + "DISCORD_MESSAGE_TEMPLATE": "`%username%`:%message%", "MINECRAFT_SERVER_RCON_IP": "example.com", "MINECRAFT_SERVER_RCON_PORT": 25575, "MINECRAFT_SERVER_RCON_PASSWORD": "password", + "MINECRAFT_TELLRAW_TEMPLATE": "[{\"color\": \"white\", \"text\": \"<%username%> %message%\"}]", "WEBHOOK": "/minecraft/hook", "REGEX_MATCH_CHAT_MC": "\\[Server thread/INFO\\]: <([^>]*)> (.*)", "REGEX_IGNORED_CHAT": "packets too frequently", "RCON_RECONNECT_DELAY": 10, "DEBUG": false -} \ No newline at end of file +} |