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 Allocate Unique Trait Data Id - DarkPlasma_AllocateUniqueTraitDataId.js

Plugin desc : Ensure a unique feature data ID

License : MIT License

Author : DarkPlasma

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

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

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

File name : DarkPlasma_AllocateUniqueTraitDataId.js

Help of plugin :

@target MZ
@url https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release
@plugindesc Ensure a unique feature data ID
@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: 1.1.0
Allocates and makes available unique trait data IDs.

This plugin does not function on its own.
Use it together with other plugins that require it.

The following information is for plugin developers.
Submit a request to the uniqueTraitDataIdCache object.

uniqueTraitDataIdCache.allocate
: (pluginName: string, traitId: number, localId: number, name: string|(() =>
string)) => UniqueTraitDataId
Allocates a unique special flag ID for the plugin.
The name can also be a function evaluated after loading the database.

UniqueSpecialFlagId.prototype.id: number
Allocates the special flag ID.

UniqueSpecialFlagId.prototype.name: string
Name of the allocated special flag ID.

If using with the following plugins, add it below them.
DarkPlasma_FilterEquip

@param startId
@text Unique ID start point
@desc Defines the unique ID start point for each feature.
@type struct<uniqueDataIds>
@default {"debuffRate":"8","param":"8","xparam":"10","sparam":"10","slotType":"2","specialFlag":"4","partyAbility":"6"}

スポンサードリンク

-MZ plugins

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