MZ [CGMZ] Item Conditions

[CGMZ] Item Conditions
By: Casper Gaming
Last Update: January 17, 2026
Latest Version: 1.3.0
​
Forum-Header-Introduction.png

This plugin allows you to restrict the player from using certain items in certain maps or against certain troops. For example, an escape rope item that only works in your dungeon maps or an item that only works in a boss battle.
Forum-Header-Features.png

  • Restrict items from being used in certain maps/battles
  • Add switch / variable restrictions
  • Temporarily lift restrictions with a switch
Forum-Header-Screenshots.png

Spoiler: Screenshots
Escape rope is not available since I am not in a dungeon.
ic1.png

Escape rope is now usable since I entered a dungeon
ic2.png
Forum-Header-Video.png


Forum-Header-HowTo.png

Import into plugin manager and enable the plugin. Some customization options available. Further instructions in plugin.

Online documentation can be found on my website.
User documentation can be found on the Casper Gaming Wiki.
Forum-Header-Download.png

Plugin (along with all my other plugins) can be found here: Download Item Conditions
Requires CGMZ Core plugin: CGMZ Core
If you want to add restrictions based on profession levels: CGMZ Professions

Also available on Itch.io:
Forum-Header-CreditAndTerms.png

Casper Gaming Terms Of Use
Forum-Header-VersionHistory.png

Spoiler: Version History
Version 1.0.1
  • Add Chinese language support
Version 1.1.0
  • Added profession restrictions (requires CGMZ Professions)
  • Added Spanish language support
  • This plugin no longer crashes with invalid JSON parameters, instead it sends warnings to the console
Version 1.1.1
  • Updated warning messages
Version 1.1.2
  • Map parameter type changed from number to map
Version 1.2.0
  • Added switch conditions
  • Added variable conditions
  • Split skill conditions into new plugin
Version 1.3.0
  • Added actor condition
Hi all,

Added a demo for this plugin today in case anyone was confused on how to use it (will be going through all my plugins and making demos over the next few weeks), you can play it in-browser or download it from the plugin's main page on my website: https://www.caspergaming.com/plugins/cgmz/itemconditions/
Hm. What if we add one more condition? Forbid the use of an item if the skill (profession) from your other plugin does not have the appropriate level? This is quite logical.
version-110.png

Hi all, this plugin has been updated to version 1.1.0 today 👋

This update adds profession restrictions, which require my [CGMZ] Professions plugin. Profession restrictions are available for both items and skills, and supports both party-wide professions or actor-specific professions. Now you can have a skill that requires Level 10 Strength to use, for example.

This update also added Spanish language support for help documentation. This plugin will now warn you in the dev tools console if it detects invalid JSON parameters, instead of crashing the game. You should still fix these errors, so if something isn't working please check the dev tool console for any errors before reporting bugs.

Version 1.1.0
- Added profession restrictions (requires CGMZ Professions)
- Added Spanish language support
- This plugin no longer crashes with invalid JSON parameters, instead it sends warnings to the console
version-111.png

Hi all, today this plugin was updated to version 1.1.1! 👋

This version updates warning messages and code to be more consistent across [CGMZ] plugins.

Version 1.1.1
  • Updated warning messages
version-112.png

Hi all, today this plugin was updated to version 1.1.2! 👋

This version updates the map id restriction parameter to use the new MZ 1.9.0 map select ui for plugin params. If you are not yet on 1.9.0, you can still use it as a number input.

Version 1.1.2
  • Map parameter type changed from number to map
version-120.png

Hi all, today this plugin was updated to version 1.2.0! 👋

This version removed skill conditions, as these were moved to the related plugin [CGMZ] Skill Conditions. The reason for this change is to make it easier to understand what each plugin does.

This update added switch and variable conditions to items. These will also be included in [CGMZ] Skill Conditions. You can now restrict items from use if a switch is OFF or a variable's value is less than 1.

Version 1.2.0
  • Added switch conditions
  • Added variable conditions
  • Split skill conditions into new plugin
version-130.png

Hi all, today this plugin was updated to version 1.3.0! 👋

This version adds actor conditions, so only certain actors can use certain items. These actor conditions only affect battle, as you do not select an actor before using items in the menu. The default is that actors can use items, and any listed actor id is prevented from using the item.

Version 1.3.0
  • Added actor condition

Original thread: https://forums.rpgmakerweb.com/threads/cgmz-item-conditions.126093/