module

Token Hotbar

Endorsements
0
Installs
0.64%
Comments
0
Latest version1.5.1
Minimum Core0.8.9
Compatible Core9.238
Last updated8 months ago
Created2 years ago
Authors
Languages Deutsch (German)
English
Español (Spanish)
Français (French)
Nederlands (Dutch)
Polski (Polish)
Português (Brasil)
Romănă (Romanian)
中文(简体)(Chinese)
日本語 (Japanese)
한국어 (Korean)
Systems All systems
Project source Project URL
Report bugs Bug tracker URL
Read-me Readme URL
Changelog Changelog URL

Token Hotbar

If you want to buy me a coffee alt-text

This module provides a unique hotbar for every token. If the token is linked to an actor (for player characters), then all tokens of that actor will have the same hotbar.

It's slimmed down to make maintenance easier and hopefully the code is easier to understand for anyone who has ever written a macro in Foundry.

This is a follow up of the job done from janssen on the module foundry-tokenhotbar-js forked from the original league repository.

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-token-hotbar/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

Features

Dynamically change the hotbar

All pages of the hotbar will change depending on the token you have selected.

thb-basics.gif

Use an additional hotbar

Since version 1.3.1, this module supports using Norc's Custom Hotbar or Monk's Hotbar Expansion to place additional Token Hotbars on the token.

thb-custom-hotbar.gif

monk_expanded_jhotbar.gif

Enable the Token Hotbar per client

Since version 1.3.1, this module supports enabling and disabling the Token Hotbar per client. For example, the GM can use this to have different hotbars for different tokens. But the players might want a single hotbar as they usually control a single token anyway.

Shared Token Hotbar

Hotbar's can be shared manually via the provided macro. A GM can run this macro and select for which tokens and with which player they want to share the hotbar. You can find this macro in the compendium 'Token Hotbar'.

thb-shared.gif

Settings

  • Always link to actor: link the hotbar to the actor, even if the token itself is not linked.
  • Use Norc's Custom Hotbar: Place the Token Hotbar on Norc's Custom Hotbar, instead of the original hotbar.
  • Debug Mode: Show detailed messages in the console (F12).

API

A little api to use in macro or external module ecc.

The api is reachable from the variable game.modules.get('token-hotbar').api or from the socket libary socketLib on the variable game.modules.get('token-hotbar').socket if present and active.

Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x