Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature to reject newly joined players access to change maps/settings. #73

Open
David52920 opened this issue Sep 11, 2020 · 2 comments
Open
Labels
enhancement New feature or request Server Issues affecting cadesim Server
Milestone

Comments

@David52920
Copy link
Collaborator

This would be useful, to reject any new watchers from changing the map accidentally or intentionally, while a round is occurring.

Perhaps when a user leaves safezone or first point is taken, get all players involved (by IP address preferably), after that anyone else cannot have access to change maps/settings. Reset after each round.

@David52920 David52920 added Server Issues affecting cadesim Server enhancement New feature or request labels Sep 11, 2020
@David52920 David52920 changed the title Feature to allow only users in battle to have access to change maps/settings. Feature to reject newly joined players access to change maps/settings. Sep 11, 2020
@plaza-in-a-heatwave
Copy link
Owner

plaza-in-a-heatwave commented Sep 13, 2020

Possible implementation is --prevent-changes-from-new-players a option, which might take the following values:

  • off (everyone can change maps/vote)
  • after-first-point (players present when first point is taken)
  • after-first-exit-safe (players present when first player exits safe)

Maybe also a related --make-new-players-spectators option? when on, new players cannot leave the safe zone

  • off (everyone can join the board at any time)
  • after-first-point
  • after-first-exit-safe

@David52920
Copy link
Collaborator Author

Possible implementation is --prevent-changes-from-new-players a option, which might take the following values:

  • off (everyone can change maps/vote)
  • after-first-point (players present when first point is taken)
  • after-first-exit-safe (players present when first player exits safe)

Maybe also a related --make-new-players-spectators option? when on, new players cannot leave the safe zone

  • off (everyone can join the board at any time)
  • after-first-point
  • after-first-exit-safe

First option seems to be more doable, with second option it prevents players who accidentally disconnect or crash from continuing to play current game, otherwise would need to restart.

On somewhat related topic;
Possible solution for players who disconnect and other player continues grabbing points, we can have some type of commands;

/pausepoints <- stops adding points for both teams until another command is called
/resumepoints <- resumes point counting for both teams.

@plaza-in-a-heatwave plaza-in-a-heatwave modified the milestones: 1.9.93, 1.9.94 Oct 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Server Issues affecting cadesim Server
Projects
None yet
Development

No branches or pull requests

2 participants