export_pack
Export campaign content as a portable JSON pack containing NPCs, locations, quests, and encounters. Create selective exports by entity type or location filter, or generate full campaign backups for data preservation.
Instructions
Export campaign content as a portable compendium pack.
Creates a JSON pack file containing selected campaign entities (NPCs, locations, quests, encounters). Supports selective export by entity type, location filter, or full campaign backup.
The pack is saved to the packs/ directory inside the data folder.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the exported pack | |
| description | No | Pack description | |
| author | No | Pack author | |
| tags | No | Comma-separated tags (e.g., 'horror,undead,ravenloft') | |
| entity_types | No | Comma-separated entity types to include: npcs, locations, quests, encounters. Omit for all. | |
| location_filter | No | Only include entities associated with this location (case-insensitive substring match) | |
| full_backup | No | If true, export ALL entities plus game state and sessions as a full backup |