A FoundryVTT library that provides a way to insert and manage tags across all documents. This is useful for storing simple data that can help modules and macros create generic code and reuse it easily, it also allows some type of customization. The idea of tagging Items was born because I don't use English in my sessions, and relying of autodetect based on names was going to be too much for me to handle.
This library was part of OIF and now is standalone since I think it can be very beneficial to other developers (even myself in the future!). Feel free to use it to do anything! If you have questions, join my discord or leave a issue, I will help you asap.
Do you like the module? Consider supporting it :)
Take a look at the Documentation.
- Insert
Tags
in almost all types of document - Interact with the
Tags
using the API
if (ItemTags.Check(game.items.get("<id>"), ['metal'])) {
console.log('The tag is set');
} else {
console.log('The tag is not set');
}
Open a supported document and find the Tags
button, click it, insert the Tag
and press Enter.
All the changes you do need to be confirmed, if you click on cancel the changes you made will be discarded.
Open the Tags
button and click on the X
on the tag you want to remove. You need to confirm when removing tags.
Open the Tags
button and drag the Tag
to its new position.
Open the Tags
button and double-click the name of a Tag
, then press Enter to insert it again.