This is the dev documentation for an unreleased version of MPF!
This is the documentation for MPF 0.52+, 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.
Machine variables are similar to player variables, except that machine variables are machine-wide and persist between games. (In fact, machine variables can be configured to be saved to disk so they also persist between reboots of MPF.)
Like player variables, you can use machine variables in your config files, particularly in text display widgets, to show things on your display.
You can create your own machine variables in your configs. There are also several machine variables that are automatically created. Here’s a list of the machine variables that are “built in” and available for use in your configs: