Skip to content

Lock piles from being viewed without owner consent #2222

@brine

Description

@brine

From a facebook community post:

Is there any appetite for preventing your opponent from looking at your deck without your consent? We have a small band of players/accounts that do this on a regular basis. I am proposing making it hidden zone that can only be viewed after granting permission by the user explicitly. Thoughts?

From Discord:

I might have asked this previously, but is there a way to lock the Decks so that player A can't right-click on player B's deck and look at > all cards?

Suggested solution:

Add a protected setting to piles, configurable in the game def, in-game pile submenu, and python. 3 states: - "True", "False", "Ask"
A Protected pile cannot be viewed by non-owner players.
The "Ask" state will send a view request dialog to the owner asking to grant permission to view.

Dialog options:

  • "Always" (sets the protected setting to False, pile behaves as it currently does).
  • "Yes" (Grants permission to view the pile via a network call. A message is posted in chat when they stopped looking (it already does this?). If the player wants to view again, they have to send a request again).
  • "No" (denies the request)
  • "Never" (sets the protected setting to True, will lock the deck from access, won't prompt the dialog anymore)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions