An open library of RPG Maker MV plugins, powered by the community.

PGMV - The Community-Driven Plugin Library for RPG Maker MV

MV plugins

Menu Sub Command - MenuSubCommand.js

Plugin desc : Menu screen subcommand plugin

License : MIT License

Author : Triacontane

Website : https://triacontane.blogspot.com/

Desc page : https://triacontane.blogspot.com/

Download Page : https://raw.githubusercontent.com/munokura/triacontane-MV-plugins/refs/heads/main/MenuSubCommand.js

File name : MenuSubCommand.js

Help of plugin :

@plugindesc Menu screen subcommand plugin
@author Triacontane
@url https://triacontane.blogspot.com/
@license MIT License

@help
English Help Translator: munokura
This is an unofficial English translation of the plugin help,
created to support global RPG Maker users.
Feedback is welcome to improve translation quality
(see: https://github.com/munokura/triacontane-MV-plugins ).
Original plugin by Triacontane.
Please check the latest official version at:
https://triacontane.blogspot.com
-----

You can add as many commands with custom names and subcommands displayed
in a tree structure as you like to the main menu screen.
Executing (confirming) a subcommand will either execute a script,
or move to a specified map. (Both are possible.)

Scripts are primarily used to transition to other screens created by
scripts. Of course, you can also transition to screens added by other
plugins.
Map transitions are primarily used to transition to custom menu screens
triggered by events.
To return from a custom menu screen, simply open the menu again.
The original menu location is saved separately, so you don't need to worry
about it.

In addition to the standard vertical layout and menu screen, this also
supports horizontal menu screens created by plugins.

When selecting a member and moving to a map, the selected actor ID can be
saved in a variable.

If all subcommands are hidden, the parent item itself will also be hidden.
If all subcommands are disabled, the parent item itself will also be
disabled.

If there is only one subcommand, the subcommand window will not be
displayed, and the subcommand will be executed when the parent command is
selected.

Some advanced settings, such as the font size of the subcommand window,
are written directly in the "User Settings Area."
You can modify them as needed.

When using with the Glossary Plugin
When using the "Glossary Plugin" simultaneously,
you can call up the glossary screen by executing the following in a script:
this.commandGlossary(1); // Calls the glossary for term type [1]

This plugin does not have a plugin command.

Terms of Use:
You may modify and redistribute this plugin without permission from the
author, and there are no restrictions on its use (commercial, 18+, etc.).
This plugin is now yours.

@param SubCommand
@desc Subcommand information.
@type struct<SubCommand>[]

@param CommandPosition
@desc The position to add subcommands. 0: Below sorting 1: Below options 2: Below save 3: Below exit game
@default 0
@type select
@option Under Sort
@value 0
@option Under Options
@value 1
@option Under Save
@value 2
@option Under the end of the game
@value 3

@param SubMenuWidth
@desc The width of the window in which the submenu is displayed. If not specified, the default value "240" is applied.
@default 0
@type number

@param SelectActorIdVariable
@desc This is the variable number that stores the actor's ID when an actor is selected from a subcommand.
@default 0
@type variable

@param WindowSkin
@desc Sets a dedicated skin for the subcommand window.
@type file
@require 1
@dir img/system/

@param HideOption
@desc Clear the option from the main menu.
@default false
@type boolean

@param HideGameEnd
@desc Clears the exit game from the main menu.
@default false
@type boolean

@param HorizontalSubMenu
@desc Arrange submenus horizontally.
@default false
@type boolean

@param ClearSubMenuOneByOne
@desc Clears the submenus one by one.
@default true
@type boolean

@param SubMenuX
@desc If specified, the X coordinate of the subcommand will be a fixed value.
@default 0
@type number

@param SubMenuY
@desc If specified, the Y coordinate of the subcommand will be a fixed value.
@default 0
@type number

@param SubMenuAlign
@desc Sets the alignment of the subcommand.
@type select
@option Left justified (default)
@option Centered
@value center
@option Right-justified
@value right

@param AnotherPicturesInMenuMap
@desc The display state of the menu map and normal map pictures is managed separately.
@default false
@type boolean

スポンサードリンク

-MV plugins

Copyright© PGMV - The Community-Driven Plugin Library for RPG Maker MV , 2026 All Rights Reserved.