Warning

This is the dev documentation for an unreleased version of MPF!

This is the documentation for MPF 0.56, which is the “dev” (next) release of MPF that is a work-in-progress. Unless you’re specifically looking for this version, you probably want to use the version of documentation called “latest” which is for the latest released version of MPF. That documentation is at docs.missionpinball.org/en/latest.

flasher_player:

Config file section

Valid in machine config files YES
Valid in mode config files YES

Note

This section can also be used in a show file in the flashers: section of a step.

The flasher_player: section of your config is where you can flash lights. See Flasher player for details.

Optional settings

The following sections are optional in the flasher_player: section of your config. (If you don’t include them, the default will be used).

color:

Single value, type: string. Default: on

Set a color for flashing, if the flasher supports RGB coloring.

Color values may be a hex string (e.g. 22FFCC), a list of RGB values (e.g. [50, 128, 206]), a color name (e.g. turquoise), or a brightness value (i.e. AA or 120). MPF knows 140+ standard web color names, and you can define your own custom colors in the named_colors: section of your config. If you use brightness on an RGB light MPF will use the brightness for every channel. For instance brigness AA will result in color AAAAAA.

ms:

Single value, type: ms_or_token. Default: 100ms

Configures how long should that flasher be enabled.