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.

config_loader (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.

#config_version=5
modes:
  - mode1
  - mode2

show_player:
  event4: show1


shows:
  test_show:
    - duration: 1

Mode config examples

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

Note that there are multiple mode config examples here. You might not necessarily use more than one in your machine.

#config_version=5

mode:
  priority: 100
  game_mode: False

show_player:
  event6: mode1_show
#show_version=5

- time: 0
  bananas:
    banana2: express
- time: 2
#config_version=5

event_player:
  test_event: another_event

shows:
  game_show:
    - duration: 1
#config_version=5
mode:
  priority: 200
  game_mode: False

Show file examples

Here are some example show files that go along with the above config(s).

#show_version=5

- time: 0
  bananas:
    banana1: express
- time: 2