Skip to content

A basic FoundryVTT module to display PC/NPC alignment when hovering over a token

License

Notifications You must be signed in to change notification settings

johnmartel/hover-align

Repository files navigation

hover-align

PRs Welcome Maintainability codecov downloads by semver GitHub all releases

Simple FoundryVTT module that displays character (both PC/NPC) alignment on hovering a token.

It will display the alignment for all tokens to the GM and only for player-owned tokens to players.

This module uses the Core functionality used to display the token tooltip without interfering with it.

sample

Installation

You could either:

  1. Navigate to the Foundry Setup screen and click on the Modules tab
  2. Click Install Module and look for HoverAlign

or:

  1. Start FVTT and browse to the Game Modules tab in the Configuration and Setup menu
  2. Select the Install Module button and enter the following URL: https://raw.githubusercontent.com/johnmartel/hover-align/master/module.json
  3. Click Install and wait for installation to complete

Development

First, have a look at Foundy's introduction to module development. I suggest also looking at the Languages and Localization article.

Then, it's pretty standard JS development:

  • Install nvm
  • Develop using a working version of node: nvm use
  • Install dependencies: npm install
  • Lint your code: npm run lint
  • Test your code: npm test

About

A basic FoundryVTT module to display PC/NPC alignment when hovering over a token

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •