Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 4 days 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 (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-05-17T21:06:35.000Z (6 months ago)
- Last Synced: 2024-05-17T22:22:51.384Z (6 months 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
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
[![Maintainability](https://api.codeclimate.com/v1/badges/9a75ddd0fabb8d5eaf30/maintainability)](https://codeclimate.com/github/johnmartel/hover-align/maintainability)
[![codecov](https://codecov.io/gh/johnmartel/hover-align/branch/master/graph/badge.svg)](https://codecov.io/gh/johnmartel/hover-align)
[![downloads by semver](https://img.shields.io/github/downloads/johnmartel/hover-align/latest/total)](https://github.com/johnmartel/hover-align/releases/latest)
[![GitHub all releases](https://img.shields.io/github/downloads/johnmartel/hover-align/total?label=total%20downloads)](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.
![sample](doc/sample.gif)
## 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`