Warning

This is the dev documentation for an unreleased version of MPF!

This is the documentation for MPF 0.53+, 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.

scriptlets:

Config file section

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

The scriptlets: section of your config is where you list you custom code scriptlets. This has been deprecated with 0.50+. Use custom_code: instead. Scriptlets still work but will be removed eventually.