Restricting "send to Deck"

So I want to be able to limit “send to deck” right click menu options for cards based on the player that created and used the card. I tried restrict commands but I could not get it to work. Any advice?

Hi, I fought to find that one :slight_smile:

First, uncheck the “Include command to send entire deck to another deck”. It can’t be restricted.
Then, add a Deck Global Key Command to that deck :
/Name will be displayed as an option to the deck, when you right click : Send to Deck A
/Global Command: SendToA
/Matching properties: empty
/Affect: All pieces

Third, add these 2 traits to each card of the deck, probably through a prototype:
-Return to Deck
/Menu Text: This can be hidden or disabled for individual cards
/Keyboard Command: SendToA
/Select Deck: Deck A (or if you prefer, choose destination at game time)

-Restrict Command
/Restriction Disable (or hide ?)
/Restrict when properties match: {map =~ “cards”||map =~ “hand”||map =~ “research”} Indeed, the restriction MUST be set to the option is NOT visible once the card has been sent to a map. Example.
/Restrict these Key Commands: SentToA

Ensure the Restrict Command is BELOW the Return to Deck.
You can then adapt all the restrictions you want, so the Deck option may not be used by all the players.
Tell me if you have issues with this.