Skip to content

Latest commit

 

History

History
24 lines (23 loc) · 923 Bytes

README.md

File metadata and controls

24 lines (23 loc) · 923 Bytes

Extension "LogAnalyser"

This is a default extension that is loaded in any case. It will scan your dcs.log for errors and react in several ways according to what happened. Currently these actions are implemented:

  • Restart the mission on server unlisting.
  • Print script errors to the audit channel (if configured).

Configuration

Per default, the extension does not need any configuration. But you can disable the auto-restart on unlisting like so:

MyNode:
  # [...]
  instances:
    DCS.release_server:
      # [...]
      extensions:
        LogAnalyser:
          restart_on_unlist: true  # enables the auto-restart on server when unlisting from the ED server list (default: false)
          message_unlist: 'Server is going to restart in {}!' # message to display to users on restarts
          warn_times: # times when to send the restart messages
            - 120
            - 60
            - 10