summary refs log tree commit diff homepage
path: root/config.example.json
diff options
context:
space:
mode:
authordestruc7i0n <destruc7i0n@users.noreply.github.com>2021-06-26 15:50:27 -0400
committerdestruc7i0n <destruc7i0n@users.noreply.github.com>2021-06-26 15:50:27 -0400
commit8f635bd0b0d47bf8ee68e2208d4407eaa0c95f84 (patch)
tree07db8177b1c29dbb7a17bf4e31a9234990bbf7bb /config.example.json
parentuse uuids for avatar requests with webhooks (diff)
downloadshulker-8f635bd0b0d47bf8ee68e2208d4407eaa0c95f84.tar.gz
shulker-8f635bd0b0d47bf8ee68e2208d4407eaa0c95f84.zip
only allow text messages to be handled
* move config.json to config.example.json
* update packages
Diffstat (limited to 'config.example.json')
-rw-r--r--config.example.json44
1 files changed, 44 insertions, 0 deletions
diff --git a/config.example.json b/config.example.json
new file mode 100644
index 0000000..78de668
--- /dev/null
+++ b/config.example.json
@@ -0,0 +1,44 @@
+{
+    "PORT": 8000,
+
+    "USE_WEBHOOKS": true,
+    "WEBHOOK_URL": "DISCORD_WEBHOOK_URL_HERE",
+    "IGNORE_WEBHOOKS": true,
+    "DISCORD_TOKEN": "TOKEN_HERE",
+    "DISCORD_CHANNEL_ID": "",
+    "DISCORD_CHANNEL_NAME": "#bot",
+    "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%\"}]",
+    "MINECRAFT_TELLRAW_DOESNT_EXIST": false,
+    "MINECRAFT_TELLRAW_DOESNT_EXIST_SAY_TEMPLATE": "<%username%> %message%",
+
+    "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_SERVER_PREFIX": "\\[Server thread/INFO\\]:",
+    "REGEX_MATCH_CHAT_MC": "^<([^>]*)> (.*)",
+    "REGEX_IGNORED_CHAT": "packets too frequently",
+    "DEBUG": false,
+
+    "SERVER_NAME": "Shulker",
+    "SERVER_IMAGE": "",
+    "SHOW_SERVER_STATUS": false,
+    "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"]
+}
+