flamewave000 / dragonflagon-fvtt

DragonFlagon FoundryVTT Modules
BSD 3-Clause "New" or "Revised" License
64 stars 62 forks source link
foundry-vtt module modules

Dragon Flagon Mods for Foundry VTT

become a patron If you want to support me or just help me buy doggy treats! Also, you can keep up to date on what I'm working on. I will be announcing any new modules or pre-releases there for anyone wanting to help me test things out!

For Developers, please read these instructions

DF Curvy Walls

Forge Installs Latest Version Foundry Hub Endorsements
New wall tools for drawing walls along a Bézier curve, an ellipse, or a rectangle.

Library: DF Module Buttons

Forge Installs Latest Version Foundry Hub Endorsements
Library that provides a way for modules to register controls outside of the scene layer controls.

DF Chat Enhancements

Forge Installs Latest Version Foundry Hub Endorsements
Various enhancements to the chat. Roll types as buttons, Adventure Logs, chat message editing, and chat archiving.

DF Settings Clarity

Forge Installs Latest Version Foundry Hub Endorsements
Displays a tag next to each module setting, indicating if it is a World setting (GM Only) or a client setting (Per User).

DF Active Lights

Forge Installs Latest Version Foundry Hub Endorsements
Allows you to animate the various properties of a light, such as emission angle, color, or direction.

DF Scene Enhancement

Forge Installs Latest Version Foundry Hub Endorsements
A few enhancements to scene management for players and GMs.

DF Quality of Life

Forge Installs Latest Version Foundry Hub Endorsements
Various small self-contained modifications to improve life in FoundryVTT.

DF Template Enhancements

Forge Installs Latest Version Foundry Hub Endorsements
Various enhancements to the FoundryVTT Templates layer. This brings different forms of template grid highlighting and auto-targetting features.

DF Manual Rolls

Forge Installs Latest Version Foundry Hub Endorsements
A niche tool for entering the results of dice manually. Good for in-person games, or for people who just like rolling real dice.

DF User Logger

Forge Installs Latest Version Foundry Hub Endorsements
User login/logout module that adds an expiring message to the chat log when a user logs in/out of the server.

DF Flags Editor

Forge Installs Latest Version Foundry Hub Endorsements

DragonFlagon FVTT Enhancement Suite

DragonFlagon Enhancement Suite Patch for Foundry VTT


For Developers

If you wish to contribute to any modules, please perform the following to build any module in the project.

Install NPM Packages

Within the root directory of the project, execute the following command

npm install

Setup Foundry Environment

If you wish to use all of the commands launch, devbuild and devwatch, you will need to initialize the full Foundry Environment. This also requires you to have the Node version of Foundry installed. This only needs to be done once, or after you move the Server or Data directories.

npm run env /path/to/foundryvtt /path/to/foundrydata

If you don't intend to use the launch command, then you can simply pass an empty string for the foundryvtt path.

npm run env "" /path/to/foundrydata

Set Target Module

To perform builds, you must set the current module target. This is done by running the following command with the desired target module's name.

npm run target df-curvy-walls

Commands

Once you have your environment and target module set up, you can use any of the following commands:

# General in-place build commands
npm run build    # Builds target module
npm run watch    # Watches files and builds target module
npm run clean    # Deletes target module build files

# Dev Environment build commands (requires data path to be set in .devenv)
npm run devbuild # Builds target module and outputs to Foundry module folder
npm run devwatch # Watches files and builds target module to Foundry module folder
npm run devclean # Deletes target module build files from the Foundry module folder

# Bundle/Release Commands
npm run stage    # Builds and bundles the target module without optimization
npm run prod     # Builds and bundles the target module with optimization
npm run tag      # Tags the current commit with the target module's name and version (ie. df_qol_1.0.0)

# Helpers
npm run launch   # Launches the Foundry Server (requires install path to be set in .devenv)
npm run release  # Executes `npm run lint && npm run tag && npm run prod`