MV Yanfly Main menu manager help?

Hii! So related to my previous thread by far, we managed to hide the unnecessary options that appear in the main menu and only keep the options that we actually want with the plug in ''Yanfly, Main menu manager''
This is how it looks in game:

(This is not related to my question, but to avoid confusion, here's the translation: Objeto/ Object or Items, Opciones/Options, Guardar/ Save, Salir/Exit)

Captura de pantalla 2024-10-27 132713.png


The thing is that we want this options to appear in a small ''box'' and not on a straight line like the screenshot I attached, here's an example:

Captura de pantalla 2024-10-25 204447.png


We tried to do this by using the plug in I mentioned before, and I think we found something, I'm not completely sure, but is it possible to do this in the parameters of the plug in called Command Rows? Here's the parameter:

Captura de pantalla 2024-10-27 132642.png


When we click on it, it shows a formula that we don't understand:

Math.min(10, Math.ceil(this.maxItems() / this.maxCols()))

Maybe it's not what we are looking for, but I would appreciate it if someone could provide us an explanation or a solution for our request 🙂
youd want to change the rows to 1 to make it vertical and then slide it down, no?
its not a plugin i use. im unsure if itll resize it, make it a vertical selection window instead of a horizontal one, or allows for repositioning
youd want to change the rows to 1 to make it vertical and then slide it down, no?
its not a plugin i use so im unsure if itll resize it, make it a vertical selection window instead of a horizontal one, or allows for repositioning
Yep, but how can I resize it? I'm not sure if there's an option for that on the plug in
is the yanfly menu manager the only menu plugin you have? that menu is vertical by default and i took a quick glance at its page on the yanfly website to see if it changes it but it doesnt seem to.
is the yanfly menu manager the only menu plugin you have? that menu is vertical by default and i took a quick glance at its page on the yanfly website to see if it changes it but it doesnt seem to.
Oh, so you mean that it should appear vertical by default instead of horizontal? And yeah, I think it's the only menu plug in we have
columns should be 1, rows is the max items you want, so you need to swap those.
as columns need the columns.

or fix the rows.


columns = 1
rows is 4 (if its always 4)
oops, yeah. thought columns and typed rows. my bad
columns should be 1, rows is the max items you want, so you need to swap those.
as columns need the columns.

or fix the rows.


columns = 1
rows is 4 (if its always 4)
So, I can change this on the Yanfly Main menu plug in?
So, I can change this on the Yanfly Main menu plug in?
yes, fix number or JS eval that output a valid number.

it depends if it stays 4 or chance to increase (unlockable commands)
columns should be 1, rows is the max items you want, so you need to swap those.
as columns need the columns.

or fix the rows.


columns = 1
rows is 4 (if its always 4)
Hii! So related to my previous thread by far, we managed to hide the unnecessary options that appear in the main menu and only keep the options that we actually want with the plug in ''Yanfly, Main menu manager''
This is how it looks in game:

(This is not related to my question, but to avoid confusion, here's the translation: Objeto/ Object or Items, Opciones/Options, Guardar/ Save, Salir/Exit)

View attachment 321439

The thing is that we want this options to appear in a small ''box'' and not on a straight line like the screenshot I attached, here's an example:

View attachment 321440

We tried to do this by using the plug in I mentioned before, and I think we found something, I'm not completely sure, but is it possible to do this in the parameters of the plug in called Command Rows? Here's the parameter:

View attachment 321441

When we click on it, it shows a formula that we don't understand:

Math.min(10, Math.ceil(this.maxItems() / this.maxCols()))

Maybe it's not what we are looking for, but I would appreciate it if someone could provide us an explanation or a solution for our request 🙂

Hii! So related to my previous post, we tried to change the columns and the rows in the plug in, but it didn't work out 🙁
I attach a screenshot of what we changed and also the list of the plug ins we have, although I think that none of the other plug ins, affect our process. But It would be great if someone clarifies this to us or provides a plug in that can make this menu thing box, or maybe we can change it without using a plug in?

(List of plug ins)

Captura de pantalla 2024-10-28 115923.png


(Yanfly, Main menu manager plug in, what we changed)
Captura de pantalla 2024-10-28 115933.png


By the other hand, we tried to change the ''Command Rows'' formula on the plug in by using this one instead:

Math.ceil(this.maxItems() / 4)

(We used ChatGPT for this, so maybe it's not how it works, but it doesn't change anything at all.)

This was the original formula:

Math.min(10, Math.ceil(this.maxItems() / this.maxCols()))
original should be used or fix items depends on the amount.

also, your plugin is incorrect, YEP_CoreEngine is the one on top.
incorrect order make the plugins unuseable/incorrectly behavior.

Title command should be below that, as it is not a misc plugin.
original should be used or fix items depends on the amount.

also, your plugin is incorrect, YEP_CoreEngine is the one on top.
incorrect order make the plugins unuseable/incorrectly behavior.

Title command should be below that, as it is not a misc plugin.
Okay! We changed the order, but it still doesn't work (the menu now appears as a single button that changes as we move the arrows to select the option), and what do you mean by ''original should be used or fix items depends on the amount.''? And it's the formula we provided correct, or should we change it to the original?
change rows to 4 and see what happens, if that works, the math is wrong.
it depends how many items there comes in total or if its always 4.

if its always 4, just set 4 and your good.
change rows to 4 and see what happens, if that works, the math is wrong.
it depends how many items there comes in total or if its always 4.

if its always 4, just set 4 and your good.
Thank you!! It actually worked 😀

change rows to 4 and see what happens, if that works, the math is wrong.
it depends how many items there comes in total or if its always 4.

if its always 4, just set 4 and your good.
And by the way, sorry to bother again, but how can I move the main menu to appear lower instead of on top of the screen?

Like this
Captura de pantalla 2024-10-25 204447.png
if it's not in the parameters than alter it in the plugin,
to line 4698 or search this function:


JavaScript:
Scene_Menu.prototype.createCommandWindow = function() {
    this._commandWindow = new Window_MenuCommand(0, 0);
    this.createCommandWindowBinds();
    this._commandWindow.setHandler('cancel',    this.popScene.bind(this));
    this.addWindow(this._commandWindow);
}

change the second 0 to any number or put this into a new plugin and place it
right below YEP_MMM

sample would be
JavaScript:
Scene_Menu.prototype.createCommandWindow = function() {
    this._commandWindow = new Window_MenuCommand(0, 500);
    this.createCommandWindowBinds();
    this._commandWindow.setHandler('cancel',    this.popScene.bind(this));
    this.addWindow(this._commandWindow);
}

or if it works, change 500 to
JavaScript:
Graphics.boxHeight / 2

and it center it that way.

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-main-menu-manager-help.172858/