https://github.com/johnmartel/hover-align
A basic FoundryVTT module to display PC/NPC alignment when hovering over a token
https://github.com/johnmartel/hover-align
alignment dnd5e foundryvtt
Last synced: 3 months ago
JSON representation
A basic FoundryVTT module to display PC/NPC alignment when hovering over a token
- Host: GitHub
- URL: https://github.com/johnmartel/hover-align
- Owner: johnmartel
- License: mit
- Created: 2020-12-14T01:03:43.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-05-17T21:06:35.000Z (about 1 year ago)
- Last Synced: 2024-05-17T22:22:51.384Z (about 1 year ago)
- Topics: alignment, dnd5e, foundryvtt
- Language: JavaScript
- Homepage:
- Size: 4.64 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# hover-align
[](http://makeapullrequest.com)
[](https://codeclimate.com/github/johnmartel/hover-align/maintainability)
[](https://codecov.io/gh/johnmartel/hover-align)
[](https://github.com/johnmartel/hover-align/releases/latest)
[](https://github.com/johnmartel/hover-align/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.

## Installation
You could either:
1. Navigate to the Foundry Setup screen and click on the Modules tab
1. Click Install Module and look for HoverAlignor:
1. Start FVTT and browse to the Game Modules tab in the Configuration and Setup menu
1. Select the Install Module button and enter the following URL: https://raw.githubusercontent.com/johnmartel/hover-align/master/module.json
1. Click Install and wait for installation to complete## Development
First, have a look at Foundy's [introduction to module development](https://foundryvtt.com/article/module-development/).
I suggest also looking at the [Languages and Localization](https://foundryvtt.com/article/localization/) article.Then, it's pretty standard JS development:
- Install [nvm](https://github.com/nvm-sh/nvm#install--update-script)
- Develop using a working version of node: `nvm use`
- Install dependencies: `npm install`
- Lint your code: `npm run lint`
- Test your code: `npm test`