create-group
Create a shared party group actor for D&D 5e Foundry VTT, enroll world actors as members, set default ownership, and seed coin for a communal stash.
Instructions
Create a dnd5e GROUP actor (type:group) — the shared party stash / travel group. Enrolls world actors as members, can grant every player default ownership (defaultOwnership:'owner' = the classic shared stash), seed shared coin, and optionally crown it the world's PRIMARY PARTY. Member resolution is fail-closed: one bad name and nothing is created. Stock the inventory afterwards with add-item / import-item against the group.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| img | No | Portrait image path under Data/ or URL. A path that does not resolve on the server is dropped (dnd5e stamps its default group art) with a warning. | |
| name | Yes | Name of the group actor, e.g. "The Party". | |
| members | No | World actors to enroll (name or id; partial name match supported). FAIL-CLOSED: a member that does not resolve, or is itself a group, rejects the whole create — nothing is made. | |
| summary | No | One-line summary shown in group embeds. | |
| currency | No | Starting shared coin (whole non-negative amounts per denomination). | |
| folderName | No | Actor-sidebar folder to file the group under (created if missing). | |
| description | No | Full description (HTML allowed) shown on the group sheet. | |
| defaultOwnership | No | The document's DEFAULT ownership — what every player gets. 'owner' is the shared party stash: all players can open it and move items. Per-user grants: set-actor-ownership. | |
| makePrimaryParty | No | Also point the world's dnd5e primaryParty setting at this new group (the party shown in the players sidebar; XP awards and party overviews target it). |