MV Difficulty Option when choosing New Game

I’m trying to set up a difficulty select thing for RPG Maker MV using Yanfly’s Difficulty Slider plugin.
When you hit New Game, I want a little menu to pop up first where you pick difficulty, like:

Choose your difficulty:
  • Story – 60%
  • Easy – 80%
  • Normal – 100%
  • Hard – 120%+
Then once you pick one, it just starts the game normally with that difficulty already applied.
I’m trying to do this as a plugin instead of eventing, since it feels like it should be cleaner that way, but I’m not fully sure how to make it properly.
I am new to .js, so I am not sure how to even make one for this, or if there is one out there that works with Yanfly that I missed. In my game, with the Yanfly plugin, you can choose it from the options menu, but I also want the player to choose it when starting a new game, so they don't have to go into options first or get told to change it in the options from an NPC.
I build something like that [here].
it needs my mini base as minimum, but you can run this after new game
to lock in the difficulty you want.

it has a small description to set as well and fully customizable to set
the params for each part to suit your needs.

they aren't premade, so its totally your choices of settings.
If you're using the Yanfly’s Difficulty Slider plugin, you can use this script call to set the difficulty to whatever you want.

JavaScript:
ConfigManager.difficultySlider = 120;
ConfigManager.save();

You can then make the menu using regular events, which I think would be simpler than making a plugin for this.

Original thread: https://forums.rpgmakerweb.com/threads/difficulty-option-when-choosing-new-game.183815/