summary refs log tree commit diff homepage
path: root/src/Config.ts
blob: 485d6ae848194ca9c431a627cd7145934c3953de (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
48
49
export interface Config {
  PORT: number
  DEBUG: boolean

  USE_WEBHOOKS: boolean
  WEBHOOK_URL: string
  IGNORE_WEBHOOKS: string
  DISCORD_TOKEN: string
  DISCORD_CHANNEL_ID: string
  DISCORD_CHANNEL_NAME: string
  DISCORD_MESSAGE_TEMPLATE: string

  MINECRAFT_SERVER_RCON_IP: string
  MINECRAFT_SERVER_RCON_PORT: number
  MINECRAFT_SERVER_RCON_PASSWORD: string
  MINECRAFT_TELLRAW_DOESNT_EXIST: boolean
  MINECRAFT_TELLRAW_DOESNT_EXIST_SAY_TEMPLATE: string
  MINECRAFT_TELLRAW_TEMPLATE: string

  IS_LOCAL_FILE: boolean
  LOCAL_FILE_PATH: string
  FS_WATCH_FILE: boolean

  PATH_TO_MINECRAFT_SERVER_INSTALL?: string
  YOUR_URL?: string

  SHOW_INIT_MESSAGE: boolean

  ALLOW_USER_MENTIONS: boolean
  ALLOW_HERE_EVERYONE_MENTIONS: boolean
  ALLOW_SLASH_COMMANDS: boolean
  SLASH_COMMAND_ROLES: string[]

  WEBHOOK: string
  REGEX_SERVER_PREFIX: string
  REGEX_MATCH_CHAT_MC: string
  REGEX_DEATH_MESSAGE: string
  REGEX_IGNORED_CHAT: string

  SERVER_NAME: string
  SERVER_IMAGE: string
  HEAD_IMAGE_URL: string
  DEFAULT_PLAYER_HEAD: string
  SHOW_SERVER_STATUS: boolean
  SHOW_PLAYER_CONN_STAT: boolean
  SHOW_PLAYER_ADVANCEMENT: boolean
  SHOW_PLAYER_DEATH: boolean
  SHOW_PLAYER_ME: boolean
}