Skip to main content

FoundryVTT

You can integrate FTG settlements into Foundry VTT.

Features:

  • Import settlements from Fantasy Town Generator, with changes kept in sync.
  • Imports the map, buildings, people, and factions.
  • Update notes and favourites.
  • Start events.
  • Show players where they are on the map.
  • Simulate the time of day.

Examples

The map view:

map view

Layers:

layers

Buildings and people:

buildings and people

Installation

Using this option will allow you to download updates through foundry. First, open Foundry VTT, and navigate to the 'Add-On Modules' view. Then, click the 'install module' button. In the 'Manifest URL' field, enter

https://raw.githubusercontent.com/thomasjallerton/towngenerator-foundrymodule/main/module.json

and then press install. Done!

Open the modules:

add on modules

Enter the path to json:

enter URL view

Importing a settlement

Ensure you have the module installed before doing this.

1. Set the iframe allowed origins

In the premium settings, go to the Foundry VTT tab. Here you need to add the URL origin(s) that you use to access Foundry. To determine what this origin is, open Foundry, and press the "Import from FTG" button on the Scenes menu. A dialog will appear highlighting the origin:

import settlement foundry

Then, just add this to the list in the premium settings:

foundry allowed origin

This step just needs to be done once. If you can see the map, but can't interact with anything, then that usually means that this has been set incorrectly. Double-check the origin in foundry as described above.

2. Allow public access for the settlement

For the players to see the settlement, you need to enable public access (any level is fine).

3. Export from FTG

Press the Export to Foundry VTT button from the settlement:

foundry allowed origin

If you've done the above steps, you'll see:

export to foundry

Press the copy to clipboard button.

4. Import into Foundry VTT

Press the "Import from FTG" button on the Scenes menu. A dialog will appear - paste the copied import config into the text area:

import in foundry

Press import, and a new scene will be created. When you navigate to this scene, you should see a fully interactive map.