A changelog can bout found here.
A Foundry VTT module that automatically opens and focuses the current combatant's actor/token sheet.
It works well with PopOut! to declutter the screen, while still enabling a GM to quickly view and access each combatant's sheet.
Currently, there is no public API for the module. If there is a need for one, feel free to open an issue or create a PR.
Install using the following manifest URL.
Then, as GM, enable the Focus Sheet
module in the Manage Modules
settings in the Game Settings tab.
The module can be configured using the Module Settings
, providing the following options:
By default, the current combatant's sheet will only be brought to the top/focused if has already been opened.
Enabling this setting also opens the sheet if it has not been opened yet, but only if the player has at least Observer
permissions. Optionally, automatically opened sheets will be opened popped-out.
Here you can specify where to open the sheet.
If opened without PopOut!, it will be opened relative to the top-left corner of your Foundry VTT viewport.
If opened using PopOut!, it will be opened relative to the top-left corner of the main window.
Caveat: Some browsers do not support moving windows across screens.
Enabling this setting will close the previous sheet once its turn has ended, freeing up space. When combat ends, the
currently opened sheet will be closed as well.
This functionality is indepent of the auto-open feature.
Enabling this setting will prevent PC (player character) sheets from being affected by any other of the module' features.
This is being configured by a comma-separated list of sheet types that each represent a sheet type you want the module to ignore.
For the following systems PC sheet types will be recognized automatically:
- D&D 5e
- Pathfinder 2e
Feel free to request more or create a PR to augment the list.
The setting can be used to ignore any other type of sheet as well, such as NPC sheets, vehicle sheets, PoI sheets, etc.
To retrieve the sheet type of the current combatant, you can enter game.combat.combatant.actor.data.type
in the browser console.
This Foundry VTT module is licensed under a GNU General Public License v3.0 License.