From a5e932adbe930630d68a81d625b9499379eeeb63 Mon Sep 17 00:00:00 2001 From: destruc7i0n Date: Mon, 11 Feb 2019 20:00:25 -0500 Subject: Local file support --- config.json | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'config.json') diff --git a/config.json b/config.json index 6f2dee1..e845cf1 100644 --- a/config.json +++ b/config.json @@ -1,14 +1,22 @@ { "PORT": 8000, + "USE_WEBHOOKS": true, "WEBHOOK_URL": "DISCORD_WEBHOOK_URL_HERE", "DISCORD_TOKEN": "TOKEN_HERE", "DISCORD_CHANNEL_ID": "1234", "DISCORD_MESSAGE_TEMPLATE": "`%username%`: %message%", + "MINECRAFT_SERVER_RCON_IP": "127.0.0.1", "MINECRAFT_SERVER_RCON_PORT": 25575, "MINECRAFT_SERVER_RCON_PASSWORD": "password", "MINECRAFT_TELLRAW_TEMPLATE": "[{\"color\": \"white\", \"text\": \"<%username%> %message%\"}]", + + "IS_LOCAL_FILE": false, + "LOCAL_FILE_PATH": "/usr/home/minecraft_server/logs/latest.log", + + "ALLOW_USER_MENTIONS": false, + "WEBHOOK": "/minecraft/hook", "REGEX_MATCH_CHAT_MC": "\\[Server thread/INFO\\]: <([^>]*)> (.*)", "REGEX_IGNORED_CHAT": "packets too frequently", -- cgit 1.4.1