Is it possible to add a new stat type in the editor's GUI?

Hello, I am using RPGM MZ and I was wondering if it's possible to add a new stat and be able to set it for each enemy from the editor's GUI, I know this is possible to do in the final product because of being able to use plugins and edit the game's js files but is it possible to make a new value accessible and able to be set from the editor through a plugin or other sorts?
No, you can not. There is no way to change how the editor works with plugins, or any other means outside of cracking it open and coding it in illegally I suppose.
The usual workaround is to use "notetags", often in a database Note field: stuff like <name: value>. A plugin can parse these tags and act accordingly.
Thank you both, noted and also the Note field idea seems convenient, I will give it a try.
I'd just modify the engine if i wanted to do that. as long as you own mz then it's not illegal to modify the engine if its for your project.
However, there are some restrictions. You cannot distribute the modified engine files separately, or use them to create a new game engine. The modifications you make are meant to be part of a game you create with RPG Maker MZ, and that game must also adhere to the terms of the EULA.
I'd just modify the engine if i wanted to do that.
Just to mention it: that is exactly what plugins do. A plugin modifies the core scripts on game boot.

Plugins are preferable to direct core script edits because they are easy to configure via the Plugin Manager, move from one project to another, toggle on/off when testing, track the code author and their terms of use, etc. Also, plugins don't get removed if/when you update your project's core script version.

Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-add-a-new-stat-type-in-the-editors-gui.179671/