Skip to content

Releases: Octarines/FoundryHourglass

Active timer presistance

Choose a tag to compare

@Octarines Octarines released this 09 Aug 14:24

Updated FoundryVTT compatibility to v14

Active timers will now persist to the FoundryVTT game state.

This means that:

  • Timers will persist through browser refresh for both players and GM.
  • Timers will persist when the GM closes the game. This means active timers will still be available when you resume play in a later session.
  • Timers will be loaded (and therefore visible) for players who were not in game when the timer was started.

App V2 Rework

Choose a tag to compare

@Octarines Octarines released this 19 Feb 11:12

This update is a full rework of Hourglass into an AppV2 module. This will be compatible with v13+ of FoundryVTT.

I have also added a new feature requested some time ago by @marcusadmortati: "Sync with Foundry Pause".
By checking the "Sync with Foundry pause" option in the timer options, the Pause and Resume buttons will no longer be displayed on the timer controls. Instead the timer will start and stop when the GM pauses or un-pauses Foundry. This could include pressing the space bar or using a macro. The pause state of the timer will then match the current state of Foundry i.e. if the game is paused, the timer will be paused.

There are a couple of bug fixes in here as well, namely:

  1. Fixed issue of "End Sound" not playing on "Player" clients when time has elapsed
  2. Fixed issue of illegible options in Hourglass Options screen in WFRP system reported by @GregorHak

Basic v13 Compatibility

Choose a tag to compare

@Octarines Octarines released this 11 Feb 14:31
27b4d68

Merged updated FoundryVTT v13 controls initialisation from @Aioros (many thanks!)

Macro Support

Choose a tag to compare

@Octarines Octarines released this 19 Jul 14:54

Following a request by @paulo-roger, macro support has been added for launching and closing Hourglass timers:

  • showTimer(duration: number)- Displays and starts a default hourglass with the entered duration.
  • showTimerPreset(presetTitle: string, duration: number = null) - Displays and starts a previously saved preset timer with the matching title property. The duration for the preset timer can be overridden by entering a duration (in seconds) into the second optional parameter. For countdown timers, this property is set as the "duration seconds". For manual timers, this property is set as the "increments".
  • closeAllTimers() - Closes all open timers for all players.

To access the new hourglass API, enter the following line as a Script:
game.modules.get('hourglass').api

As the Hourglass module is limited to use by GM and Assistant GM users, non-GM players will not have access to call these API methods.

Foundry V12 Compatibilty

Choose a tag to compare

@Octarines Octarines released this 18 Jul 10:23

Manifest updated by @Aioros and @Spappz for compatibility with Foundry Version 12. Some deprecated API references updated.

Restarts and Closing.

Choose a tag to compare

@Octarines Octarines released this 19 Jul 08:26

Following a suggestion from @schnoodly and @kiloforce, have added a new button to Timer Controls which will restart the timer. This will restart both the animation and countdown as well as reset any end message or sound. If a player has closed their timer window, this button will also redisplay the timer for them. If pressed while the timer is paused it will restart the timer but remain paused until the GM presses "resume".

Following a suggestion from @kiloforce, have added a "Close after duration" option for new timers. Checking this option will cause the timer window to close for all users once the timer duration has passed. Any end sound or message will still be triggered before the window closes (though any end message will be only fleetingly visible). Further to this suggestion I have also updated the "close" button on the timer such that, should a user with GM role close their timer, it will close that same timer for all other users.

Core version 11 compatibility

Choose a tag to compare

@Octarines Octarines released this 11 Jul 12:38

updated the compatible core version for this module to 11

Hotfix: Hourglass module loading issue in Foundry v10 for newly created worlds.

Choose a tag to compare

@Octarines Octarines released this 09 Sep 21:13

Hotfix

@joevaughan reported an issue related to retrieving pre-sets in newly created game worlds in Foundry version 10 that was preventing the Hourglass module from launching. This has now been fixed and the Hourglass module now works loads correctly for both new and existing games worlds.

Timer body styles

Choose a tag to compare

@Octarines Octarines released this 26 Jul 20:57

A little while ago I was approached by an artist and member of the FoundryVTT community called Zael. They had created a range of alternative art styles for the Hourglass timer used within the Hourglass Module and provided them to me without asking anything in return.

Using these images I have implemented a "Style" option, with which a GM can select a different visual style for their timer using Zael's artwork.

A massive thankyou to Zael for helping to make Hourglass better!

HOTFIX: Missing sounds folder in package

Choose a tag to compare

@Octarines Octarines released this 15 Jun 21:37

Added sounds for pre-loaded end sound options to module package