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.

mc_custom_code:

Config file section

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

The mc_custom_code: section of your config is a list where you register your custom code classes for MC.