Help with day/night system?

Hello, I am new in RPGM MZ and this forum in general, so it will be greatly appreciated if you can explain in as easy to understand terms as possible.

In my game I want to add a day/night system. Day and Nights will go on indefinitely until the Main Character rests, so you can stay in night or day as long as you want.
The difference between night and day is the events, as in, there are events (NPC, Areas, Quests) that are visible and accessible only during day or night and situations can be solved at a certain point (for example you can received a Quest during Night Time that can only be solved during Night Time, or you can also receive a quest during Night time that can only be solved during Day Time)
I couldn't find a plugin for this exact thing and I don't really know how to do it with what's built in MZ
with your description, "day/night" are just labels for changes on the map and have nothing to do with any form of "time". That needs to be said because as you probably already have seen, most uses of day/night focus on a time-system (which is usually evented).

however simple map changes are much easier to handle, and there are two different ways depending on how much changes.

If there are big changes between day and night, you should use two different maps for day and for night, with the change between them simply transfering the player to the other set of maps.
This is preferable if you have dozens of different event behaviours, different random encounters or if the map itself (paths, doors) change between day version and night version.

If the difference between day and night are rather minor and just a handfull of different events, then you make a switch for version 1 (=day) and another for version 2 (=night) and every event that is only there on the day gets the switch for version 1 as a condition on every page, and the same for version 2.
and each group of events will only be active if the corresponding switch is ON, which you change when the day/night is supposed to change.
1st choice
2nd Choice
3rd choice

Chose one of them
For your characters who give quest only on, u set a switch.
tldr 'when is night, switch x is on'
event (new page) 'if switch on'
it reacts different.
And then they would have another page, when quest is completed they would turn on a self switch.
Reguarl, X event(X is the name of ur event), Once Quest is completed - the self switch is activated.
Goodluck son
Yeah, from your description it sounds like you're just using a single event command to turn your Night switch on or off.

Then anything dependent on it simply uses a Conditional Branch to see if that switch is on.

Original thread: https://forums.rpgmakerweb.com/threads/help-with-day-night-system.161887/