Skip to content

Ball End Modes

Certain modes typically run on game end. MPF has a lot of built-in modes for this purpose. You can omit any of them or replace them with your own mode.

Ball end modes delay the ball ending process. If you want your own mode to delay the ball ending process you can start the with the following config:

##! mode: custom_bonus
#config_version=5
mode:
  start_events: ball_ending     # start on ball ending process
  use_wait_queue: true          # delay ball ending
  priority: 500                 # determines the order of ball end modes
  stop_events: stop_my_mode     # post this event to stop the mode and continue the ball ending process

Ball ending will be delayed until your mode stops so make sure that your mode ends eventually or the game will be stuck. In the example above your config need to post stop_my_mode or, if you are writing code, stop your mode in code.

Showing slides on mode end

See Ball Start and End Behavior.

Bonus Mode

Score multipliers and evaluate them into a bonus at the end of the ball. See End of Ball Bonus for details.


Something missing or wrong? You can fix it!

This website is edited by people like you! Is something wrong or missing? Is something out of date, or can you explain it better?

Please help us! You can fix it yourself and be an official "open source" contributor!

It's easy! See our Beginner's guide to editing the docs.

Page navigation via the keyboard: < >

You can navigate this site via the keyboard. There are two modes:

General navigation, when search is not focused:

  • F , S , / : open search dialog
  • P , , : go to previous page
  • N , . : go to next page

While using the search function:

  • Down , Up : select next / previous result
  • Esc , Tab : close search
  • Enter : go to highlighted page in the results