MZ How Do I Make Custom Options?

I want to create custom options that can be referenced by events, like using a slider as a variable or a binary on/off option as a switch or true/false value. Is there a tutorial for doing that in a plugin or something?
With a Picture Menu you could probably place buttons that allow players to use menus to interact with events that change variables and whatnot, and that's probably the easiest way to do custom meu stuff.
For MZ I can't say anything with certainty. Perhaps VS Options Core allows the same customization as Yanfly's Options Core.
For it to affect the game globally, across all saves, you would need to add a global variable and switches plugin to your project. These will be read - as the name implies - globally for the whole game.

As for actually setting up options to utilize these variables and switches, I can't really help much further since I don't really know for MZ.

You can also set up "Joptions" (that's jank + options) on a per save file basis.
When the new game starts, run an autorun event and just ask players to set the options as they would like, those would set variable/switch values that control those options.
You can also just set up a button common event or menu common event which basically calls up this series of questions.
You could make it a choice list like:
"What options do you want to adjust?"
and then a list of choices.
It's all pretty jank, but I suppose it depends on the scope of your game. If it's just a little hobbiest freeby game, some janky menus like this are totally fine.

You can also get creative and make options be diegetic;
For example, if you want to reduce encounters then you can buy "smelly perfume" that makes monsters run away from your gamer BO.
Or at the inn you could have a jukebox and talking to it lets you set the volume of the game.
I don't know, just spit-ballin here. But you can definitely use creativity to overcome the limitation as well if you really brain storm on it.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-make-custom-options.174828/