summary refs log tree commit diff homepage
path: root/config.example.json
blob: 3b492037e0d2af04e3e9d10e3d328eaba0a09cf4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
  "DEBUG": false,

  "USE_WEBHOOKS": true,
  "WEBHOOK_URL": "DISCORD_WEBHOOK_URL_HERE",
  "IGNORE_WEBHOOKS": true,
  "DISCORD_TOKEN": "TOKEN_HERE",
  "DISCORD_CHANNEL_ID": "",
  "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,

  "PORT": 8000,
  "SHOW_INIT_MESSAGE": true,

  "ALLOW_USER_MENTIONS": false,
  "ALLOW_HERE_EVERYONE_MENTIONS": false,
  "ALLOW_SLASH_COMMANDS": false,
  "SLASH_COMMAND_ROLES_IDS": [],

  "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",
  "UUID_API_URL": "https://api.mojang.com/users/profiles/minecraft/%username%",
  "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
}