Latest version | 11.0.3 |
---|---|
Minimum Core | 10 |
Compatible Core | 12 |
File size | 26.11 KB |
Last updated | 4 months ago |
Created | 4 years ago |
Authors | |
Languages |
日本語 Deutsch (German) English Español Français Italian Korean Português (Brasil) 中文 正體中文 |
Systems | All systems |
Dependencies |
Simple Calendar |
Project source | Project URL |
Report bugs | Bug tracker URL |
Allows you to trigger events to occur at specified times.
The interface is programatic only Access these via game.Gametime.XXXXX
doEvery({day:1}, () => console.log("another day another dollar"))
every day run the handler.
doAt({hour:1}, "My Macro"))
run a macro in 1 hour of gametime
reminderAt({minute: 10}, "Check for wandering monsters"}
send a message to the console.
reminderEvery({minute: 10}, "Check for wandering monsters"}
do a reminder every 10 minutes.
Each of the above return an id which can be used to cancel the event
clearTimeout(eventID)
To install this package, open your Foundry Setup screen and navigate to your Module tab and click the Install Module button.
From there, you can either search for the package unique name: about-time or copy its manifest URL:
And paste it to the input box at the bottom of your window.
You can install this package directly to your Forge account.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Advertisement cookies are used to deliver visitors with customized advertisements based on the pages they visited before and analyze the effectiveness of the ad campaign.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.