summary refs log tree commit diff homepage
path: root/config.json
diff options
context:
space:
mode:
authordestruc7i0n <dscdsouza@outlook.com>2020-02-04 00:51:15 -0500
committerdestruc7i0n <dscdsouza@outlook.com>2020-02-04 00:51:15 -0500
commit9ac2bbe9781f7ab5a798621cc9dd46b4ff8befda (patch)
treef186c69fb565b09fa30357aaea572ad7f71b91bd /config.json
parentMerge pull request #37 from destruc7i0n/webhooks (diff)
downloadshulker-9ac2bbe9781f7ab5a798621cc9dd46b4ff8befda.tar.gz
shulker-9ac2bbe9781f7ab5a798621cc9dd46b4ff8befda.zip
Refactor and rebuild to TypeScript
Diffstat (limited to '')
-rw-r--r--config.json19
1 files changed, 17 insertions, 2 deletions
diff --git a/config.json b/config.json
index e845cf1..60ab378 100644
--- a/config.json
+++ b/config.json
@@ -15,11 +15,26 @@
     "IS_LOCAL_FILE": false,
     "LOCAL_FILE_PATH": "/usr/home/minecraft_server/logs/latest.log",
 
+    "SHOW_INIT_MESSAGE": true,
+
     "ALLOW_USER_MENTIONS": false,
+    "ALLOW_HERE_EVERYONE_MENTIONS": false,
+    "ALLOW_SLASH_COMMANDS": false,
+    "SLASH_COMMAND_ROLES": [],
 
     "WEBHOOK": "/minecraft/hook",
-    "REGEX_MATCH_CHAT_MC": "\\[Server thread/INFO\\]: <([^>]*)> (.*)",
+    "REGEX_SERVER_PREFIX": "\\[Server thread/INFO\\]:",
+    "REGEX_MATCH_CHAT_MC": "^<([^>]*)> (.*)",
     "REGEX_IGNORED_CHAT": "packets too frequently",
     "RCON_RECONNECT_DELAY": 10,
-    "DEBUG": false
+    "DEBUG": false,
+
+    "SERVER_NAME": "Shulker",
+    "SERVER_IMAGE": "",
+    "SHOW_PLAYER_CONN_STAT": false,
+    "SHOW_PLAYER_ADVANCEMENT": false,
+    "SHOW_PLAYER_DEATH": false,
+    "SHOW_PLAYER_ME": false,
+    "DEATH_KEY_WORDS": ["shot", "fell", "death", "died", "doomed", "pummeled", "removed", "didn't want", "withered", "squashed", "flames", "burnt", "walked into", "bang", "roasted", "squished", "drowned", "killed", "slain", "blown", "blew", "suffocated", "struck", "lava", "impaled", "speared", "fireballed", "finished", "kinetic"]
 }
+