Skip to content

Add Forfeit functionality #306

@darkshade9

Description

@darkshade9

When teams agree that the map should be forfeited, this would fall under one of two forms:

  1. Forfeit with Captains agreeing (like ready status)
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions