When teams agree that the map should be forfeited, this would fall under one of two forms:
- Forfeit with Captains agreeing (like
ready status)
- Forfeit when all players abandon the match (zero remaining connections)
For handling 1, we can add a command that only Captains can use (like ready) named forfeit. If both type this in, the game calls match end immediately.
For handling 2, we would need a timer involved. We would need to also determine if a match is in progress or not (a simple team score could be enough, else so long as 1 round has been played in the match, it's considered a match-in-progress). Once the player count is zero, and a match in progress has been established, a timer begins. We can make this adjustable, default to 60 seconds. If no one else re-joins the server in that time period, once the 60 second timer is up, it calls match end.
When teams agree that the map should be forfeited, this would fall under one of two forms:
readystatus)For handling 1, we can add a command that only Captains can use (like
ready) namedforfeit. If both type this in, the game calls match end immediately.For handling 2, we would need a timer involved. We would need to also determine if a match is in progress or not (a simple team score could be enough, else so long as 1 round has been played in the match, it's considered a match-in-progress). Once the player count is zero, and a match in progress has been established, a timer begins. We can make this adjustable, default to 60 seconds. If no one else re-joins the server in that time period, once the 60 second timer is up, it calls match end.