summary refs log tree commit diff homepage
path: root/config.json
diff options
context:
space:
mode:
authordestruc7i0n <6181960+destruc7i0n@users.noreply.github.com>2019-02-11 20:06:46 -0500
committerGitHub <noreply@github.com>2019-02-11 20:06:46 -0500
commit1a4acf25e38d7ecbf4018abf089ca192358b3d14 (patch)
tree3041832d99401c104cd7706c9d0a6a9db9c8ed14 /config.json
parentMerge pull request #33 from destruc7i0n/webhooks (diff)
parentLocal file support (diff)
downloadshulker-1a4acf25e38d7ecbf4018abf089ca192358b3d14.tar.gz
shulker-1a4acf25e38d7ecbf4018abf089ca192358b3d14.zip
Merge pull request #37 from destruc7i0n/webhooks
Local file support
Diffstat (limited to '')
-rw-r--r--config.json8
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",