[COMPLETED] Update of the “External Actor Viewer” module

I need a module to expose the “json” of the actors of a world externally, as FVTT is closed at API level (for now), I found the solution implemented by this old module “External Actor Viewer(https://foundryvtt.com/packages/externalactor) acceptable, with the addition of displaying not only the sheet, but also just the json of the actors.

Module Settings
On the module settings make a button for exporting the json data of the actors of a specific world to a folder on the disk:
- Actor Folder: setting that specifies the uuid of the folder from which to retrieve the actors for export to disk (the standard simple actor export), the retrieval of actors must also be recursive in subfolders.
- Disk Folder Path: Path of the default folder (e.g. “data/external/${world_id}/actors), at each export it would be ideal that a folder in the format “YYYY-MM-DD_HH-mm-ss” be created (e.g. “data/external/${world_id}/actors/2024-11-11_23_42_16)
- [OPTIONAL] Limit: Numerical value indicating the number of backup folders to understand if the value is 5 it means that at the 6th time you click the export button, apart from the 4 most recent folders the others are deleted from the VM, by default the value should indicate that nothing is deleted, so maybe the "0" ?
Server support.
- JSON retrieval: Small application (probably a node js serve), in the same VM as FVTT that exposes via GETs the retrieval of jsons from the specific “most recent” folder (e.g. data/external/${world_id}/actors/2024-11_23_42_16/*). No authentication required , but maybe a mongodb integration in the future ?
- System sheet display: As the old “External Actor Viewer” module did, to allow actor sheet display, as external sheet or images
Systems
For now I am interested only in Dnd5e version 4 > , other systems could be requested with a separate fee, but this point only serves to indicate that if it were possible to try to prepare the module for multi-system managemen
External Actor Viewer, an Add-on Module for Foundry Virtual Tabletop
Was this page helpful?