Config file section

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

The custom_code: section of your config is a list where you register your custom code classes. You can find an example here: custom_code (example config files). More documentation about custom_code can be found in the MPF developer documentation.