title | description | published | date | tags | editor | dateCreated |
---|---|---|---|---|---|---|
Development |
The development section |
true |
2022-05-19 13:21:03 UTC |
markdown |
2020-10-19 14:47:03 UTC |
This page acts as a directory for the Development section of the wiki.
Our big page of FAQs and starting out Gotchyas.
- Is there hook documentation?
- How do I extend Foundry Core behavior without a hook?
- How do I make an API available to other modules?
- What is a Flag/Setting?
- My development package doesn't show up in Foundry!
- Common JS terminology
A checklist of best practices in the Foundry VTT Package Development space.
- Release and Update conventions
- Localization
- Working with Files and Imports
- Module APIs and Dependencies
- Common Code Practices
- Overwriting Foundry Core Behavior
A deep dive about how Foundry VTT handles installing and updating packages with recommendations and best practices.
- How does Foundry know which version of my package to install?
- Are users able to update to incompatible package versions?
- How do I ensure that users can install a previous version of my package?
A guide dedicated to three methods of storing data from a module's perspective.
- Data Storage decision flowchart
- CRUD for Flags
- CRUD for Settings
- Settings Menus
- JSON and FileUpload
The powerhouse of Foundry's UI framework, FormApplication has a lot of nuances discussed in this guide.
- Dialogs vs FormApplications
- What can a FormApplication do?
- Defining and using a FormApplication subclass
- FormApplication options
An in-depth guide to using the Dialog UI class.
- Setting the Content
- Styling a Dialog
- Defining Buttons for input
A page dedicated to explaining the concepts behind the Active Effect API.
We've compiled a lot of the most asked questions with some answers in this guide to working with the 0.8.x Document API.
- What is a Document?
- How do I CRUD Documents?
- What are the main diffs between 0.7.x and 0.8.x?
This section does not aim to replace the official API documentation.
Package development related guides and resources, and specific API examples.
Lists of packages, recommended modules not related to developing modules.