MV How to center the commands of the main menu?

I'm new to RPGmakerMV and I'm trying to figure out how to center the commands of my main menu (not scene_title menu)

I've hidden the actor and gold window already using Yanfly's MainMenuManager Plugin, but I can't figure out how to center the remaining commands (settings, save & exit that is, i disabled all other ones such as equip or items)
Via Yanfly's plugin I still cannot center them, only put them in the top left/right corner. Any clue how to do this/what plugin to use?

Screenshot 2025-08-03 161714.png
You want to move the command window to the centre of the screen, right? Try this (untested):
Spoiler: plugin code
JavaScript:
/*:
 * @target MV MZ
 * @plugindesc Put the pause menu command window in the middle of the screen.
 * @author Caethyril
 * @url https://forums.rpgmakerweb.com/posts/1525104/
 * @orderAfter YEP_MainMenuManager
 * @help Free to use and/or modify for any project, no credit required.
 */
;void (function() {
"use strict";
  const alias = Scene_Menu.prototype.create;
  Scene_Menu.prototype.create = function() {
    alias.apply(this, arguments);
    const w = this._commandWindow;
    w.x = Graphics.boxWidth - w.width >> 1;
    w.y = Graphics.boxHeight - w.height >> 1;
  };
})();
Plaintext-to-plugin instructions:
  1. Copy + paste the code into a text editor (e.g. Notepad).
  2. File > Save As:
    • File Type: All Files
    • Filename: whatever.js
      (This works because .js files are plaintext.)
  3. Import that file as a plugin.
  4. Save your project to apply Plugin Manager changes.
  5. Test!
You want to move the command window to the centre of the screen, right? Try this (untested):
Spoiler: plugin code
JavaScript:
/*:
 * @target MV MZ
 * @plugindesc Put the pause menu command window in the middle of the screen.
 * @author Caethyril
 * @url https://forums.rpgmakerweb.com/posts/1525104/
 * @orderAfter YEP_MainMenuManager
 * @help Free to use and/or modify for any project, no credit required.
 */
;void (function() {
"use strict";
  const alias = Scene_Menu.prototype.create;
  Scene_Menu.prototype.create = function() {
    alias.apply(this, arguments);
    const w = this._commandWindow;
    w.x = Graphics.boxWidth - w.width >> 1;
    w.y = Graphics.boxHeight - w.height >> 1;
  };
})();
Plaintext-to-plugin instructions:
  1. Copy + paste the code into a text editor (e.g. Notepad).
  2. File > Save As:
    • File Type: All Files
    • Filename: whatever.js
      (This works because .js files are plaintext.)
  3. Import that file as a plugin.
  4. Save your project to apply Plugin Manager changes.
  5. Test!
It works perfectly!! Thank you so much 😤
Great! Happy RPG Making~

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-center-the-commands-of-the-main-menu.179336/