Register

Token Hotbar

An Add-on Module for Foundry Virtual Tabletop

Author: 4535992 Project Source: Project URL Versions 11 - 11 (Verified 11) Last Updated 8 months, 1 week ago

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

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.

Available Versions

  1. Version 1.5.0

    8 months, 1 week ago
    Foundry Version 11 - 11 (Verified 11) Manifest URL Read Notes
  2. Version 1.4.10

    Foundry Version 10 - 10 (Verified 10) Manifest URL Read Notes
  3. Version 1.4.9

    Foundry Version 10 - 10 (Verified 10) Manifest URL Read Notes
  4. Version 1.4.8

    Foundry Version 10 - 10 (Verified 10) Manifest URL Read Notes
  5. Version 1.3.1

    Foundry Version 0.8.9 - 10 (Verified 9.238) Manifest URL Read Notes
  6. Version 1.2.0

    Foundry Version 0.8.9 - 10 (Verified 9.226) Manifest URL Read Notes
  7. Version 1.1.2

    Foundry Version 0.8.9 - 10 (Verified 9.226) Manifest URL Read Notes