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

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

Dark Plasma Tiny Medal - DarkPlasma_TinyMedal.js

Plugin desc : Small Medal System

License : MIT License

Author : DarkPlasma

Website : https://github.com/munokura/DarkPlasma-MZ-Plugins/blob/main/DarkPlasma_TinyMedal.js

Desc page : https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release

Download Page : https://raw.githubusercontent.com/munokura/DarkPlasma-MZ-Plugins/main/DarkPlasma_TinyMedal.js

File name : DarkPlasma_TinyMedal.js

Help of plugin :

@target MZ
@url https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release
@plugindesc Small Medal System
@author DarkPlasma
@license MIT

@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/DarkPlasma-MZ-Plugins ).
Original plugin by DarkPlasma.
Please check the latest official version at:
https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release
-----

version: 3.2.0
This implements the DQ series' tiny medal system (accumulation type).

Operation is not guaranteed if the same item, weapon, or armor is set as a
reward with the same number of medals.
The default key for the earned flag is
the number of medals and the item/weapon/armor type and ID.
Example: The key for acquiring item ID: 1 with 10 medals would be:
10_1_1

If you want to customize this,
add a plugin that overrides the following:
Data_TinyMedal_RewardItem.prototype.rewardKey: () => string

Please note that changing the key value after the game's release will break
save data compatibility.

Special Reward Message Format
${itemName}: Reward item name
${medalCount}: Number of medals required to earn the reward

Reward Message Example:
All right! So, as a reward for collecting ${medalCount} medals, I'll award you
${itemName}!

About save data conversion from 2.x
If this feature is turned on, save data from 2.x or earlier will be converted
to 3.x format when loaded.
However, please note that changing the order or content of reward settings
will result in the save data not being converted correctly,
resulting in unintended behavior.

When upgrading from 2.x to 3.x or later,
if save data conversion is turned off,
reward acquisition status will be reset in save data from 2.x or earlier.

@param medalItem
@text Medal Items
@type item
@default 1

@param medalCountVariable
@text Medal deposit variable
@desc A variable that records the number of medals deposited
@type variable
@default 1

@param medalUnit
@text Medal units
@type string
@default pieces

@param numMedalLabel
@text Owned medal label
@type string
@default Owned medal

@param totalMedalLabel
@text Deposited medal label
@type string
@default Deposited medal

@param rewardItems
@text Reward items
@type struct<RewardItems>[]
@default []

@param rewardWeapons
@text reward weapon
@type struct<RewardWeapons>[]
@default []

@param rewardArmors
@text reward armor
@type struct<RewardArmors>[]
@default []

@param rewardMessages
@text Reward Message
@type struct<RewardMessage>[]
@default ["{¥"message¥":¥"Collected ${medalCount} medals.¥¥nI got ${itemName}"!¥"",¥""faceFile¥"":¥""¥"",¥""faceIndex¥"":¥""0¥""}""]

スポンサードリンク

-MZ plugins

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