Skip to content

p4535992/foundryvtt-border-control

 
 

Repository files navigation

Border Control (Control your tokens borders)

Latest Release Download Count

Forge Installs

Foundry Core Compatible Version

Latest Version

Foundry Hub Endorsements

GitHub all releases

Translation status

If you want to buy me a coffee alt-text

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

BorderHUD

HUD Bars can be set to show as semi-transparant when only visible to the

[DEPRECATED] Feature: Token Bars customization

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.

[DEPRECATED] Feature: Nameplates customization

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.

[DEPRECATED] Feature: Target customization

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.

Installation

It's always easiest to install modules from the in game add-on browser.

To install this module manually:

  1. Inside the Foundry "Configuration and Setup" screen, click "Add-on Modules"
  2. Click "Install Module"
  3. In the "Manifest URL" field, paste the following url: https://raw.githubusercontent.com/p4535992/foundryvtt-border-control/master/src/module.json
  4. Click 'Install' and wait for installation to complete
  5. Don't forget to enable the module in game using the "Manage Module" button

libWrapper

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.

Supportes Systems

Supported systems for color gradient are :

  • DnD5e
  • PF1
  • PF2
  • SWADE
  • Symbaroum

Known issue

API

TODO

Build

Install all packages

npm install

npm build scripts

Build

Install all packages

npm install

dev

dev will let you develop you own code with hot reloading on the browser

npm run dev

build

build will build and set up a symlink between dist and your dataPath.

npm run build

build:watch

build:watch will build and watch for changes, rebuilding automatically.

npm run build:watch

prettier-format

prettier-format launch the prettier plugin based on the configuration here

npm run-script prettier-format

lint

lint launch the eslint process based on the configuration here

npm run-script lint

lint:fix

lint:fix launch the eslint process with the fix argument

npm run-script lint:fix

Issues

Any issues, bugs, or feature requests are always welcome to be reported directly to the Issue Tracker, or using the Bug Reporter Module.

License

This package is under an MIT license and the Foundry Virtual Tabletop Limited License Agreement for module development.

Credit

Thanks to anyone who helps me with this code! I appreciate the user community's feedback on this project!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 97.8%
  • HTML 2.1%
  • Shell 0.1%