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

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

MZ plugins

Seal Actor Command - SealActorCommand.js

Plugin desc : Actor Command Seal Plugin

License : MIT License

Author : Triacontane

Website : https://triacontane.blogspot.com

Desc page : https://github.com/triacontane/RPGMakerMV/tree/mz_master/SealActorCommand.js

Download Page : https://raw.githubusercontent.com/munokura/triacontane-MZ-plugins/refs/heads/main/SealActorCommand.js

File name : SealActorCommand.js

Help of plugin :

@target MZ
@url https://github.com/triacontane/RPGMakerMV/tree/mz_master/SealActorCommand.js
@plugindesc Actor Command Seal Plugin
@author Triacontane
@license MIT License

@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/triacontane-MZ-plugins ).
Original plugin by Triacontane.
Please check the latest official version at:
https://triacontane.blogspot.com
-----

You can seal actor commands ”Attack,” ”Defense,” ”Item,” and ”Skill.”
Sealed commands will disappear from the window.
You can create actors, jobs, equipment, and states that cannot use specific
commands.
You can also specify more detailed conditions using switches and JavaScript
formulas.

Please enter the following in the memo field of the characteristic database.

<Attack Seal Switch: 4> # Seals attacks when the switch with ID [4] is ON.
<AttackSealSwitch: 4> # Same as above.
<Defense Seal Switch: 5> # Seals defenses when the switch with ID [5] is ON.
<GuardSealSwitch: 5> # Same as above.
<Tool Seal Switch: 6> # Seals an item when the switch with ID [6] is ON.
<ItemSealSwitch: 6> # Same as above.
<Skill Seal Switch: 7> # Seals a skill when the switch with ID [7] is ON.
<SkillSealSwitch: 7> # Same as above.
<Attack Seal Formula: f> # Seals attacks when formula [f] is true.
<AttackSealFormula: f> # Same as above.
<Defense Seal Formula: f> # Seals defenses when formula [f] is true.
<GuardSealFormula: f> # Same as above.
<Tool Seal Formula: f> # Seals an item when formula [f] evaluates to true.
<ItemSealFormula:f> # Same as above
<SkillSealFormula:f> # Seals a skill when formula [f] evaluates to true.
<SkillSealFormula:f> # Same as above

To seal only specific skill types, use the following tags.
<SkillType1SealSwitch:8> # Seals skill type [1] when switch [8] is ON.
<SkillType1SealSwitch:8> # Same as above

If no switch is specified, the skill will always be sealed.
<AttackSealSwitch>

To use inequality signs in text or scripts, use the following syntax:
< → &lt;
> → &gt;

Example
<AttackSealFormula:¥v[1] >= 5> # Seals attack if variable [1] is 5 or less.
<GuardSealSwitch> # Always seals defense.

Caution!
If all commands are blocked, the game will be unable to continue.

If you want to turn item use into a skill, enter the following in the skill’s
memo field.

After selecting the target skill, the item window will open.

<Item Skill> # Turn into an Item Use Skill
<ItemSkill> # Same as above

This plugin does not have any plugin commands.

Terms of Use:
You may modify and redistribute it without permission from the author, and
there are no restrictions on its use (commercial, R18+, etc.).

This plugin is now yours.

@param commandDisable
@text Command prohibition
@desc Sealed commands are disabled rather than hidden.
@type boolean
@default false

@param disableSign
@text Prohibited use sign
@desc The string to be overlaid on top of the disabled command (only works if command disabling is enabled).
@default ¥c[2]¥i[1]禁止¥i[1]

スポンサードリンク

-MZ plugins

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