diff options
Diffstat (limited to '')
-rw-r--r-- | config.example.json | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/config.example.json b/config.example.json new file mode 100644 index 0000000..4225ff4 --- /dev/null +++ b/config.example.json @@ -0,0 +1,46 @@ +{ + "PORT": 8000, + "DEBUG": false, + + "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": true, + "LOCAL_FILE_PATH": "/usr/home/minecraft_server/logs/latest.log", + "FS_WATCH_FILE": false, + + "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_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", + "SERVER_IMAGE": "", + "HEAD_IMAGE_URL": "https://mc-heads.net/avatar/%uuid%/256", + "DEFAULT_PLAYER_HEAD": "c06f89064c8a49119c29ea1dbd1aab82", + "SHOW_SERVER_STATUS": false, + "SHOW_PLAYER_CONN_STAT": false, + "SHOW_PLAYER_ADVANCEMENT": false, + "SHOW_PLAYER_DEATH": false, + "SHOW_PLAYER_ME": false +} |