MV Moghunter's Menu Plugin- moving the names of characters

So at the moment, i really like my retro-esk menu that i made with Moghunter's menu plugin, although there's one small issue.
I can't find where/what i need to change in the JS to move the names of the characters over so they are on top of the boxes in the picture bellow.

1749359204321.png

And after i tried looking at the code, i believe the image below is the spot i'm looking for(As it's the only 1 of 2 lines that says "ActorName")-but i'm not entirely sure what to do here, i also tried to change some of the numbers but i haven't noticed any changes when i adjust them.
1749359457262.png

Any help is appreciated!
This thread was moved from RPG Maker MV Support to Javascript/Plugin Support.
So at the moment, i really like my retro-esk menu that i made with Moghunter's menu plugin, although there's one small issue.
I can't find where/what i need to change in the JS to move the names of the characters over so they are on top of the boxes in the picture bellow.

View attachment 342425
And after i tried looking at the code, i believe the image below is the spot i'm looking for(As it's the only 1 of 2 lines that says "ActorName")-but i'm not entirely sure what to do here, i also tried to change some of the numbers but i haven't noticed any changes when i adjust them.
View attachment 342430
Any help is appreciated!
Go to your PluginManager and open up mog's plugin. On the right side, loo for the parameter named "Com Name X-Axis". Change that value to a lower number and it should fix its placement. The name is centered so find a value that fits the screen best.
Go to your PluginManager and open up mog's plugin. On the right side, loo for the parameter named "Com Name X-Axis". Change that value to a lower number and it should fix its placement. The name is centered so find a value that fits the screen best.
that parameter is for something else-
1749401141497.png

The command name adds a 2nd name for the option you are hovering in the menu, i had it disabled previously since i didn't want that little floating part.

Some of the more specific things you want to change in this plugin, you have to do in the actual javascript file itself, like the menu options there on the left, by default they are horizontal.
that parameter is for something else-
View attachment 342457
The command name adds a 2nd name for the option you are hovering in the menu, i had it disabled previously since i didn't want that little floating part.

Some of the more specific things you want to change in this plugin, you have to do in the actual javascript file itself, like the menu options there on the left, by default they are horizontal.
It must be this then? You are talking about the names being offset, correct?

Sorry - I was only going off of what you referenced which was the com name, not the actor name in the menu:

JavaScript:
MCharStatus.prototype.createName = function() {
    this._name = new Sprite(new Bitmap(120,32));
    this._name.x = this._layout.x + Moghunter.scMenu_NameX;
    this._name.y = this._layout.y + Moghunter.scMenu_NameY;
    this._name.bitmap.fontSize = Moghunter.scMenu_NameFontSize;
    this._name.bitmap.drawText(this._actor.name(),0,0,120,32,"center");
    this.addChild(this._name);
 
};
There isn't a parameter for it so you can edit the values for this._name.x (around line 1067). I can test later when I get home and possibly add a few edits needed for it.

Edit: you could start by changing line 216 - the optional value is 20, I changed it to -20 (set it to what you want):
JavaScript:
Moghunter.scMenu_NameX = Number(Moghunter.parameters['Name X-Axis'] || -20);

Edit of Edit: I would use the devtools to see where it needs to be first before making a final decision. Here is an example:
It must be this then? You are talking about the names being offset, correct?

Sorry - I was only going off of what you referenced which was the com name, not the actor name in the menu:

JavaScript:
MCharStatus.prototype.createName = function() {
    this._name = new Sprite(new Bitmap(120,32));
    this._name.x = this._layout.x + Moghunter.scMenu_NameX;
    this._name.y = this._layout.y + Moghunter.scMenu_NameY;
    this._name.bitmap.fontSize = Moghunter.scMenu_NameFontSize;
    this._name.bitmap.drawText(this._actor.name(),0,0,120,32,"center");
    this.addChild(this._name);
 
};
There isn't a parameter for it so you can edit the values for this._name.x (around line 1067). I can test later when I get home and possibly add a few edits needed for it.

Edit: you could start by changing line 216 - the optional value is 20, I changed it to -20 (set it to what you want):
JavaScript:
Moghunter.scMenu_NameX = Number(Moghunter.parameters['Name X-Axis'] || -20);

Edit of Edit: I would use the devtools to see where it needs to be first before making a final decision. Here is an example:

Perfect, just what i needed thank you!
1749417767574.png

i decided to change the value to -30 / 3 and it centered them really nicely!
thank you again for the help, i would've been stuck on this for a week without it!
This thread is closed due to being reported as solved. If you need it reopened, report it to let us know. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/moghunters-menu-plugin-moving-the-names-of-characters.178184/