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 Common Event - MenuCommonEvent.js

Plugin desc : Common event plugin in the menu

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/MenuCommonEvent.js

File name : MenuCommonEvent.js

Help of plugin :

@url https://triacontane.blogspot.com/
@plugindesc Common event plugin in the menu
@author Triacontane
@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
-----
MenuCommonEvent.js

You can execute common events in parallel on menu screens and screens added by
plugins (*1).
Event commands (*2) can be used to manipulate messages, pictures, and
variables.
One common event can be executed per screen.

*1 Can be used on menu screens.
Integration with the Sound Test and Glossary plugins has been confirmed.

*2 Some commands that target characters, such as setting movement routes, will
not work.
Also, scripts and commands added by plugins may not function correctly.

Plugin Command Details
Execute from the event command "Plugin Command."
(Separate parameters with a space.)

DISABLE_WINDOW_CONTROL # Disables window control on the menu screen.
ENABLE_WINDOW_CONTROL # Enables window control on a disabled menu screen.
ENABLE_WINDOW_CONTROL # Stops parallel execution of events. Events will be
re-executed when you switch screens and return.

If the plugin comment name overlaps with another plugin's, set a value in the
parameter "Command Prefix."

Script Details
Execute from the "Script" or "Variable Operation" event command.

/ Get the window object
this.getSceneWindow(windowName);
Returns the window object with the specified name.
You can get and set properties. This is an advanced feature.
The window names for the main screen are as follows:

・Main Menu
commandWindow Command Window
statusWindow Status Window
goldWindow Money Window

・Item Screen
categoryWindow Item Category Window
itemWindow Item Window
actorWindow Actor Selection Window

・Skill Screen
skillTypeWindow Skill Type Window
statusWindow Status Window
itemWindow Skill Window
actorWindow Actor Selection Window

・Equipment Screen
helpWindow Help Window
commandWindow Command Window
slotWindow Slot Window
statusWindow Status Window
itemWindow Equipment Window

・Status Screen
statusWindow Status Window

// Window Active Check
this.isWindowActive(windowName);
Returns true if the window with the specified name is active.
The window specification example is the same as above.

// Get Window Index
this.getSceneWindowIndex();
Gets the index of the currently active window. The index starts at 0.

// Get Selected Actor Object
$gameParty.menuActor();
Gets information about the actor selected in the Equipment Screen or Status
Screen.
This is a script for advanced users. (*1)

// Get the selected actor ID
$gameParty.menuActor().actorId();
Gets the actor ID selected on the equipment screen or status screen.

*1 This is an existing core script, but is included here because it is useful.

// Update the glossary display content
this.refreshGlossary();
Updates the glossary plugin's term display content.
Use this when integrating with this plugin.

〇 Integration with other plugins
When using in conjunction with the Picture Button Plugin
(PictureCallCommon.js),
Use the command "P_CALL_SWITCH" instead of "P_CALL_CE."

Plugin URL
https://raw.githubusercontent.com/triacontane/RPGMakerMV/master/MenuCommonEvent.js

Help URL
https://github.com/triacontane/RPGMakerMV/blob/master/ReadMe/MenuCommonEvent.md

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

@param CommonEventInfo
@text Common Event Information
@desc Information on common events executed on each screen.
@type struct<CommonEventInfo>[]

@param MaxMenuPicture
@text Maximum number of pictures displayed
@desc The maximum number of pictures to display on the menu screen.
@type number
@default 10
@min 1
@max 100

@param SaveInterpreterIndex
@text Remember execution position
@desc The event execution position is remembered and resumes from the remembered position when returning from another screen.
@type boolean
@default false

@param ActivateTimer
@text Enable timer
@desc The timer will be displayed and will advance even on the menu screen.
@type boolean
@default false

@param PictureUnderWindow
@text Place image behind window
@desc Displays a picture or other graphical element behind a window.
@type boolean
@default false

@param CommandPrefix
@text Command Prefixes
@desc This is the prefix for the plugin command and Note field. Please specify this if the command or Note field overlaps with that of another plugin.

スポンサードリンク

-MV plugins

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