Skip to content

Latest commit

 

History

History
111 lines (75 loc) · 3.09 KB

development.md

File metadata and controls

111 lines (75 loc) · 3.09 KB
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.

Basics and Best Practices

Our big page of FAQs and starting out Gotchyas.

Topics

  • 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.

Topics

  • 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.

Topics

  • 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?

Foundry Development Core Concept Guides

A guide dedicated to three methods of storing data from a module's perspective.

Topics

  • 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.

Topics:

  • 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.

Topics:

  • Setting the Content
  • Styling a Dialog
  • Defining Buttons for input

A page dedicated to explaining the concepts behind the Active Effect API.


I need help with 0.8 specifically

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.

Topics

  • What is a Document?
  • How do I CRUD Documents?
  • What are the main diffs between 0.7.x and 0.8.x?

Contribution Guide

Goals of /Development

This section does not aim to replace the official API documentation.

On Topic

Package development related guides and resources, and specific API examples.

Off Topic

Lists of packages, recommended modules not related to developing modules.