How to do custom resources? (HP, MP, TP, AP, SP, Rage, Energy, Spirit, etc.)

So I have a multitude of classes in my game (And eventually, hopefully, subclasses) and I want many of them to use customized resources. I attempted to look up "custom costs" or "custom resources", but that didn't help me much.

Anyway I'll give some examples of things I want to do (and could do in VXA, but I can't figure out how in RMMV).

Guardian: Threat Meter - Up to 100 points. Uses a "taunt" like ability on mobs that immediately fills the gauge and then he must use abilities until the Threat Meter is depleted before he can taunt again.

Engineer: Siege - Up to 3 points. The engineer must reload a rocket launcher with 3 ammo. Abilities then consume between 1-3 ammo.

Arbiter: Stasis - Up to 5 points. Use stasis abilities to lock down or debuff certain targets. Certain offensive skills can only be used on those affected targets.

I also have many caster classes that use MP, TP, and even one that consumes HP for abilities, so I can't just adjust the min/max of those.

Once sub-classes are in my game I want any meters for the class/subclass to be shown. If the character is an Arcanist/Engineer then they'll need HP, MP, and Siege; if the character is a Soldier/Arbiter, then they'll need HP, TP, and Stasis.

Realistically the bars themselves can wait, I just need to know how to get custom resource costs.
You would need to write a plugin to handle custom resources like that. You would need to create the parameter, and then add the functionality of using it as a cost for skills.
Thank you very much, Liquidize. I've never delved into scripting (Ruby or Java), so I would not be able to write a plugin for this, but at least I know where to start now. Thank you very much for the reply. 🙂

Original thread: https://forums.rpgmakerweb.com/threads/how-to-do-custom-resources-hp-mp-tp-ap-sp-rage-energy-spirit-etc.53739/