MINIFIED PRODUCTION BUILD
Portrait Token Broadcast is a lightweight Foundry VTT module that allows a Gamemaster to reveal selected Token or Tile artwork to connected players through a cinematic chat card and shared image popout.
- Broadcast selected Token artwork to connected players
- Tile artwork fallback when no Token is selected
- Tokens take priority when both a Token and Tile are selected
- Cinematic parchment-style chat presentation
- Character, actor, Token, or Tile name display
- Creature size badge
- Randomized visual accent effects
- Animated aurora-style image border
- Optional vignette effect
- Shared image popout
- Discord and Patreon chat-card controls
- Discord and Patreon ImagePopout title-bar controls
- Clean compendium Macro launcher
- Public module broadcast API
- Generic Foundry
icons/svg/eye.svgMacro icon - Minified production JavaScript and stylesheet
- GM-only execution by default
- Foundry VTT v14 support
- Open Foundry Virtual Tabletop.
- Open Add-on Modules.
- Select Install Module.
- Paste the manifest URL into the Manifest URL field.
- Install the module.
- Enable Portrait Token Broadcast - CtrlAltDefeat in the desired world.
- Reload the world if Foundry requests it.
Manifest URL:
https://raw.githubusercontent.com/CtrlAltDefeatAM/Portrait-Token-Broadcast-CtrlAltDefeat/main/module.json
- Download
portrait-token-broadcast-ctrlaltdefeat.zipfrom the latest GitHub release. - Extract the archive contents into the Foundry user-data Modules directory.
- Confirm the resulting folder is named
portrait-token-broadcast-ctrlaltdefeat. - Restart Foundry if required.
- Enable the module in the desired world.
- Open the Compendium Packs sidebar.
- Open Portrait Token Broadcast.
- Import the Portrait Token Broadcast macro (Foundry
icons/svg/eye.svgicon). - Select a Token or Tile.
- Execute the macro.
Notes:
- Tokens are prioritized when both a Token and Tile are selected.
- The macro warns when nothing is selected.
- The macro is GM-only by default.
- The imported Macro is only a short launcher; the complete implementation runs from local module files.
- The module does not download executable code when the Macro runs.
The included compendium Macro contains a short readable launcher rather than the complete implementation. The launcher calls:
game.modules.get("portrait-token-broadcast-ctrlaltdefeat").api.broadcast();Portrait Token Broadcast uses narrow Foundry render hooks and does not perform background polling, recurring canvas checks, or runtime code downloads. The module remains idle until the Macro is executed or a Portrait Token Broadcast popout requires its controls.
Portrait Token Broadcast distributes its complete runtime and broadcast implementation through minified .min.js production files, plus a minified module stylesheet for static chat-card and title-bar presentation. No source maps or unminified production implementation files are included in the release package.
Production files:
scripts/portrait-token-broadcast-runtime.min.js
scripts/portrait-token-broadcast-macro.min.js
styles/portrait-token-broadcast.min.css
There is no graphical settings menu. Configuration values live in the PTB_CONFIG block inside scripts/portrait-token-broadcast-macro.min.js. Config key names are preserved during minification.
Controls whether only a GM may run the broadcast. Default: true.
Controls whether the selected artwork name appears above the image. Default: true.
When true, parchment accent colors are chosen randomly on each run. Default: true.
Controls whether the size badge appears. Default: true.
Controls whether the image vignette is applied. Default: true.
Foundry Virtual Tabletop v14.
This module is released under the MIT License. See LICENSE for the full text.