summary refs log tree commit diff homepage
path: root/config.json
diff options
context:
space:
mode:
Diffstat (limited to 'config.json')
-rw-r--r--config.json4
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
+}