credits_string

MPF machine variable

Holds a displayable string which shows how many credits are on the machine. For example, “CREDITS: 1”. If the machine is set to free play, the value of this string will be “FREE PLAY”.

You can change the format and value of this string in the credits: section of the machine config file.