Constants

Constants is another configuration file that’s a bit more complicated. Generally you shouldn’t ever touch anything in here unless instructed to or you know exactly what you’re doing.

  • ttt:
    • regex: Named regex for each type of action listed

    • log_header: Full line of the header indicating the start of TTT logs

    • log_separator: Full line of the footer/separator indicating the end of TTT logs

    • utility_weapon_names: List of weapon names that count as utility

    • wallhack_name: Name of the wallhack item when purchased from the shop

  • jb:
    • regex: Named regex for each type of action listed

    • log_header: List of all 3 lines that indicate the start of JB logs

    • log_separator: List of all 3 lines that indicate the end of JB logs

    • utility_weapon_names: Pairs of utility names and their corresponding weapon names

    • utility_names: Utility names to ignore for gunplant detection

  • age:
    • regex: Named regex for each line in status

    • header: Full line of the header indicating the start of a status output

    • footer: Full line of the footer indicating the end of a status output

    • gameme:
      • playerinfo_url: URL to GameME player info redirect page without a trailing /.

      • game_code: Pairs of IPs and their corresponding game codes on GameME

  • connected_regex: Regex to detect ``Connected to <ip here>`` lines

  • error_threshold: Number of errors the program will attempt to recover from before exiting

  • github_release_latest: URL to latest GitHub releases page for STonitor