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

  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

  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_IGNORED_CHAT: string
  DEBUG: boolean

  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
  DEATH_KEY_WORDS: string[]
}