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.

match_mode (example config files)

Machine config examples

Here are some example machine-wide config files that show real-world examples of how these configs are used.

Note that there are multiple machine config examples here. They’re just included to show different options. You wouldn’t actually use more than one.

#config_version=5

config:
  - config.yaml

modes:
  - high_score
  - service
#config_version=5

game:
  balls_per_game: 1

credits:
  free_play: no
  events:
    - event: add_credit
      type: award
      credits: 1
    - event: match_has_match
      type: award
      credits: winners

modes:
  - match
  - credits

Mode config examples

Here are some example mode config files that go along with the machine-wide config above.

#config_version=5

slide_player:
  match_has_match: match
  match_no_match: no_match

slides:
  match:
    - type: text
      text: asd
  no_match:
    - type: text
      text: asd