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 Effect Code - DarkPlasma_AllocateUniqueEffectCode.js

Plugin desc : Secure your own effect code

License : MIT License

Author : DarkPlasma

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

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

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

File name : DarkPlasma_AllocateUniqueEffectCode.js

Help of plugin :

@target MZ
@url https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release
@plugindesc Secure your own effect code
@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.0.1
Allocates and makes available a unique effect code.

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

Submit a request to the uniqueEffectCodeCache object.

uniqueEffectCodeCache.allocate
: (pluginName: string, localId: number) => UniqueEffectCode
Allocates a unique effect code for the plugin.

uniqueEffectCodeCache.effectCodeOf
: (pluginName: string, localId: number) => number|undefined
Allocates the effect code.
If not allocated, returns undefined.

UniqueEffectCode.prototype.code: number
Allocates the effect code.

@param startOfUniqueEffectCode
@text Original effect code start point
@desc Starting point for securing your own effect code. If you don't know, leave it as is.
@type number
@default 51

スポンサードリンク

-MZ plugins

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