Update of the “External Actor Viewer” module (350$ or more, we can arrange that)
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 | Foundry Virtual Tabletop
External Actor Viewer, an Add-on Module for Foundry Virtual Tabletop
3 Replies
To be clear on this site through my local client I would like to be able to retrieve:
- Retrieve the jsons of all the actors
- Retrieve the json of the individual actor (by setting some query parameter probably)
- display on browser the sheet of the individual actor
Budget
I was thinking $400, but let me know if you are willing to work on it for something more.
If anyone would like to contribute to the bounty by adding anything, please write to me privately.
Depending on the effort, such as features, or cool technical solutions, or bug fixes not explicitly requested will count as "additional", and a small fee for the initiative will be assumed .
If there were problems in completing the commission , (family problems, etc.), but it is shown that some of the code has been developed, a portion of the commission is paid to compensate for the lost time.
Payment methods supported
Kofi, Patreon, Paypal, Stripe or any "non scammer" payment method...
No advance payment, if you can't prove to be a active member. Sorry for this, but there seems to be an increasing number of scammers in the server, but having a good reputation on various servers I think I can call myself an “honest” person.
Timeline
Preferrable: As fast as possible, but not mandatory...maybe for the 2025
Sent a DM
commission is been reopend, but here the original idea of how to implement it by Vauxs
The Vauxs idea is to have a small website inside the module that when navigated to (game.domain.com/modules/external) will get you the sheets. No need for any getters either since Foundry hosts the files directly. You can use Caddy to redirect any paths to that module if you want the URL to be nicer. (Caddy is a reverse proxy that lets you determine which servers get what domains or paths, basically. So stuff like foundry.domain.com gets port 30000 and minecraft.domain.com gets 25565)
Foundry by default hosts all files inside the user data folder for as long as the server is running. Thus, you can use Foundry as an indirect file hosting. As such, you can save an image or JSON of an actor to your assets and then it'll be available there to be read.
The only problem is retrieving "all actors" saved. But this is easily remedied by the nature of how the actors would be saved. Simply create an index file with each backup made and append to that index. And now you can reference the index as to what actors are available.
Also i just found out this very old module https://kakaroto/fvtt-module-api... maybe something like this to expose the entire API of FVTT is a better and more generic solution...