Skip to content

Collapsable folders for the macro directory for FoundryVTT

Notifications You must be signed in to change notification settings

adotor/vtt-macro-folders

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Macro Folders

GitHub release (latest by date) GitHub issues GitHub all releases Forge Installs Buy me a coffee

This is a module for FoundryVTT which allows you to manage macros a bit easier by implementing a folder system.

Instructions

If you have used my other module Compendium Folders, you will be familiar with how this module works.

Create a folder using the buttom at the top and start assigning macros to it.

Each folder has 2 icons. Starting from the right

  • The suitcase icon allows you to create a macro in the selected folder
  • The folder icon allows you to create a folder in the selected folder.

Folders now conceal more functionality in context menus, accessible by right clicking the folder. Most of these options are self explanatory

  • In the Edit dialog, you can assign a player to a folder, using the Player Default option. This means any macros created by that user will be placed in this folder. Good for players who like to flood the macro directory with New Macros.
  • Configure Permissions allows you to change the permissions of all macros inside a folder (much like core foundry)
  • Remove folder removes the selected folder, and moves all other macros into the parent folder, or the Default folder if the selected folder doesnt not have a parent
  • Delete all will remove the selected folder, and all folders and macros inside the selected folder. Use with caution

You can also import and export your folder configuration, to share with others or to backup your folder structure. In the Settings tab under Macro Folders you can find an Import/Export dialog. Pasting someone elses Import string into the import box will seamlessly import their folder structure, ignoring any missing macros.

I would recommend once you are happy with your layout, to save your folder configuration. This will also be useful if you are going to submit an issue or bug on GitHub.

Future

  1. Default folder for new macros to be added to
  2. Default Player folders (macros authored by the same person)
  3. Custom folder ordering (currently defaults to alphabetical)
  4. Player-specific folder configurations
  5. Show filter by permissions in edit dialog

Any issues feel free to ping me on Discord (@Erceron#0370)

Contribution

If you'd like to support my work, feel free to buy me a coffee at my kofi

About

Collapsable folders for the macro directory for FoundryVTT

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 76.6%
  • HTML 18.5%
  • CSS 4.9%