| Latest version | 2.2.7 |
|---|---|
| Minimum Core | 13 |
| Compatible Core | 14 |
| Last updated | 3 months ago |
| Created | 3 years ago |
| Authors |
|
| Languages |
English |
| Systems | All systems |
| Project source | Project URL |
| Report bugs | Bug tracker URL |
| Read-me | Readme URL |
| Changelog | Changelog URL |
Card Hands List is a system-agnostic module for Foundry VTT that provides quick access to Card Hands the user owns. The module adds a collapsible list of Card Hands placed above the Players List, blending in with the core Foundry VTT UI.
Card Hands List is a system-agnostic module for Foundry VTT that provides quick access to Card Hands the user owns. The module adds a collapsible list of Card Hands placed above the Players List, blending in with the core Foundry VTT UI.CONFIG.CardHandsList.menuItems.cardContextOptions or CONFIG.CardHandsList.menuItems.handContextOptions in the renderCardActionsSheet or renderHandActionsSheet hook events or modify options.buttonActions in those same hook events. For consistency these actions use the same identical structure as Foundry VTT's ContextMenuEntry, which means they could also be referenced for an actual ContextMenu use case. Example:Hooks.on('renderHandActionsSheet', (sheet, html) => {
// If Complete Card Management (CCM) is installed and active, add the scry button.
if (game.modules.get('complete-card-management')?.active) {
const buttonActions = sheet.options.buttonActions ?? CONFIG.CardHandsList.menuItems.handContextOptions;
// Create a CCM Scry Context Menu Item
const newButton = {
name: game.i18n.localize('CardHandsList.ScryDeck'),
icon: "<i class='fa-solid fa-eye'></i>",
condition: (el) => {
// If the hand has a default deck configured, display the scry button
const hand = game.cards.get(el[0].dataset.id);
return game.cards.get(hand.getFlag(handsModule.id, 'default-deck'));
},
callback: async (el) => {
const hand = game.cards.get(el[0].dataset.id);
const deck = game.cards.get(hand.getFlag(handsModule.id, 'default-deck'));
// Call CCM's scry function.
ccm.api.scry(deck);
}
};
// If the new button hasn't already been added during a previous render, add it.
if (!buttonActions.some(a => a.name === newButton.name)) {
buttonActions.splice(2, 0, newButton);
sheet.render();
}
}
});
To install this package, open your Foundry Setup screen and navigate to your Module tab and click the Install Module button.
From there, you can either search for the package unique name: card-hands-list or copy its manifest URL:
And paste it to the input box at the bottom of your window.

You can install this package directly to your Forge account.