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.

plugin_config_player (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

test_player:
  event1: some_string
  event2:
    some: dict
    with: arbitrary
    values: '.'
  event5{foo==0}: some_string

test2_player:
  event2: slide1
  event3: slide2

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: 400
  game_mode: False

test_player:
  event1: some_string
  event4: something

test2_player:
  event2: slide1
  event3: slide2

show_player:
  start_show2: show2
  start_show3: show3
#show_version=5
- time: 0
  tests:
    some:
      key1: thing

- time: 1
  tests:
    some:
      key: value
      key1: value
  test2s:
    some:
      key1: value
#show_version=5
- time: 0
  test3s:
    test3_something:
      test3_key: test3_value

Show file examples

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

#show_version=5
- time: 0
  tests:
    some5:
      key5: thing

- time: 1
  tests:
    slide1:
      key6: value
      key6.1: value
    transition:
      key7: value2
      key7.1: value3
  test2s:
    some7:
      key7: value