Welcome to PGMZ! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
NUUN pop Up - NUUN_popUp.js
Plugin desc : Pop up
License : MIT License
Author : NUUN
Website : https://github.com/nuun888/MZ/blob/master/NUUN_popUp.js
Download Page : https://raw.githubusercontent.com/nuun888/MZ/master/NUUN_popUp.js
File name : NUUN_popUp.js
Help of plugin :
* @target MZ
* @plugindesc Pop up
* @author NUUN
* @version 2.0.7
* @base NUUN_Base
* @orderAfter NUUN_Base
*
* @help
* Pop up the state and buff name when the state and buff are removed.
* The following popups are possible with this plugin.
* State, buff, defeat, steal, skill learning
*
* State popup
* The text to be added is entered in pop-up text.
* Enter the text at the time of release as pop-up text at the time of release or disappearance.
* Popup text format
* %1:State name
*
* state notes
* <PopUpStateName> State name to popup. If left blank, the database state name will be displayed.
* <BatState> This state is judged to be a bad state.
* <NoPopUp> Don't show popups.
* <AddNoPopUp> Do not display the popup when granting.
* <RemoveNoPopUp> Do not display the popup when the state is released.
* <PopUpColor:[colorIndex]> Specifies the popup color. [colorIndex]: Color index number or color code.
* Example: <PopUpColor: 17>
* <StatePopupImg:[fileName]> Enter an image file directly under the img folder without an extension for the image when the state pops up.
* <BadStatePopupImg:[fileName]> Enter the image file directly under the img folder without an extension for the image at the time of the popup of the disadvantageous state.
*
* Buff popup
* The text to be added is entered in pop-up text.
* Enter the text when releasing with "Popup text on release, disappearance".
* Popup text format
* %1:Buff name
*
* Popup defeated
* Enter only the pop-up text for the text at the time of defeat.
*
* Steal popup
* Separate "NUUN_StealableItems" is required.
*
* Enter the text at the time of acquisition in pop-up text.
* Enter the text when releasing with "Popup text on release, disappearance".
* Popup text format
* %1: Item name, Gold
*
* Popup learning skills
* Separately, "NUUN_SkillLearning" Ver.1.1.2 or later is required.
*
* Enter the text at the time of learning in "Popup text".
* Popup text format
* %1:Skill name
*
* Specification
* When used with "BattleEffectPopup", if this plug-in is set below "BattleEffectPopup", state and buff popups will be displayed with this plug-in.
* If you want to change the popup type for each popup, remove 'Sprite_PopUpEX' from the applicable class of each popup plugin.
*
* Terms of Use
* This plugin is distributed under the MIT license.
*
* Log
* 3/29/2025 Ver 2.0.7
* Fixed skill learning popup target.
* 9/14/2024 Ver 2.0.6
* Fixed an issue where the popup for buffs and debuffs would not appear when removed.
* 7/13/2023 Ver 2.0.5
* Fixed an issue where an error popped up in "NUUN_StealableItems".
* 5/22/2023 Ver 2.0.4
* Fixed an issue where an error would occur when canceling a state with an event command.
* 5/21/2023 Ver 2.0.3
* Fixed an issue that caused an error when adding or removing states with event commands.
* 5/21/2023 Ver 2.0.2
* Fixed to pop up even when adding or canceling state with event command.
* Fixed user popup not showing when used with certain plugins.
* 3/27/2023 Ver 2.0.1
* Fixed an issue where the icon would not display properly when adding an ability reduction to an ability increase or vice versa.
* 12/28/2022 Ver 2.0.0
* Major overhaul of plugin parameters.
* Pop-up support when learning skills in skill learning.
* Added the ability to display images for state, buff, and kill popups.
* Changed the display in languages other than Japanese to English.
* 12/15/2022 Ver 1.3.2
* Fixes for conflicts
* 12/5/2022 Ver 1.3.1
* Added function to display in specified popup.
* Added function to set coordinates and font size.
* 12/4/2022 Ver 1.3.0
* Added function to display popup when defeated.
* Fixed the problem that the color code cannot be obtained properly.
* 6/18/2022 Ver 1.2.2
* Change definition for horizontal bound popup class application function implementation.
* 6/18/2022 Ver 1.2.1
* Minor fixes.
* 6/14/2022 Ver 1.2.0
* Support popup when stealing. (requires NUUN_StealableItems)
* 5/2/2022 Ver 1.1.3
* Fixed an issue where the buff releasing common popup text was not being applied correctly.
* Fixed an issue where the buff releasing popup was not displaying properly.
* Defined by applying horizontal bounce popup, adding plugin parameters.
* 5/2/2022 Ver 1.1.2
* Fixed an issue where the popup color did not change.
* Modified to be able to specify color code for popup color.
* 5/1/2022 Ver 1.1.1
* Fixed the problem that an error appears when releasing the state.
* Added a function that allows you to specify the popup display method (default, fixed).
* /4/30/2022 Ver 1.1.0
* Conflict resolution with some plugins.
* Processing optimization.
* Specification change of popup text.
* 7/17/2021 Ver 1.0.1
* Compatibility mode support for battle style expansion plug-ins.
* 7/17/2021 Ver 1.0.0
* First edition.
*
* @param CommonSetting
* @text Common setting
* @default ------------------------------
*
* @param PopUpMode
* @text Popup display mode
* @desc Specifies the display mode of the popup.
* @type select
* @option Default
* @value 'default'
* @option Same position
* @value 'Same'
* @default 'Same'
* @parent CommonSetting
*
* @param PopUpWidth
* @desc Specifies the popup message width. (default 240)
* @text Popup message width
* @type number
* @default 240
* @parent CommonSetting
*
* @param PopUpReleaseOpacity
* @desc Opacity when released.
* @text Opacity when released
* @type number
* @default 128
* @parent CommonSetting
*
* @param PopUpUpInterval
* @desc Interval when popups are displayed continuously.
* @text Ppopup interval
* @type number
* @default 30
* @parent CommonSetting
*
* @param StatePopUpSetting
* @text State popup
* @default ------------------------------
*
* @param PopUpAdvantageousState
* @text Advantageous state popup settings
* @desc Set the advantageous state that popup.
* @default {"PopUpText":"%1","RemovePopUpText":"%1","PopupColor":"0","PopupIconIndex":"0","PopupMode":"","PopupEnemyX":"0","PopupEnemyY":"0","PopupFontSize":"4","PopupFontFace":""}
* @type struct<PopUpData>
* @parent StatePopUpSetting
*
* @param PopUpBadState
* @text Bad state popup settings
* @desc Set the bad state that pops up.
* @default {"PopUpText":"%1","RemovePopUpText":"%1","PopupColor":"0","PopupIconIndex":"0","PopupMode":"","PopupEnemyX":"0","PopupEnemyY":"0","PopupFontSize":"4","PopupFontFace":""}
* @type struct<PopUpData>
* @parent StatePopUpSetting
*
* @param DeadNoPopup
* @text Incapacitated popup display
* @desc Displays a pop-up when incapacitated.
* @type boolean
* @default false
* @parent StatePopUpSetting
*
* @param BuffPopUpSetting
* @text Buff, debuff popup
* @default ------------------------------
*
* @param AppliBuffPopUp
* @text Popup buff setting
* @desc Set the buff that pops up.
* @default ["{¥"StateType¥":¥"0¥",¥"PopUpName¥":¥"¥",¥"PopUpBuffColor¥":¥"0¥",¥"BuffPopUpMode¥":¥"0¥",¥"PopUpBuffImg¥":¥"¥"}","{¥"StateType¥":¥"1¥",¥"PopUpName¥":¥"¥",¥"PopUpBuffColor¥":¥"0¥",¥"BuffPopUpMode¥":¥"0¥",¥"PopUpBuffImg¥":¥"¥"}","{¥"StateType¥":¥"2¥",¥"PopUpName¥":¥"¥",¥"PopUpBuffColor¥":¥"0¥",¥"BuffPopUpMode¥":¥"0¥",¥"PopUpBuffImg¥":¥"¥"}","{¥"StateType¥":¥"3¥",¥"PopUpName¥":¥"¥",¥"PopUpBuffColor¥":¥"0¥",¥"BuffPopUpMode¥":¥"0¥",¥"PopUpBuffImg¥":¥"¥"}","{¥"StateType¥":¥"4¥",¥"PopUpName¥":¥"¥",¥"PopUpBuffColor¥":¥"0¥",¥"BuffPopUpMode¥":¥"0¥",¥"PopUpBuffImg¥":¥"¥"}","{¥"StateType¥":¥"5¥",¥"PopUpName¥":¥"¥",¥"PopUpBuffColor¥":¥"0¥",¥"BuffPopUpMode¥":¥"0¥",¥"PopUpBuffImg¥":¥"¥"}","{¥"StateType¥":¥"6¥",¥"PopUpName¥":¥"¥",¥"PopUpBuffColor¥":¥"0¥",¥"BuffPopUpMode¥":¥"0¥",¥"PopUpBuffImg¥":¥"¥"}","{¥"StateType¥":¥"7¥",¥"PopUpName¥":¥"¥",¥"PopUpBuffColor¥":¥"0¥",¥"BuffPopUpMode¥":¥"0¥",¥"PopUpBuffImg¥":¥"¥"}","{¥"StateType¥":¥"10¥",¥"PopUpName¥":¥"¥",¥"PopUpBuffColor¥":¥"0¥",¥"BuffPopUpMode¥":¥"0¥",¥"PopUpBuffImg¥":¥"¥"}","{¥"StateType¥":¥"11¥",¥"PopUpName¥":¥"¥",¥"PopUpBuffColor¥":¥"0¥",¥"BuffPopUpMode¥":¥"0¥",¥"PopUpBuffImg¥":¥"¥"}","{¥"StateType¥":¥"12¥",¥"PopUpName¥":¥"¥",¥"PopUpBuffColor¥":¥"0¥",¥"BuffPopUpMode¥":¥"0¥",¥"PopUpBuffImg¥":¥"¥"}","{¥"StateType¥":¥"13¥",¥"PopUpName¥":¥"¥",¥"PopUpBuffColor¥":¥"0¥",¥"BuffPopUpMode¥":¥"0¥",¥"PopUpBuffImg¥":¥"¥"}","{¥"StateType¥":¥"14¥",¥"PopUpName¥":¥"¥",¥"PopUpBuffColor¥":¥"0¥",¥"BuffPopUpMode¥":¥"0¥",¥"PopUpBuffImg¥":¥"¥"}","{¥"StateType¥":¥"15¥",¥"PopUpName¥":¥"¥",¥"PopUpBuffColor¥":¥"0¥",¥"BuffPopUpMode¥":¥"0¥",¥"PopUpBuffImg¥":¥"¥"}","{¥"StateType¥":¥"16¥",¥"PopUpName¥":¥"¥",¥"PopUpBuffColor¥":¥"0¥",¥"BuffPopUpMode¥":¥"0¥",¥"PopUpBuffImg¥":¥"¥"}","{¥"StateType¥":¥"17¥",¥"PopUpName¥":¥"¥",¥"PopUpBuffColor¥":¥"0¥",¥"BuffPopUpMode¥":¥"0¥",¥"PopUpBuffImg¥":¥"¥"}"]
* @type struct<PopUpBuffList>[]
* @parent BuffPopUpSetting
*
* @param PopUpBuff
* @text Buff popup settings
* @desc Set the buff that popup.
* @default {"PopUpText":"%1","RemovePopUpText":"%1","PopupColor":"0","PopupIconIndex":"0","PopupMode":"","PopupEnemyX":"0","PopupEnemyY":"0","PopupFontSize":"4","PopupFontFace":""}
* @type struct<PopUpData>
* @parent BuffPopUpSetting
*
* @param PopUpDebuff
* @text Debuff popup settings
* @desc Sets the debuff that popup.
* @default {"PopUpText":"%1","RemovePopUpText":"%1","PopupColor":"0","PopupIconIndex":"0","PopupMode":"","PopupEnemyX":"0","PopupEnemyY":"0","PopupFontSize":"4","PopupFontFace":""}
* @type struct<PopUpData>
* @parent BuffPopUpSetting
*
* @param DefeatPopUpSetting
* @text Popup when defeated
* @default ------------------------------
*
* @param DefeatShowPopup
* @text 撃破時ポップアップ表示
* @desc 撃破時のポップアップを表示します。
* @type boolean
* @default false
* @parent DefeatPopUpSetting
*
* @param PopUpDefeat
* @text Popup display when defeated
* @desc Set up the pop-up when defeating.
* @default {"PopUpText":"Defeat!","RemovePopUpText":"","PopupColor":"0","PopupIconIndex":"0","PopupMode":"","PopupEnemyX":"0","PopupEnemyY":"0","PopupFontSize":"4","PopupFontFace":""}
* @type struct<PopUpData>
* @parent DefeatPopUpSetting
*
* @param PopUpDefeatImg
* @desc Specify the pop-up file name when defeating.
* @text Defeat popup image
* @type file
* @dir img/
* @default
* @parent DefeatPopUpSetting
*
* @param StealPopupSetting
* @text Steal settings (requires NUUN_StealableItems)
* @default ------------------------------
*
* @param StealShowPopup
* @type boolean
* @default false
* @text Steal popup display
* @desc Show popup when stealing. (requires NUUN_StealableItems)
* @parent StealPopupSetting
*
* @param PopUpSteal
* @text Steal popup settings
* @desc Set the popup when you steal an item.
* @default {"PopUpText":"%1","RemovePopUpText":"%1","PopupColor":"0","PopupIconIndex":"0","PopupMode":"","PopupEnemyX":"0","PopupEnemyY":"0","PopupFontSize":"4","PopupFontFace":""}
* @type struct<PopUpData>
* @parent StealPopupSetting
*
* @param PopUpGoldSteal
* @text Money stealing popup settings
* @desc Set the pop-up when you steal money.
* @default {"PopUpText":"%1","RemovePopUpText":"%1","PopupColor":"0","PopupIconIndex":"0","PopupMode":"","PopupEnemyX":"0","PopupEnemyY":"0","PopupFontSize":"4","PopupFontFace":""}
* @type struct<PopUpData>
* @parent StealPopupSetting
*
* @param SkillLearningPopupSetting
* @text Skill learning settings (requires NUUN_SkillLearning)
* @default ------------------------------
*
* @param SkillLearningShowPopup
* @type boolean
* @default false
* @text Skill learning Popup Display
* @desc Displays a popup when learning skills. (requires NUUN_SkillLearning)
* @parent SkillLearningPopupSetting
*
* @param PopUpSkillLearning
* @text Skill learning popup settings
* @desc Configure settings for skill learning that pops up.
* @default {"PopUpText":"%1","RemovePopUpText":"","PopupColor":"0","PopupIconIndex":"0","PopupMode":"","PopupEnemyX":"0","PopupEnemyY":"0","PopupFontSize":"4","PopupFontFace":""}
* @type struct<PopUpData>
* @parent SkillLearningPopupSetting
*