summary refs log tree commit diff homepage
path: root/config.example.json
diff options
context:
space:
mode:
authordestruc7i0n <destruc7i0n@users.noreply.github.com>2021-12-31 13:07:22 -0500
committerdestruc7i0n <destruc7i0n@users.noreply.github.com>2021-12-31 13:07:22 -0500
commite489d05f1691c6d15dfde2138cc55e40265fe6f1 (patch)
treeb9f4d0c40eee600de557158742806d0cbd7e7c2f /config.example.json
parentfallback to bot message if webhook fails (diff)
parentMissed an old 1.12 death message in the regex (diff)
downloadshulker-e489d05f1691c6d15dfde2138cc55e40265fe6f1.tar.gz
shulker-e489d05f1691c6d15dfde2138cc55e40265fe6f1.zip
Merge branch 'death-message-regex' of https://github.com/MageLuingil/shulker into MageLuingil-death-message-regex
Diffstat (limited to 'config.example.json')
-rw-r--r--config.example.json34
1 files changed, 2 insertions, 32 deletions
diff --git a/config.example.json b/config.example.json
index c7deb0d..4225ff4 100644
--- a/config.example.json
+++ b/config.example.json
@@ -31,6 +31,7 @@
   "WEBHOOK": "/minecraft/hook",
   "REGEX_SERVER_PREFIX": "\\[Server thread/INFO\\]:",
   "REGEX_MATCH_CHAT_MC": "^<([^>]*)> (.*)",
+  "REGEX_DEATH_MESSAGE": "^[\\w_]+ (died|drowned|blew up|fell|burned|froze|starved|suffocated|withered|walked into a cactus|experienced kinetic energy|discovered (the )?floor was lava|tried to swim in lava|hit the ground|didn't want to live|went (up in flames|off with a bang)|walked into (fire|danger)|was (killed|shot|slain|pummeled|pricked|blown up|impaled|squashed|squished|skewered|poked|roasted|burnt|frozen|struck by lightning|fireballed|stung|doomed))",
   "REGEX_IGNORED_CHAT": "packets too frequently",
 
   "SERVER_NAME": "Shulker",
@@ -41,36 +42,5 @@
   "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"
-  ]
+  "SHOW_PLAYER_ME": false
 }