Assistance with Yanfly's Item Requirements plugin?

I'm trying to setup class specific items using Yanfly's Item Requirements plugin. Essentially I just want to make scrolls the party's Mage (and only the Mage!) can purchase/find to learn spells.

I've installed the plugin, placed it below the Item Core plugin, and added the required text to the item's notes. And nothing... When I select the Item in the inventory, it doesn't let anyone use it. I just get the "nyope!" buzzing sound. I suppose that means it's working somewhat, since NO ONE can use the item, but that's a bit more than what I'm looking for.

Here's what I have in the Item's notes:

<Enable Requirements>

Class: 3

</Enable Requirements>

Does anyone have any experience with this? And if so, would you have any ideas about what I'm doing wrong?
please give a full screenshot of the item - that buzz can also mean another restriction instead of the plugin, and that is dependend on the other values.

that said, you could also use a common event to check for the target without any need for a plugin...
In the menu, the item user is the first party member with highest PHA (Sp-param Pharmacology: multiplies item-based healing done by that battler). I'm not sure how the plugin works...if it only checks the user, then you might need something different. 😴
please give a full screenshot of the item - that buzz can also mean another restriction instead of the plugin, and that is dependend on the other values.

that said, you could also use a common event to check for the target without any need for a plugin...

Yeah, I've been told that. But I'm frankly still really struggling with some things, common events being one of them. Here's a pic of the item as it exists right now.
common events are usually easier than plugins for a lot of reasons...

the item seems to be OK, which means this is likely a plugin configuration problem.
please give us a screenshot of your plugin manager with all the plugins you have installed and their order.

I've moved this thread to Plugin Support. Thank you.

common events are usually easier than plugins for a lot of reasons...

the item seems to be OK, which means this is likely a plugin configuration problem.
please give us a screenshot of your plugin manager with all the plugins you have installed and their order.

Here is this. I appreciate you're looking!
that plugin only works good for battle items. switch on/off function is the only 1 that works for menu items.

menu items like this 1 will have to be common event because in the menu you are not controlling who is using the item, only selecting a target. so requirements and user dont correctly apply in menu.

make a Target state.
item applies state to target and runs common event.
since only mages can learn from this you dont need the event to check every actor, only mage actors.
----------------------------------------------------------------------------------------------
event contents
if : actor A : has state Target (check if this character was the target)
> remove state : Target
> if (branch) : actor A : knows skill X (check if character already learned this skill)
>> actor A : "already know this skill"
>> item gain : +1 this item (refund the item)
>>else : actor A : learn new skill
>end : exit event processing (stops the rest of the event from playing out)

copy/paste for other actors if you have more then 1 person who can learn it.

"cannot learn skill" (event only get this far if any other actors were selected)
item gain : +1 this item (refund the item)
remove state : Target : whole party
---------------------------------------------------------------------------------------------
if you have class changing you will need to add a line checking if they are on the correct class
wrong order of plugins

yanfly's plugins have to be exactly in the order given on his website, top to bottom.
And you didn't use that order - at minimum the buff plugins are in the wrong position, and I stopped checking if the others are in the correct order after I found the first in the wrong order
that plugin only works good for battle items. switch on/off function is the only 1 that works for menu items.

menu items like this 1 will have to be common event because in the menu you are not controlling who is using the item, only selecting a target. so requirements and user dont correctly apply in menu.

make a Target state.
item applies state to target and runs common event.
since only mages can learn from this you dont need the event to check every actor, only mage actors.
----------------------------------------------------------------------------------------------
event contents
if : actor A : has state Target (check if this character was the target)
> remove state : Target
> if (branch) : actor A : knows skill X (check if character already learned this skill)
>> actor A : "already know this skill"
>> item gain : +1 this item (refund the item)
>>else : actor A : learn new skill
>end : exit event processing (stops the rest of the event from playing out)

copy/paste for other actors if you have more then 1 person who can learn it.

"cannot learn skill" (event only get this far if any other actors were selected)
item gain : +1 this item (refund the item)
remove state : Target : whole party
---------------------------------------------------------------------------------------------
if you have class changing you will need to add a line checking if they are on the correct class

Okay, that all makes sense. Only issue I'm having is that when I create the Common Event I can't find an option for the specific item to trigger it. I checked the item itself too, and I'm not able to find any options that seem to coincide with that.

I've attached images of both the Common Event and the Item.
you can add one common event as an effect of an item.

if you add more than one common event effect, only the last common event will be executed (unless you have a plugin that creates a common event queue)
Untitled.png

your event needs some tweeking.
you have Thedra still inside the "if remmy is target" condition section.
you dont have a remove state : entire party line at the end.
you dont have exit event process at the end of remmy's section.
you dont need "if Thedra has state" line
the Thedra dialog should be generic for all other actors, unless you only have the 2 characters.

and like @Andar said you add the event in the Effects section of the item.
and only 1 common event per item

edit: also dont use a different state for every skill. just 1 basic Target state can cover all skill learning.
as well as any other ways might think of for skill/item triggered common event
View attachment 171855
your event needs some tweeking.
you have Thedra still inside the "if remmy is target" condition section.
you dont have a remove state : entire party line at the end.
you dont have exit event process at the end of remmy's section.
you dont need "if Thedra has state" line
the Thedra dialog should be generic for all other actors, unless you only have the 2 characters.

and like @Andar said you add the event in the Effects section of the item.
and only 1 common event per item

edit: also dont use a different state for every skill. just 1 basic Target state can cover all skill learning.
as well as any other ways might think of for skill/item triggered common event

And there we have it. It works! Thank you so much. I've been plugging away at MV for way too many hours without grasping this and you made it look easy.

Original thread: https://forums.rpgmakerweb.com/threads/assistance-with-yanflys-item-requirements-plugin.131084/