MZ Lifting the LevelCap in RPG Maker MZ

Hello,

I've tried many things and studied some plugins made for RPG Maker MV with the purpose of lifting the LevelCap of 99. The thing is, the parameters change (no restriction anymore), but for some reason the LevelCap won't disappear regardless of what I try.
I made a tiny function for MV, but that has rather "class restriction"
in the level.

class 1 = lv 15, so they cannot level pass that, if they change class to 2,
they could level to 30, if they raise the class again, to lv 40, but i don't
know how to make that function work in MZ though.

but you could try if it works in MZ or otherwise, try to port that function to MZ?
I need to do this myself but planned to do that much later, and thus I haven't dug as deep into this as I would like to, so there maybe some "buts" with this. The method to allow the status screen and where ever else the actor's level is displayed(it's drawn actually) is:

Code:
Game_Actor.prototype.maxLevel = function() {
    return this.actor.maxLevel();
};

Change the return value to a either an integer literal(raw number) or a variable that holds a value that isn't 99. Exp TNLs and Totals are still calculated properly, however the big but is this:

This causes NaN across the board though and remove HP/MP bars, etc. From a quick skimming, I've ascertained that this has to do with how the classes(like swordsman, so as to not confuse class with JS class) are related to levels as their stats are set by each level. My first thought would be "I have to override the whole class system just to raise the level cap for each actor?"
Made a plugin a while ago to tackle this.

See if it helps.

LINK
Made a plugin a while ago to tackle this.

See if it helps.

LINK
Hi, is the yanfly tidbit a plugin or something? Been scratching my head on how to raise max level cap, could I please use this for my game I'm working on?
EDIT: Sorry, scratch that! I figured out that VisuStella Engine Core has a note tag for it lol.

Original thread: https://forums.rpgmakerweb.com/threads/lifting-the-levelcap-in-rpg-maker-mz.139760/