MZ [CGMZ] Holidays

[CGMZ] Holidays
By: Casper Gaming
Last Update: March 8, 2026
Latest Version: 1.2.0
​
Forum-Header-Introduction.png

This plugin allows you to create daily, weekly, monthly, or annual repeating events. It will turn a switch ON or OFF depending on if the time is within the start/stop time set by you. Some uses may be daily quests, christmas, or any other holiday.
Forum-Header-Features.png

  • Create daily events
  • Create weekly events
  • Create monthly events
  • Create annual events
Forum-Header-Screenshots.png

Spoiler: Screenshots
The NPCs know what day of the week it is!
holiday1.png

This plugin was posted on August 26, otherwise known as National Dog Day.
holiday2.png
Forum-Header-Video.png


Forum-Header-HowTo.png

Import into plugin manager and enable the plugin. Some customization options available. Further instructions in plugin.

Online documentation can be found on my website.
User documentation can be found on the Casper Gaming Wiki.
Forum-Header-Download.png

Plugin (along with all my other plugins) can be found here: https://www.caspergaming.com/plugins/cgmz/holidays/
Requires CGMZ Core plugin: https://www.caspergaming.com/plugins/cgmz/core/

Also available on Itch.io:
Forum-Header-CreditAndTerms.png

https://www.caspergaming.com/terms-of-use/
Forum-Header-VersionHistory.png

Spoiler: Version History
Version 1.0.1
  • Fixed bug with plugin commands causing conflict with other CGMZ plugins
Version 1.0.2
  • Fixed bug with plugin getting out of sync after manually enabling switches
Version 1.0.3
  • Added Spanish language help documentation
  • Warn instead of crash on invalid JSON
Version 1.0.4
  • Warning messages updates
  • Documentation updated
Version 1.1.0
  • Added a variable that counts the time the event has been active
  • Weekly event weekday parameter converted to selectable type
Version 1.2.0
  • Added options for when holidays are automatically checked
CGMZ Holidays
By: Casper Gaming
Last Update: 8/26/2020
Latest Version: 1.0


Introduction
This plugin allows you to create daily, weekly, monthly, or annual repeating events. It will turn a switch ON or OFF depending on if the time is within the start/stop time set by you. Some uses may be daily quests, christmas, or any other holiday.

Features
  • Create daily events
  • Create weekly events
  • Create monthly events
  • Create annual events
Screenshots
Spoiler: Screenshots
The NPCs know what day of the week it is!
rGRuVXl.png

This plugin was posted on August 26, otherwise known as National Dog Day.
I3Cb5Ts.png

How to Use
Import into plugin manager and enable the plugin. Some customization options available. Further instructions in plugin.

Plugin
Plugin (along with all my other plugins) can be found here: https://www.caspergaming.com/plugins/cgmz/holidays/
Requires CGMZ Core plugin: https://www.caspergaming.com/plugins/cgmz/core/

Credit & Terms
https://www.caspergaming.com/terms-of-use/

Version History
Spoiler: Version History
Version 1.0:
- Initial Release
Looks cool, seems like a nice idea for a plugin. ☺️

1598502341291.png

Link seems to be down though. 🙁
@ct_bolt Oops, named the file CGMZ_Holidays.zip instead of CGMZ-Holidays.zip

It should be fixed now
@ct_bolt Oops, named the file CGMZ_Holidays.zip instead of CGMZ-Holidays.zip

It should be fixed now
Yay! Working now! Nice work on this & all the rest of the plugins you've made so far. ☺️👍
Looks nice 🙂 Good job
Can you extend this for say like an animal crossing/harvest moon type game?
I'm willing to pay you handsomely. Send me a PM for more info.
I have a question: can you set a daily/weekly/whatever event that can be unlocked by completing some sort of task that operates on a switch?
@AeroPergold You could make the event require both the daily/weekly/etc switch and the task that operates on a switch.
So in your event conditions you would put the holiday switch and then for the second switch you'd put the switch from your game that you turn on after some task has been completed.
@AeroPergold You could make the event require both the daily/weekly/etc switch and the task that operates on a switch.
So in your event conditions you would put the holiday switch and then for the second switch you'd put the switch from your game that you turn on after some task has been completed.
thanks.
Hi all, fixed a bug with this plugin today that could have affected CGMZ plugins placed above it in the Plugin Manager:

Version 1.0.1
- Fixed bug with plugin commands causing conflict with other CGMZ plugins
Hi all,

Added a demo for this plugin today in case anyone was confused on how to use it, you can play it in-browser or download it from the plugin's main page on my website: https://www.caspergaming.com/plugins/cgmz/holidays/
I just love systems that simulate calendars. You did a great job! Dog day was a great idea! Very good!
I think there's an issue where the holiday plugin would trigger a switch for a weekly event to play on say a thursday but once the weekly event is over, somehow the switch isn't disabled and stays on thus the weekly event isn't so weekly. Can this be looked into?
@AeroPergold could you provide start/stop time for the weekly event that is staying on?
@AeroPergold could you provide start/stop time for the weekly event that is staying on?

I have an event that starts on sunday (Weekday 0, Hour 0 meaning at midnight) and ends on monday at hour 0 (Weekday 1, at midnight).

Currently as I'm writing this it is Tuesday and the switch that the plugin turns on is currently still on alongside a switch for an event that plays on Thursdays from 6 AM to 6 PM and is still on from last week.

I should also mention that I haven't tampered with the switches and the only times I touched them is when I had to turn one off so I could test a sidequest since the character would be gone from a certain location during a weekly event and is supposed to reappear in said location and be able to give out a sidequest after the weekly event is over.
@AeroPergold Thanks for bringing this to my attention. It should be fixed in the latest version I just released

Version 1.0.2
- Fixed bug with plugin getting out of sync after manually enabling switches
@AeroPergold Thanks for bringing this to my attention. It should be fixed in the latest version I just released

Version 1.0.2
- Fixed bug with plugin getting out of sync after manually enabling switches

Thank you.

Also I had noticed that I use your plugins so much I keep finding these sorts of things. Thanks for the fixe though.
version-103.png

Hi all, this plugin received a minor update today. 👋

This update added Spanish language help documentation. This update will also cause the plugin to warn in the dev tools console instead of crashing when it detects invalid JSON in a plugin parameter. Invalid JSON is caused by setting up the parameters incorrectly, so these warnings are still important to fix.

Version 1.0.3
  • Added Spanish language help documentation
  • Warn instead of crash on invalid JSON
version-104.png

Hi all, today this plugin was updated to version 1.0.4! 👋

This update is mostly a documentation update to fix some typos in parameter descriptions and bring the existing help documentation in line with my other [CGMZ] plugins. Minor code changes were done to update console warnings in a more consistent style with other [CGMZ] plugins.

Version 1.0.4
  • Warning messages updates
  • Documentation updated
version-110.png

Hi all, today this plugin was updated to version 1.1.0! 👋

This version added a variable to the holidays which will count up as the holiday progresses. It counts by hour, and will be set to 1 even if 0 hours have passed since the holiday began. Every hour after that, 1 will be added to the variable, so after 1 hour the variable will be equal to 2, and so on. If the variable is 0, the holiday is not currently active.

The weekly event parameter also had its weekday subparameter converted from a number between 0-6 to a selectable parameter that you directly select the day of the week, which should be easier to use.

Version 1.1.0
  • Added a variable that counts the time the event has been active
  • Weekly event weekday parameter converted to selectable type

Original thread: https://forums.rpgmakerweb.com/threads/cgmz-holidays.126208/