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

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

MV plugins

Common Popup Core - CommonPopupCore.js

Plugin desc : ver1.06/This is a base plugin that provides a general-purpose popup mechanism.

License : MIT License

Author : Yana

Website : https://w.atwiki.jp/pokotan/pages/3.html

Desc page : https://github.com/munokura/Yana-MV-plugins

Download Page : https://raw.githubusercontent.com/munokura/Yana-MV-plugins/refs/heads/master/Map_Message/Popups/CommonPopupCore.js

File name : CommonPopupCore.js

Help of plugin :

@plugindesc ver1.06/This is a base plugin that provides a general-purpose popup mechanism.
@author Yana
@url https://github.com/munokura/Yana-MV-plugins
@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/Yana-MV-plugins ).
Original plugin by Yana.
-----
CommonPopup add param1 param2 param3 ...

You can specify only the necessary parameters.
Example: Pop up "test" above the player for 240 frames.
CommonPopup add text:test count:240 eventId:-1

Parameter details:
text: Show Text
eventId: Event ID to display
count: Display time
delay: Display delay
moveX: Target point X (relative coordinates)
moveY: Target point Y (relative coordinates)
sx: Display position offset X
sy: Display position offset Y
pattern: Display pattern. 0 = fade, -1 = horizontal stretch, -2 = vertical stretch
back: -1 = transparent background, 0 = background color fill, 1 or more = image index
bx: Content display position offset X
by: Content display position offset Y
extend: Specify an array to adjust the display timing. Example: extend:[20,50] Appears over 20 frames and begins to disappear on frame 50.
fixed: Fix to screen? Specify true/false.
anchorX:
anchorY:
slideCount: The speed at which a new popup slides up when it is generated.

When using an Event's Contents script, you can create a popup using the following:

this.addPopup(["add","text:TEST","count:120"…]);

Similarly, when using a script within an Event's Contents's movement route, you can use the following:

$gameMap._interpreter.addPopup(["add","text:TEST","count:120"…]);

This plugin can be used using the following:

-----------------------------------------------------
Terms of Use
------------------------------------------------------
This plugin is released under the MIT License.
http://opensource.org/licenses/mit-license.php
------------------------------------------------------
This plugin provides a general-purpose popup mechanism.
This plugin alone has no functionality other than adding plugin commands.
The following two new Traits have been added:
- The size of the icon drawn with ¥I[x] now tracks the text size.
- The control character ¥FS[x] has been added for changing the text size.
--------------------------------------------------
Update History:
ver1.06:180513
Fixed a bug that prevented some processes from working properly.
ver1.05:170525
Added a Traits to play sound effects when a popup occurs.
ver1.04
Added a conflict avoidance process with YEP_MessageCore.
Added vertical and horizontal stretching to the behavior patterns.
Fixed a bug that prevented the popup plugin parameters from working properly.
ver1.03:
Changed the back parameter to allow the file name of a picture folder to be specified.
ver1.02:
Added a Traits to make the slides move from top to bottom.
ver1.01:
Fixed a bug that could cause a popup to be registered even when a container had not been created.
ver1.00:
Released

@param Text Back Color
@desc Popup background color. Set to rgba(red,green,blue,alpha).
@default rgba(0,0,0,0.6)

@param Text Back FileName
@desc The background image name for the popup. %d is converted to an index.
@default popup_back%d

スポンサードリンク

-MV plugins

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