Can prevent borders from showing on player clients for non-owned tokens; no longer hide your mimics behind tiles!
Increased accessability for those with visibility impairments
External border offset changeable.
A border may be toggled off by using the Token HUD element here
HUD Bars can be set to show as semi-transparant when only visible to the
THIS FEATURE IS DEPRECATED AND REMOVED IN FAVOR OF OTHER MODULES LIKE Arbron's Improved HP Bar and FoundryVTT Bar Brawl
Color gradient reads actor HP and returns a color between the two provided colors.
Temp HP gradient moves up from the "full hp" color towards a defined color, maxing out at 1/2 hpMax.
THIS FEATURE IS DEPRECATED AND REMOVED IN FAVOR OF OTHER MODULES LIKE Token Variant Art and Custom Nameplates
Nameplates are now customizable, change the size, vertical offset and font. You can also make then circular, to fit with POG style tokens Available fonts are: Arial, Arial Black, Comic Sans MS, Courier New, Georgia, Helvetica, Impact, Tahoma, Times New Roman and Verdana.
THIS FEATURE IS DEPRECATED AND REMOVED IN FAVOR OF OTHER MODULES LIKE Easy Target and Smart Target
Player side configuration of the tokens borders, color and scale. Target HUD color and size can be altered, target HUD can also be rendered inside the token border.
It's always easiest to install modules from the in game add-on browser.
To install this module manually:
- Inside the Foundry "Configuration and Setup" screen, click "Add-on Modules"
- Click "Install Module"
- In the "Manifest URL" field, paste the following url:
https://raw.githubusercontent.com/p4535992/foundryvtt-border-control/master/src/module.json
- Click 'Install' and wait for installation to complete
- Don't forget to enable the module in game using the "Manage Module" button
This module uses the libWrapper library for wrapping core methods. It is a hard dependency and it is recommended for the best experience and compatibility with other modules.
Supported systems for color gradient are :
- DnD5e
- PF1
- PF2
- SWADE
- Symbaroum
TODO
npm install
npm install
dev
will let you develop you own code with hot reloading on the browser
npm run dev
build
will build and set up a symlink between dist
and your dataPath
.
npm run build
build:watch
will build and watch for changes, rebuilding automatically.
npm run build:watch
prettier-format
launch the prettier plugin based on the configuration here
npm run-script prettier-format
lint
launch the eslint process based on the configuration here
npm run-script lint
lint:fix
launch the eslint process with the fix argument
npm run-script lint:fix
Any issues, bugs, or feature requests are always welcome to be reported directly to the Issue Tracker, or using the Bug Reporter Module.
This package is under an MIT license and the Foundry Virtual Tabletop Limited License Agreement for module development.
Thanks to anyone who helps me with this code! I appreciate the user community's feedback on this project!
- Ty to theripper93 for the module injectConfig
- Ty to kandashi for the module Border-Control