module

libWrapper

Endorsements
24
Installs
79.66%
Comments
2
Latest version1.12.12.0
Minimum Core0.6.5
Compatible Core10
Last updated1 month ago
Created2 years ago
Authors
Languages English
Español
Português (Brasil)
Português (Portugal)
日本語
Systems All systems
Project source Project URL
Report bugs Bug tracker URL

FVTT libWrapper

Library for Foundry VTT which provides package developers with a simple way to modify core Foundry VTT code, while reducing the likelihood of conflict with other packages.

 

Why?

One of the biggest causes of incompatibility between packages is them patching the same method, breaking each other. This module attempts to improve this situation, and also provide package developers with a flexible and easy-to-use API to wrap/monkey-patch core Foundry VTT code.

As a bonus, it provides the GM with package conflict detection, as well as the possibility of prioritizing and/or deprioritizing certain packages, which can help resolve conflicts if they do arise.

 

Examples

Note: Images may be out-of-date.

 

Usage

See the project Github page for usage and documentation.

Subscribe
Notify of
2 Comments
Inline Feedbacks
View all comments
arcanist
1 year ago

This is such a cool library module! The most amazing part of it is the inter-module compatibility it enables with a simple and resilient way to modify core methods. Thank you for making and maintaining this ❤️

ghost
1 year ago

This is basically a necessity at this point. There is just no way around this module. Without it, the module ecosystem wouldn’t be at the point where it is right now. It makes it so much easier to adjust core functionality while playing nice with other modules.
Regular users probably don’t need to install this explicitly, but I recommend using it as a dependency to any fellow module developer who wants to adjust core functionality!
Thank you for maintaining this!

Last edited 1 year ago by ghost
2
0
Would love your thoughts, please comment.x
()
x