State that does not Allow you to use Specific Items

Two-part question here. They will most likely require plug-ins to accomplish, but here goes.

So I want to put Items into Categories, much the same way that you can with Weapons, Armor. That's one thing.

Second, what I would like to do, is make it so that when a State is on a character (A buff state), those specific items can't be used. (In order to prevent spamming of buffing items.)

Thanks, in advance.
I believe this goes in JS Plugin Requests, and so I have reported it so that a moderator can move it.
I could be wrong though.
Yanfly Item Categories is probably what you need for the first part.

http://yanfly.moe/2017/05/19/yep-137-item-menu-categories-rpg-maker-mv/

I'm not sure if there's some Lunatic code or whatnot that it'll do the second part for you.
Moved to: JS Plugin Requests

For the second part, it might be that you could do it with a common event, and a conditional. Not sure though. However, the logic might be
Create a blank state which lasts for the same number of turns as the buff. Let us say it is 3 turns. Item just calls a common event.
In the common event:-
Conditional
Is actor afflicted with state X?
If yes - do nothing (or give a text message "you already have this buff")
If no - apply buff and apply state X
It didn't need to be moved, as it was an MV question, though I'm sure plugins were partly a solution.

I'm hesitant to use Yanfly or other plugins for that matter as I heard they can effect performance. Also I wouldn't want to mess up my game.

Anyways, the items I want to categorize so that the state recognizes you Can't use those types 9f items when in effect. Usually obtained outside of battle, the state would be temporary, eventually wearing off over time. Guess I will look to see if there are switch/variable options.

Original thread: https://forums.rpgmakerweb.com/threads/state-that-does-not-allow-you-to-use-specific-items.91601/