Skip to content

Repository files navigation

Token Note Hover

GitHub all releasesLatest VersionFoundry VersionLicense

Features and Notes

The Token Note Hover module displays the note of a hovered-over token in a tooltip. Links, images and scrolling in the tooltip are supported.

The tooltip will not display if the note is empty or while the token is being dragged.

FoundryVTT Compatibility

System Support

Token Note Hover 4.0.0 and above supports both API Hooks and Direct System Support to enable the hovered-over tooltip display.

Token Note Hover API

The Token Note Hover API provides a hook to display custom content. This allows systems and modules to inject content into the tooltip.

Hook tokenNoteHover.createContent

tokenNoteHover.createContent(actor,displayImages,contentMap)

Hook Parameters

  • actor: the actor whose token is being hovered over
  • displayImages: if images should be displayed
  • contentMap: a map containing the HTML content to be displayed in the hovered note.

Example of Using the API to Display a Hovered Note

Hooks.on('tokenNoteHover.createContent',(actor,imageDisplay,contentMap)=>{contentMap.content=`<p>${actor.system.notes}</p>`});
  • Create some tokens, place them on a scene and add some text to the Notes field on their character sheet.
  • A tooltip will display when the token is hovered over.

Screenshot

  • Similar code can be added to any system to enable this functionality.
  • Enriched HTML and other modules can be used for tooltip content. This example uses the GM Notes module with a link to an Foundry item.
Hooks.on('tokenNoteHover.createContent',(actor,imageDisplay,contentMap)=>{if(game.user.isGM&&actor.flags['gm-notes']?.notes)contentMap.content=contentMap.content+`<p>${actor.flags['gm-notes']?.notes}</p>`});

Screenshot

Modules and Systems Using the API

Directly Supported Systems

Many systems are directly supported by Token Note Hover module. FoundryVTT v13 and above are supported.

Customization options

  • Tooltip themes.
  • Placement, display delay, display window size and font size customization.
  • Note can appear adjacent to the token or in a corner of the screen.
  • Enable/Disable notes for PCs and NPCs.
  • Show/hide note images for tooltip display.
  • Can require minimum token ownership level on notes for display.
  • Display token title in tooltip.
  • Hide/Display private notes.
  • Show notes only when configured HotKey is pressed.

All settings, except for token ownership required are client-side only so each player can enable the features they need.

Contact

Module Installation

To install the latest version of this module, search for Token Note Hover in the Add-On Modules tab of of the Foundry VTT game setup screen. Then click on Install.

Or use this URL and click on Install:

https://github.com/jendave/token-note-hover/releases/latest/download/module.json

To install the v12 version of this module, use this URL and click on Install:

https://github.com/jendave/token-note-hover/releases/download/2.1.17/module.json

Support

For questions, feature requests or bug reports, please open an issue.

Pull requests are welcome. Please include a reason for the request or create an issue before starting one.

Troubleshooting and Tips

  • If the hover does not work or causes the sidebar to move unexpectedly try the following:
    • In the Configure Settings, uncheck the Hover Enabled box, save the settings, reload the screen, then re-check the Hover Enabled box.
    • Try uninstalling and re-installing the module.
  • If the hovered note appears in the upper left corner unexpectedly:
    • Open Configure Settings, select Token Note Hover and re-save the settings.
  • The Token Note will not display if the token is selected or showing a HUD.
    • This ensures the note does not display when the token is being used to show other attributes.
    • In the Configure Settings dialog, enable the Core setting checkbox for Left-Click to Release Objects to de-select objects easily.

Other Recommended Modules

Screenshots and Note Locations

3.5e for Foundry VTT

3.5e for Foundry VTT

Screenshot

Actor TypeNote Location
CharacterNotes
NPCNotes
ObjectObject Description
TrapTrap Description

Alien RPG

Alien RPG

Screenshot

Actor TypeNote Location
CharacterDescription
ColonyDescription
CreatureNotes
PlanetDescription
SpacecraftDescription
SyntheticDescription
TerritoryDescription
VehiclesDescription

Blades in the Dark

Blades in the Dark

Screenshot

Actor TypeNote Location
ClockTicked Segments / Total Segments
CharacterNotes
CrewNotes
NPCNotes

Cairn

Cairn

Screenshot

Actor TypeNote Location
Player CharacterBackground / Description / Notes
Non-Player CharacterRole / Description / Notes

Call of Cthulhu 7th edition

Call of Cthulhu 7th edition

Screenshot

Actor TypeNote Location
CharacterBackstory
ContainerDescription
CreatureNotes
NPCNotes

Cosmere Roleplaying Game

Cosmere Roleplaying Game

Screenshot

Actor TypeNote Location
AdversaryNotes
CharacterNotes

Custom System Builder

Custom System Builder

Screenshot

Create a Template with these fields:

  • Label: Notes
    • Component Type: Rich Text Area
    • Component key: notes
  • Label: Private Notes
    • Component Type: Rich Text Area
    • Component key: privateNotes

Then in a Character Actor, use the Template with the following fields:

Actor TypeNote Settings
CharacterNotes
Private Notes

Cypher System

Cypher System

Screenshot

Actor TypeNote Location
CommunityNotes
CompanionNotes
MarkerNotes
NPC/CreatureNotes
PCNotes & GM Notes
VehicleNotes

Daggerheart

Daggerheart

Screenshot

Actor TypeNote Location
AdversaryNotes
CharacterBiography - Background
CompanionPartner
EnvironmentNotes

Das Schwarze Auge / The Dark Eye (5th Edition)

Das Schwarze Auge / The Dark Eye (5th Edition)

Screenshot

Actor TypeNote Location
CharacterNotes
CreatureDescription
Non-Player CharacterNotes

Delta Green

Delta Green

Screenshot

Actor TypeNote Location
AgentNotes
NPCNotes
UnnaturalNotes
VehicleNotes

Dragonbane - Drakar och Demoner

Dragonbane - Drakar och Demoner

Screenshot

Actor TypeNote Location
Player CharacterNotes
MonsterDescription
Non-Player CharacterDescription

Draw Steel

Draw Steel

Screenshot

Actor TypeNote Location
HeroBiography & Director Notes
NPCBiography & Director Notes
ObjectBiography & Director Notes
RetainerBiography & Director Notes
PartyParty Members & Party Details

Dungeon Crawl Classics

Dungeon Crawl Classics

Screenshot

Actor TypeNote Location
PlayerNotes
NPCNotes
PartyNotes

Dungeons & Dragons Fifth Edition

Dungeons & Dragons Fifth Edition

Screenshot

Actor TypeNote Location
Player CharacterBiography
Non-player CharacterBiography Public
GroupDescription
VehicleDescription
EncounterDescription

Fallout: The Roleplaying Game

Fallout: The Roleplaying Game

Screenshot

Actor TypeNote Location
CharacterData
CreatureData
NPCData
RobotData
Scavenging LocationNotes
SettlementData
VehicleData

Forbidden Lands

Forbidden Lands

Screenshot

Actor TypeNote Location
CharacterNotes
MonsterNotes
PartyNotes
StrongholdNotes

GURPS 4th Edition Game Aid (Unofficial)

GURPS 4th Edition Game Aid (Unofficial)

Screenshot

Actor TypeNote Location
CharacterNotes
EnemyNotes

Ironsworn/Starforged

Ironsworn/Starforged

Screenshot

Actor TypeNote Location
CharacterNotes
LocationText entry area
NPCText entry area
Shared SheetNotes
StarshipNotes
TreasuryNotes
FactionNotes (Optional)

Factions only work if Starforged Custom Compendiums is installed.

LANCER

LANCER

Screenshot

Actor TypeNote Location
DeployableDetails
Mech[None]
NPCNotes
PilotNotes

Level Up: Advanced 5th Edition

Level Up: Advanced 5th Edition

Screenshot

Actor TypeNote Location
Player CharacterNotes
Non-Player CharacterNotes & Private Notes (GM only)

Mutant Year Zero

Mutant Year Zero

Screenshot

Actor TypeNote Location
AnimalInfo
ArkInfo
HumanInfo
MutantInfo
NPCInfo
RobotInfo
SpaceshipInfo
VehicleInfo

Old-School Essentials

Old-School Essentials

Screenshot

Actor TypeNote Location
CharacterNotes
MonsterNotes

The One Ring 2nd Edition

The One Ring 2nd Edition

Screenshot

Actor TypeNote Location
AdversaryDescription
CommunityDescription & Notes
Lore CharacterDescription & Notes
NPCDescription
PCNotes

Pathfinder 1st Edition

Pathfinder 1

Screenshot

Actor TypeNote Location
Player CharacterNotes
HauntNotes
TrapNotes
Non-Player CharacterNotes
VehicleNotes

Pathfinder 2e

Pathfinder 2e

Screenshot

Actor TypeNote Location
Player CharacterBiography Appearance
Non-player CharacterNotes Description
ArmyDescription
FamiliarCreature Type
HazardDescription
LootText entry area
PartyList of party members
VehicleDescription

Powered by the Apocalypse

Powered by the Apocalpypse

Screenshot

Actor TypeNote Location
CharacterBiography
NPCBio

RuneQuest Glorantha

RuneQuest Glorantha

Screenshot

Actor TypeNote Location
ActorAllies & Notes

Sandbox

Sandbox

Screenshot

Actor TypeNote Location
CharacterBiography
NPCBiography

Savage Worlds Adventure Edition

Savage Worlds Adventure Edition

Screenshot

Actor TypeNote Location
Player CharacterAbout - Notes
Non-Player CharacterDescription
GroupDescription
VehicleDescription

Shadowdark

Shadowdark RPG

Screenshot

Actor TypeNote Location
PlayerCharacter Notes
NPCDescription

Shadowrun 5th Edition

Shadowrun 5th Edition

Screenshot

Actor TypeNote Location
CharacterDescription
ICDescription
SpiritDescription
SpriteDescription
Vehicle/DroneDescription

Simple Worldbuilding System

Simple Worldbuilding System

Screenshot

Actor TypeNote Location
ActorDescription

Star Wars FFG system

Star Wars FFG system for Foundry VTT

Screenshot

Actor TypeNote Location
CharacterBiography
HomesteadBiography
MinionBiography
NemesisBiography
RivalBiography
VehicleBiography

Starfinder 1st Edition

Starfinder 1st Edition

Screenshot

Actor TypeNote Location
Player CharacterBiography & GM Notes
DroneBiography & GM Notes
HazardNotes
Non-Player CharacterBiography & GM Notes
Old-Style NPCBiography & GM Notes
StarshipNotes
VehicleNotes

Tormenta20

Tormenta20

Screenshot

Actor TypeNote Location
AmeaçaDiário
BaseDescrição
Perigo ComplexoObjetivo
Personagem do MestreDiário
Personagem de JogadorBiografia

Twodsix - Cepheus & Traveller

Twodsix - Cepheus & Traveller

Screenshot

Actor TypeNote Location
TravellerCharacter Notes
AnimalAnimal Notes
RobotRobot Notes
ShipShip Notes
Space ObjectNotes
VehicleCargo Notes

Universal Tabletop System

Universal Tabletop System

Screenshot

Actor TypeNote Location
Chess PiecePiece
Game TokenResource

Warhammer 40,000 Roleplay: Imperium Maledictum

Warhammer 40,000 Roleplay: Imperium Maledictum

Screenshot

Actor TypeNote Location
Non-Player CharacterNotes - Biography & GM Notes
PatronNotes - Biography & GM Notes
Player CharacterNotes - Biography & GM Notes
VehicleNotes - Biography & GM Notes

Warhammer 40,000 Roleplay: Wrath & Glory

Warhammer 40,000 Roleplay: Wrath & Glory

Screenshot

Actor TypeNote Location
AgentNotes
ThreatNotes
VehicleNotes

Warhammer Fantasy Roleplay 4th Edition

Warhammer Fantasy Roleplay 4th Edition

Screenshot

Actor TypeNote Location
Player CharacterNotes - Biography & GM Notes
Non-Player CharacterNotes - Biography & GM Notes
CreatureNotes - Biography & GM Notes
VehicleDescription - Description & GM Notes

World of Darkness 20th edition

World of Darkness 20th edition

Screenshot

Actor TypeNote Location
All ActorsAppearance

World of Darkness 5e

World of Darkness 5e (Archive)

World of Darkness 5e

Screenshot

Actor TypeNote Location
GhoulNotes - Public Notes & Private Notes
GroupNotes - Public Notes & Storyteller Notes
HunterNotes - Public Notes & Private Notes
MortalNotes - Public Notes & Private Notes
Story CharacterNotes - Public Notes & Private Notes
VampireNotes - Public Notes & Private Notes
WerewolfNotes - Public Notes & Private Notes

Credits

Module by David Hudson and licensed for use under the GNU GPL license v3.

This project is based on Pin Cushion by 4535992.

Contributors

FoundryVTT Modules and Other Resources

Please check out my other modules and resources for Ironsworn, Ironsworn: Starforged and other systems.

FoundryVTT Modules

Itch.io Resources

About

FoundryVTT module: Displays the contents of the note of the hovered token

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages