The Multiplay Game Server Hosting platform uses an allocation system to handle game server matches.
You can also use the deallocation flow to handle the end of matches. However, your game must meet one of the following criteria to leverage the deallocation flow:
- Your matchmaker is stateful (that is, it tracks the state of currently ongoing matches).
- Your game server communicates directly with the Multiplay API to send a deallocate request after a game match concludes.
If you need to restart your game server after each match ends, you can follow the deallocate request with a stop request. You can have your server exit with code, which automatically triggers Multiplay to deallocate the game server.