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.
NRP Play Record - NRP_PlayRecord.js
Plugin desc : v1.03 Displays the play record.
License :
・Copyright: Retained
・Commercial Use: Allowed
・Modification: Allowed
・Redistribution: Allowed
・Details: See Download Page / In-plugin documentation
Author : Takeshi Sunagawa (http://newrpg.seesaa.net/)
Website : https://github.com/NewRPGProject/MZMV_Plugin/blob/main/NRP_PlayRecord.js
Desc page : https://newrpg.seesaa.net/article/503391609.html
Download Page : https://raw.githubusercontent.com/NewRPGProject/MZMV_Plugin/main/NRP_PlayRecord.js
File name : NRP_PlayRecord.js
Help of plugin :
Displays the play record.
* Items such as number of battles, number of enemies defeated,
* maximum damage, etc. can be displayed.
*
* -------------------------------------------------------------------
* [Usage]
* -------------------------------------------------------------------
* Play records can be called from the plugin command.
* Alternatively, it can be added to an item on the menu scene
*
* The following items are displayed by default.
*
* - Play Time
* - Battle Count
* - Vitory Count
* - Escape Count
* - Defeated Enemies
* - Max Damage
* - Skill and Actor that caused Max Damage
* - Step Count
*
* The value is already set and can be used as is.
* You can add values by specifying variables or scripts.
*
* -------------------------------------------------------------------
* [Script]
* -------------------------------------------------------------------
* The following values are obtained by the function of this plugin.
* However, even if you apply the plugin from the middle of the process,
* the values up to that point will not be obtained.
*
* ◆$gameSystem.killEnemyCount();
* Get the number of enemies defeated.
*
* ◆$gameSystem.maxDamage();
* Get maximum damage.
*
* ◆$gameSystem.maxDamageActorName();
* Get the name of the actor who did the maximum damage.
*
* ◆$gameSystem.maxDamageSkillName();
* Get the name of the skill that caused the maximum damage.
*
* -------------------------------------------------------------------
* [Terms]
* -------------------------------------------------------------------
* There are no restrictions.
* Modification, redistribution freedom, commercial availability,
* and rights indication are also optional.
* The author is not responsible,
* but will deal with defects to the extent possible.
*
* @-----------------------------------------------------
* @ Plugin Commands
* @-----------------------------------------------------
*
* @command CallPlayRecord
* @desc Displays the play record.
*
* @-----------------------------------------------------
* @ Plugin Parameters
* @-----------------------------------------------------
*
* @param Records
* @type struct<Record>[]
* @default ["{¥"ItemName¥":¥"Play Time¥",¥"Variable¥":¥"¥",¥"Script¥":¥"$gameSystem.playtimeText()¥",¥"Suffix¥":¥"¥"}","{¥"ItemName¥":¥"Battle Count¥",¥"Variable¥":¥"¥",¥"Script¥":¥"$gameSystem.battleCount()¥",¥"Suffix¥":¥"¥"}","{¥"ItemName¥":¥"Victory Count¥",¥"Variable¥":¥"¥",¥"Script¥":¥"$gameSystem.winCount()¥",¥"Suffix¥":¥"¥"}","{¥"ItemName¥":¥"Escape Count¥",¥"Variable¥":¥"¥",¥"Script¥":¥"$gameSystem.escapeCount()¥",¥"Suffix¥":¥"¥"}","{¥"ItemName¥":¥"Defeated Enemies¥",¥"Variable¥":¥"¥",¥"Script¥":¥"$gameSystem.killEnemyCount()¥",¥"Suffix¥":¥"¥"}","{¥"ItemName¥":¥"Max Damage¥",¥"Variable¥":¥"¥",¥"Script¥":¥"$gameSystem.maxDamage()¥",¥"Suffix¥":¥"¥"}","{¥"ItemName¥":¥"¥",¥"Variable¥":¥"¥",¥"Script¥":¥"$gameSystem.maxDamage() ? $gameSystem.maxDamageSkillName() + ¥¥¥" (¥¥¥" + $gameSystem.maxDamageActorName() + ¥¥¥")¥¥¥" : ¥¥¥"¥¥¥"¥",¥"Suffix¥":¥"¥"}","{¥"ItemName¥":¥"Step Count¥",¥"Variable¥":¥"¥",¥"Script¥":¥"$gameParty.steps()¥",¥"Suffix¥":¥"¥"}"]
* @desc The play record item to be displayed.
*
* @param WindowBackgroundType
* @parent <Message>
* @type select
* @option Normal @value 0
* @option Dimmer @value 1
* @option Transparency @value 2
* @default 0
* @desc The background of the window displaying the play record.
*
* @param WindowWidth
* @type string
* @default 500
* @desc The width of the window.
* The default value is 500.
*
* @param WindowHeight
* @type string
* @desc The height of the window.
* If blank, it will be adjusted automatically.
*
* @param WindowLineHeight
* @type number
* @desc The height of a single line of the window.
* If blank, the original setting is used.
*
* @param ValidControlCharacter
* @type boolean
* @default true
* @desc Enables control characters with respect to the contents of the play record.
*
* @param ValueRightAligned
* @type boolean
* @default true
* @desc Aligns the value to the right edge of the window.
* If off, values are left-aligned.
*
* @param ValueX
* @type string
* @default 0
* @desc X coordinate at which to display the value.
* This item is not necessary when right-justified.
*
* @param ValueAdjustX
* @type number @min -999 @max 999
* @default 0
* @desc Adjust the X coordinate of the value. If the position is not correct when right-aligned, use this to adjust it.
*
* @param NoMaxDamageSwitch
* @type switch
* @desc Switch to stop updating the max damage. Assuming you do not want to include the results of event battle.
*
* @param <Menu Command>
* @desc This is the relevant section for displaying the play record in the menu commands.
*
* @param ShowMenuCommandPosition
* @parent <Menu Command>
* @type number
* @default 4
* @desc The position where the function is inserted into the menu command. 0 is the first position.
*
* @param CommandName
* @parent <Menu Command>
* @type text
* @default Learn Skills
* @desc Sets the display command name for the play record.
*
* @param MenuCommandSwitch
* @parent <Menu Command>
* @type switch
* @desc Displays the command only when the switch is on.
* If blank, it is always displayed.
*
* @param MaskString
* @parent MenuCommandSwitch
* @type string
* @desc If MenuCommandSwitch is off, displays the specified string. If blank, hides the command itself.
*
* @param DisableSwitch
* @parent <Menu Command>
* @type switch
* @desc Disallow command only when switch is on.
* Always allow if blank.