Can't figure out a way to make TP/MP disappear for certain classes in VX Ace

I've been looking around for the past few days and couldn't find anything, so I decided to make an account and post for this exact reason. I know about Yanfly, but that seems MV exclusive, and I use VX Ace.
Any practical solutions?
try setting those classes' max TP to 0
Thing is, I want the bars to disappear completely in the menu and in battle.
Yanfly has both Ace-scripts and MV-plugins, although more MV plugins than Ace scripts. Check his Ace-site if there is an equivalent to the plugin you've found about this.

Most likely no (I don't remember there being such a script, but it has been years since I last checked), in which case you can either try to use the Luna Engine for Ace or request/commission a custom menu script.
EDIT: scratch that.... I can come up with a solution in a minute

EDIT2: here

Spoiler
Code:
module Gauge_Override
  CLASS_ID = [1,2,3,4,5]
end

class Window_Base
  alias orig_DWMP draw_actor_mp
  def draw_actor_mp(actor, x, y, width = 124)
    return if Gauge_Override::CLASS_ID.include?(actor.class_id)
    orig_DWMP(actor, x, y, width)
  end

  alias orig_DWTP draw_actor_tp
  def draw_actor_tp(actor, x, y, width = 124)
    return if Gauge_Override::CLASS_ID.include?(actor.class_id)
    orig_DWTP(actor, x, y, width)
  end
end

drop that under "materials" above any other scripts you might have.
add the class IDs on that module, where the bars shouldn't appear.
I tried putting it in, the bars are still there
Plus, I need one to disappear at a time, not both at once

Sorry for bothering you
if you have a GUI plugin, it will cancel this one.

Code:
module Gauge_Override
  CLASS_MP = [1,2,3,4,5]
  CLASS_TP = [1,2,3,4,5]
end

class Window_Base
  alias orig_DWMP draw_actor_mp
  def draw_actor_mp(actor, x, y, width = 124)
    return if Gauge_Override::CLASS_MP.include?(actor.class_id)
    orig_DWMP(actor, x, y, width)
  end

  alias orig_DWTP draw_actor_tp
  def draw_actor_tp(actor, x, y, width = 124)
    return if Gauge_Override::CLASS_TP.include?(actor.class_id)
    orig_DWTP(actor, x, y, width)
  end
end

there.... add the class ID to the respective array, if you want one or both off.
How do I put the code in properly, it doesn't seem to function properly
put that block, onto a new entry, below the "Materials" slot, in the script list.
add the IDs of the classes for which you want to hide the bars, in the CLASS_MP and _TP arrays.

if you have another plugin that rewrites the interface, *IT* will overwrite this one.... so, either take it out, or ask the author for a custom edit.

Original thread: https://forums.rpgmakerweb.com/threads/cant-figure-out-a-way-to-make-tp-mp-disappear-for-certain-classes-in-vx-ace.117190/