Skip to content

Repository files navigation

Close Windows

A Fantasy Grounds extension (FGC & FGU) that closes all the windows you've opened, optionally leaving some of the common windows open.

Features

Close all windows you've opened, optionally leaving some of the common windows open:

  • Combat Tracker (CT)
  • Party Sheet (PS)
  • Image windows
  • Timer extension window

Works on both host/DM and client/player, with each side able to tailor its own settings independently.

Usage

There are several ways to trigger a close-all:

  • Chat command: type /cw or /closewindows. You can also drag the command to the hotbar for one-click access.
  • FGC (Classic): click the Close All button in the right dock near the bottom.
  • FGU (Unity): click the X sidebar button at the top.

Options

Each of the following can be toggled on/off under Options → Close Windows (per host and per client):

Option Effect when ON
Keep CT Open Leaves the Combat Tracker open
Keep PS Open Leaves the Party Sheet open
Keep Images Open Leaves image windows open
Keep Timer Open Leaves the Timer extension window open

All options default to off (everything closes).

Compatibility

  • Fantasy Grounds Classic (FGC) and Fantasy Grounds Unity (FGU)
  • CoreRPG and rulesets built on it
  • Detects FGC vs. FGU automatically and wires up the appropriate UI button and window hooks.

Changelog

v1.2 — 6/9/26

  • Track window closes so the internal open-window list no longer grows unbounded or retains stale handles (fixes closing being applied to already-closed/reopened windows).
  • Chain to the original FGC window handlers even for nil windows.
  • Minor cleanup and clarifying comments.

v1.1 — 2/12/24

  • Added Timer extension window to the keep-open options.

Author

Justin Freitas — © 2023–2026

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages