Git Product home page Git Product logo

dragonflagon-fvtt's Introduction

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!

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

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

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

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

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

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

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

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.

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.

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.

Forge Installs Latest Version Foundry Hub Endorsements

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
  • /path/to/foundryvtt: This is the absolute path to your FoundryVTT installation directory
  • /path/to/foundrydata: This is the absolute path to your FoundryVTT Data directory

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`

dragonflagon-fvtt's People

Contributors

brothersharper avatar drdwing avatar flamewave000 avatar hmqgg avatar jbblily avatar justnoon avatar lozalojo avatar lozanoje avatar mclemente avatar michalgolaszewski avatar rinnocenti avatar saif-ellafi avatar varriount avatar zeteticl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dragonflagon-fvtt's Issues

Allow disabling of message expiration

Sometimes I just want a permanent log of who logged in to the world when I'm AFK (or at work). Could you add the ability to set the expiration to disabled?

[DF Settings Clarity]: Menus show scope wrong

Module
Settings Clarity 2.1.2

Describe the issue
Anything created with game.settings.registerMenu() shows player/GM scope wrong. This is very likely caused by them not using scope and instead being dictated by restricted setting instead.

You can see this happen, for example, with core permission configuration.

Expected behavior
The symbols matching the restricted setting.

Screenshots (Optional)
GM view:
Screenshot 2021-02-18 150449

Player view of the same:
Screenshot 2021-02-18 150439

DF Chat Enhancement: Separate logs for GM

Is your feature request related to a problem? Please describe.
Right now, all players including GM are logging to one singe journal entry

Describe the solution you'd like
It would be nice to have another journal entry for the GM to log to.
This way, players can have their own journal entry and GM can still log entries for campaign management (things that players shouldn't see)

DF Chat Enhancements: additional chat mode bar options

The height of the chat mode buttons causes the row above the text input field to grow in height and the original icons around them will have a lot of margin-top and bottom. This looks a bit jarring, so it is possible to convert all the icons on the line into buttons in the same way the dropdown menu was converted into buttons? This will cause no logical difference in button height and presentation.

In addition, option to hide some of the icons on that row would be much appreciated:

  • the ability to remove the die button before the chat mode buttons - for people who use dice tray mod
  • the ability to remove the export chat button especially when it can be moved to the new archive functionality.

With these options one could have the following options on his chat mode bar: the modes (public, private, gm...) and a new button for the archive, and an old button to clean chat, also styled as a button in that bar.

Update broken

When hitting the "check update" button in foundry the following message apepars:

The request to https://github.com/flamewave000/dragonflagon-fvtt/releases/download/df-scene-enhance_3.1.1/module.json did not provide a valid manifest file.

Manifest Error

When updating mods I get the following, I even tried uninstalling and reinstalling the mod but I still see this:

image

DF Curvy Walls: Error appears randomly

Per JeansenVaars#2857 message on Discord

Hello, just wanted to point out I am seeing a quite spamming error on the console. Just in case I have disabled hte module afterwards, not to risk any stability. Hope this helps:
image
I am honestly not sure what causes it, as it seems to pop up at random when I load a session or map
Haven't used the mod much though, just drew a circle wall in the map I am watching

Original Message

DF Scene Enhancement: Scene Config Menu — FXMaster, AboutTime, and Weather Effects

Hey,

Just a quick notice that this mod has some conflicts with the suite of the Weather/Time effects on scenes.

Using the mods above, you can set scenes to automatically change day/night cycles based on the time, on a per scene basis. Unfortunately, when you enable this mod, it over rights that feature in the options menu because it changes the same scene config menu for the grid-scale.

I know it's not top of your priority, but it would certainly be a welcome fix.

There's also a much more minor UI issue with the same settings menu when using a UI revamp like Modern UI. The boxes go full-width sized and I'm not sure if that's fixable?

Conflict Chat Commands vs system DSA5

Hi,
since the Chat Enhancements use Library: Chat Commands as a dependency it is no longer compatible with the system DSA5. I messaged both of them, but don't know if it is fixable. So... just so you know.
Kind regards
Danii

Pause can't be toggled

Foundry ver. 0.7.9
System: DnD 1.2.4
DF curvy walls ver.: 1.1.0
Other modules active: No

I got this issue this morning and using Find the Culprit, I figured out the module making me unable to unpause the game is DF Curved Walls. I have tested it in my test world with only this module active and I can reproduce it, so it's unlikely to be a conflict with other modules.

When the module is active, pause state can't be changed. The pause icon gets refreshed, but nothing else changes. If the game was not paused to begin with (I unpaused it by deactivating the module, unpausing the game and enabling the module again), nothing seems to happen at all.

Calendar/weather provides a console message whenever the game is paused/unpaused. Enabling it, I could see that, when DF Curved Wall Creator is active and I attempt to toggle the pause state, instead of getting one message I get two.

For example, if the game is paused, I get "Game Paused: false" and then immediately below, "Game Paused: true". The opposite is also true for when the game is unpaused. So I guess your module calls the pause toggle again when a GM calls it and thus there is a net zero change.

Chat-Enhancement: hidden messages

Hello,

As the GM I would like to enter privates notes to my log. But if the "hidden message/roll" button is checked in the list of role types, the message displayed in the chat is still public.
image

Installation Error

Hello,

Looks like all your module can't be installed with the message "Did not provide a valid manifest file."

[DF Chat Enhancements]: /log command not recognized

Module
DF Chat Enhancement 1.1.1 (dependency Chat Command 1.3.0)
tested with Chrome (on one system) and Foundry app+Chrome (on other system)

Describe the issue
/log command in not recognized and returns message :
"/log is not a valid chat message command."

To Reproduce

I created a new dnd5 world on 2 systems with only DF Chat Enhancement & Library Chat Command activated.
Same module settings.
Same name of journal for log target

On one system ==> /log command is not recognized
On other ==> /log command is recognized

the only difference i can see is one is running on node.js/Unix and the other on Windows.
Also i checked at .js scripts and they are all on one line (No CR between lines of code). Don't know if that may be a cause of the issue.

EDIT : Seems i can make it work by starting with 'Adventure Log : Enabe' unchecked then checking it after the world starts..

Expected behavior
/log command should be recognized

Screenshots (Optional)
image

image

Toolbar Controls to Edit a Newly-Created Curve are not Functional in the Foundry Application

I have attempted to reproduce this bug in the Foundry application (version 0.7.9) for Linux as well as a Chromium-based browser (on Linux). In reproducing the bug, I created a new world with the D&D 5E system and made sure that all other modules were disabled. The bug only appears in the Foundry application, and everything seems to be working properly when done in the Chromium browser.


After beginning the creation of a new section of wall (IE: selecting the wall type and curve type, then clicking and dragging on the canvas to shape the wall), the buttons on the additional toolbar menu that pops up (below) don't do anything. The keyboard controls do work, and this issue existed prior to the recent keyboard bug-fixes (prior to version 1.1.1).

Toolbar

  • The + and - buttons do not alter the number of wall segments in the curve.
  • The button does not submit / finalize the curve.
  • The × button does not erase / destroy the curve.
  • The 🔒 button does not toggle the coupling.

There are two errors which seem only to appear upon loading into a world / refreshing the page. However, these errors appear in both the Foundry application and the Chromium browser.

TypeError: Cannot read property 'preview' of undefined
    at BezierControl.injectControls (BezierControl.js:130)
    at df-wall-curves.js:19
    at Function._call (foundry.js:2496)
    at Function.callAll (foundry.js:2456)
    at SceneControls._getControlButtons (foundry.js:20318)
    at new SceneControls (foundry.js:19771)
    at Game.initializeUI (foundry.js:6634)
    at Game.setupGame (foundry.js:6545)
    at async Game._initializeGameView (foundry.js:7319)
    at async Game.initialize (foundry.js:6471)
TypeError: Cannot read property 'preview' of undefined
    at BezierControl.injectControls (BezierControl.js:130)
    at df-wall-curves.js:19
    at Function._call (foundry.js:2496)
    at Function.callAll (foundry.js:2456)
    at SceneControls._getControlButtons (foundry.js:20318)
    at SceneControls.initialize (foundry.js:19858)
    at TokenLayer.activate (foundry.js:11107)
    at TokenLayer.activate (foundry.js:12228)
    at TokenLayer.activate (foundry.js:40283)
    at Canvas._initializeCanvasLayer (foundry.js:10341)

Issue with the latest version of Chat enhancement

Hello,

For some reason my world doesn't get the newest features of your package.
Trying in a new world, I have access to the /log command but not in a world that already had the package installed & activated.

  • Package is up to date
  • FVTT 0.7.9
  • 5E 1.2.4
  • Only this package, chat command & tidy settings activated (others installed, but deactivated for the purposes of this test).

EDIT: to be clear. Both worlds are hosted on the same FVTT instance. Meaning that both are using the same version of the module. Could it mean some kind of world data not up to date on the world? Or some migration issue?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.