A FoundryVTT library that provides some common helper utilities, it doesn't have a general focus, the goal is just to provide module authors with common used methods, well developed, to be reused without worries in any module or macro.
It does not contain any configurations or interface, this library is only a API.
You can safely rely on this module, all the errors and edge cases are (or will be) handled, your code will never be crashed by Toolbox by itself (note that errors still could happen, but they will always say why things didn't work correctly)._
Do you like the module? Consider supporting it :)
Take a look at the Documentation
- V11
V12as soon as it gets released
- Eye candy to showcase your module at the
console
- Check the existance of
files
andfolders
at./data
- Create
files
andfolders
at./data
- Load
files
from./data
- Check permissions for users
can()
to see if a user can do something based on permissionsanyoneWhoCan()
to get the first found user that can do something based on permissionseveryoneWhoCan()
to get aArray
containing all the users that have the passed permissionscanEdit()
to see if a user can edit somethingsomeoneWhoCanEdit()
to get the first found user that can edit something
- Math functions
- Token methods