mpf-mc:
This is a config file reference. Click for instructions.
This page is reference material which explains every setting and option for this section of an MPF yaml config file. See the instructions for config files for formatting and other details. See our guide to config file examples for more examples of real configs in action.
Valid in | |
---|---|
machine config files | YES |
mode config files | NO |
The mpf-mc:
section of your config is where you configure options for
the MC itself.
Required Settings
All of these settings are required in the mpf-mc:
section. However,
MPF-MC includes a default config file called mcconfig.yaml
which
includes all these settings with their defaults. So you only need to
add/enter these if you want to change something from the default.
bcp_port:
Single integer value, default is 5050
.
This is the TCP port that the MC listens on for incoming BCP connections. If you change this from the
bcp_interface:
String, default is localhost
.
The interface to bind for the BCP connection.
fps:
Single integer value, default is 30
.
Limit the frames per second to fps
. This prevents using excessive CPU
for MPF MC.
allow_invalid_config_sections:
Single boolean value, default is True
.
Allow sections which are not known to MPF.
Something missing or wrong? You can fix it!
This website is edited by people like you! Is something wrong or missing? Is something out of date, or can you explain it better?
Please help us! You can fix it yourself and be an official "open source" contributor!
It's easy! See our Beginner's guide to editing the docs.
Page navigation via the keyboard: < >
You can navigate this site via the keyboard. There are two modes:
General navigation, when search is not focused:
- F , S , / : open search dialog
- P , , : go to previous page
- N , . : go to next page
While using the search function:
- Down , Up : select next / previous result
- Esc , Tab : close search
- Enter : go to highlighted page in the results