X Tutup

CasperGaming

Plugins + More
Regular
Joined
Mar 15, 2012
Messages
799
Reaction score
1,444
First Language
English
Primarily Uses
RMMZ
[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
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.
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
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
 
Last edited:

ct_bolt

Creator
Regular
Joined
May 3, 2012
Messages
1,367
Reaction score
1,015
First Language
Javascript
Primarily Uses
RMMZ
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
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
Version 1.0:
- Initial Release
Looks cool, seems like a nice idea for a plugin. :cutesmile:

1598502341291.png
Link seems to be down though. :(
 

CasperGaming

Plugins + More
Regular
Joined
Mar 15, 2012
Messages
799
Reaction score
1,444
First Language
English
Primarily Uses
RMMZ
@ct_bolt Oops, named the file CGMZ_Holidays.zip instead of CGMZ-Holidays.zip

It should be fixed now
 

Elgigante94

PROJECT 1
Regular
Joined
May 4, 2020
Messages
45
Reaction score
31
First Language
French, Spanish
Primarily Uses
RMMZ
Looks nice :) Good job
 

Mr_Retro

Veteran Gamer
Regular
Joined
Mar 26, 2012
Messages
102
Reaction score
22
First Language
English
Primarily Uses
RMMZ
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.
 

SirTophamHakurei

RPG Maker Nutcase
Regular
Joined
Feb 3, 2014
Messages
355
Reaction score
421
First Language
English
Primarily Uses
RMMZ
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?
 

CasperGaming

Plugins + More
Regular
Joined
Mar 15, 2012
Messages
799
Reaction score
1,444
First Language
English
Primarily Uses
RMMZ
@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.
 

SirTophamHakurei

RPG Maker Nutcase
Regular
Joined
Feb 3, 2014
Messages
355
Reaction score
421
First Language
English
Primarily Uses
RMMZ
@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.
 

CasperGaming

Plugins + More
Regular
Joined
Mar 15, 2012
Messages
799
Reaction score
1,444
First Language
English
Primarily Uses
RMMZ
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
 

Logica

Let's go to paradise!
Regular
Joined
Jun 25, 2012
Messages
54
Reaction score
75
First Language
Portugues
Primarily Uses
RMMV
I just love systems that simulate calendars. You did a great job! Dog day was a great idea! Very good!
 

SirTophamHakurei

RPG Maker Nutcase
Regular
Joined
Feb 3, 2014
Messages
355
Reaction score
421
First Language
English
Primarily Uses
RMMZ
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?
 

CasperGaming

Plugins + More
Regular
Joined
Mar 15, 2012
Messages
799
Reaction score
1,444
First Language
English
Primarily Uses
RMMZ
@AeroPergold could you provide start/stop time for the weekly event that is staying on?
 

SirTophamHakurei

RPG Maker Nutcase
Regular
Joined
Feb 3, 2014
Messages
355
Reaction score
421
First Language
English
Primarily Uses
RMMZ
@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.
 

CasperGaming

Plugins + More
Regular
Joined
Mar 15, 2012
Messages
799
Reaction score
1,444
First Language
English
Primarily Uses
RMMZ
@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
 

SirTophamHakurei

RPG Maker Nutcase
Regular
Joined
Feb 3, 2014
Messages
355
Reaction score
421
First Language
English
Primarily Uses
RMMZ
@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.
 

CasperGaming

Plugins + More
Regular
Joined
Mar 15, 2012
Messages
799
Reaction score
1,444
First Language
English
Primarily Uses
RMMZ
version-103.png
Hi all, this plugin received a minor update today. :kaohi:

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
 

CasperGaming

Plugins + More
Regular
Joined
Mar 15, 2012
Messages
799
Reaction score
1,444
First Language
English
Primarily Uses
RMMZ
version-104.png
Hi all, today this plugin was updated to version 1.0.4! :kaohi:

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
 

CasperGaming

Plugins + More
Regular
Joined
Mar 15, 2012
Messages
799
Reaction score
1,444
First Language
English
Primarily Uses
RMMZ
version-110.png
Hi all, today this plugin was updated to version 1.1.0! :kaohi:

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
 

Latest Threads

Latest Profile Posts

Twitch stream is live with Resident Evil 9! Feel free to drop by!
1000207302.png
All of the skill/system icons: Done
Pepper hopped up on my bed to snuggle earlier... and now there's grains of kitty litter all over the foot of my bed. Now she's in her own bed fast asleep. Sometimes, I like to wonder what Pepper dreams about... does she dream of chasing her toys? Pouncing on the lizards she sees on her patio? Purring in a sunny window? Receiving pets and scritchies?
Oh no... she's back in my bed.
Really interesting seeing the public be so okay with the placeholder art in Slay the Spire 2. I guess they trust in the potential of the final product, but it would be cool if the general consumer had a better understanding of dev pipelines.
Haven't updated my status in awhile. I'm taking a short break from working on my game because I have a sliiiight burnout,,

Forum statistics

Threads
154,253
Messages
1,407,563
Members
209,652
Latest member
SoapH
Top
X Tutup