diff options
author | destruc7i0n <dscdsouza@outlook.com> | 2019-02-11 20:00:25 -0500 |
---|---|---|
committer | destruc7i0n <dscdsouza@outlook.com> | 2019-02-11 20:00:25 -0500 |
commit | a5e932adbe930630d68a81d625b9499379eeeb63 (patch) | |
tree | 3041832d99401c104cd7706c9d0a6a9db9c8ed14 /config.json | |
parent | Let's make this usable again! (diff) | |
download | shulker-a5e932adbe930630d68a81d625b9499379eeeb63.tar.gz shulker-a5e932adbe930630d68a81d625b9499379eeeb63.zip |
Local file support
Diffstat (limited to 'config.json')
-rw-r--r-- | config.json | 8 |
1 files changed, 8 insertions, 0 deletions
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", |