Hi! I’m new to Multiplay, I have made a server and hosted it on multiplay where I only need to host a dedicated server now the server is working fine. so the issue is it stopped after some time. so I want to know How to keep it running for 24 hours or How should I start it when a player tries to Join and it’s off.
Our default TTL for a server is 1 hour. If you’re using our Allocation service (or our matchmaker service who will call our allocation API), Multiplay will automatically start a server to host a player, and shut it down if it doe not receive a new allocation request. That is the usual flow when using our product!
We will eventually offer customizable TTL (ie: keep servers alive for 24 hours). In the meantime, if you need to set a custom TTL for a given Fleet, I would kindly ask you to send us a support ticket, so we can keep track of this.
Let me know if you have any further question,
alexis
I would like to ask, I want to distribute through MatchMaker, and then connect through PhotonFusion, so in order for
FusionServer and Client to continue the game, UGS Server must also be kept open until the player’s game ends.
I am not sure I fully understand your question, but there goes: in your context, you would matchmake your players together, then allocate a game server, and ensure the connection between client and server with Photon. The complete flow is described here, in the context of the BR200 sample we’ve developed with Photon
Support ticket refers here to Unity support team, as we currently do not expose customizable TTL.
I also tested the FusIonBr200 myself,
So Br200 also has custom TTL through Unity support team?
After matching players through MatchMaker,
The server will not be disconnected.
So if a player After pairing is complete through the matchmaker, will the server exist until the end of the game?
The situation on my side is,
After the server pairing is completed, the Allocated status will still be displayed.
And if a player is disconnected, will the server wait for an hour?
This is very important to me because the game I am currently working on is a 1v1 card battle game.
Technology expected to be used: UGS + MatchMaker + PhotonFusion
1.I need the matchmaker to be paired, the server can continue to run until the end of the game
2.If the player is disconnected, there will be a mechanism for reconnecting
Is there a recommended way to do this?
That is correct, the server will be kept alive for an hour if it does not receive a new allocation. Of course, once it receives one, the countdown is reset.
We don’t have a mechanism to handle reconnection, this is something your game client and your netcode should do. As long the server is allocated and return an IP, your game client can connect to it