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:

Variable Default Description
PLUGIN_SETTINGS_CM_API_URL http://localhost:9090/api/v1 URL of Chall-Manager API
PLUGIN_SETTINGS_CM_MANA_TOTAL 0 Maximum 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: