This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Settings

Manage the plugin settings.

    Goal

    This guide assumes you are a CTF administrator and you understand the key concepts. Before or during your event, you may need to configure or update the plugin. At the moment, you can configure the total amount of mana for Source or and the chall-manager API URL.

    Configure with environment variables

    To configure the plugin at CTFd startup, you can use the next environment variables:

    VariableDefaultDescription
    PLUGIN_SETTINGS_CM_API_URLhttp://localhost:8080/api/v1URL of Chall-Manager API
    PLUGIN_SETTINGS_CM_MANA_TOTAL0Maximum mana that source are allowed to use

    Configure in UI

    To configure or perform an update, Go to CTFd Admin Panel > Plugins > chall-manager > Settings, (1) select the text input, edit it, then (2) submit form, as shown below:

    Additional environment variables

    The plugin can optionally use 2 commons variables to configure cache or the logging level.

    VariableDefaultDescription
    REDIS_URL""The URI to connect to a Redis server. (e.g. redis://user:password@localhost:6379)
    LOG_LEVEL“INFO”Enumeration in INFO, DEBUG, ERROR, WARNING