MV Yanfly Hide/Show Shop Items Hiding items by Default[Solved]

Trying to use this script to hide items in shops until certain progression benchmarks are reached.

However it defaults to hiding all items unless they have a tag(any tag) from the shop core plugin.

Is there a way to make items default as visible in shop and only be hidden when they have an appropriate tag from the hide/show shop items plugin?
That's exactly what the plugin does. The sole plugin parameter controls what happens to items if they don't have any notetag that results in "hide this item."

The default setting there is to show the item so long as it has a name.
That's exactly what the plugin does. The sole plugin parameter controls what happens to items if they don't have any notetag that results in "hide this item."

The default setting there is to show the item so long as it has a name.
I think you misunderstand. I would like that behavior. I am getting the opposite. Its hiding everything by default.
Old Sword.png

Iron Sword.png
Shop.png

Shop Ingame.png


I have not modified the parameter at all and its blocking items without an empty name.
1689689747623.png
I understood your post, and I'm telling you what you want is how the plugin is written.

So you need to troubleshoot outside of it - are all of your Yanfly plugins in the order they're listed on the Yanfly Engine Web site? Are they all the current version? Is your MV project version 1.6.1 or .2?

Do you have any non-Yanfly plugins? Etc.
I understood your post, and I'm telling you what you want is how the plugin is written.

So you need to troubleshoot outside of it - are all of your Yanfly plugins in the order they're listed on the Yanfly Engine Web site? Are they all the current version? Is your MV project version 1.6.1 or .2?

Do you have any non-Yanfly plugins? Etc.
Almost all Yanfly which are in order from the site. Other than that I have a couple of custom but those are only for modifying in combat sprites. Plugins are all showing as latest version.

Help says rpg maker version 1.6.2. core.js has 1.6.1
Then keep going in a logical manner.

Make a new project with just the Shop Core and the Hide/Show plugins, put some stuff into the party inventory and open a shop - verify that you can see them to sell. (I can)

Once you've verified the plugins work on their own, turn off everything in your project except those two. If it works, you start turning plugins back on until you isolate the conflict.

If it doesn't work, you reexamine your plugin parameter settings and item notetags, because you know there's a problem in how the plugins are set up.
Then keep going in a logical manner.

Make a new project with just the Shop Core and the Hide/Show plugins, put some stuff into the party inventory and open a shop - verify that you can see them to sell. (I can)

Once you've verified the plugins work on their own, turn off everything in your project except those two. If it works, you start turning plugins back on until you isolate the conflict.

If it doesn't work, you reexamine your plugin parameter settings and item notetags, because you know there's a problem in how the plugins are set up.
Tried that. Getting the same behavior. Didn't add any plugins besides shopcore and hide/show shop items. I downloaded these plugins from itch.io on Saturday and didn't edit them.
To be clear, you're telling me that starting a new project and putting just the shop core and hide/show into it reproduces this behavior?

I'd say try re-downloading the plugins, and if that's still happening, zip that new project up and upload it someplace, I'm willing to take a look.

Edit: Hold on - I just noticed from your screenshots above that you're talking about buying, not selling. Let me check the plugin again.
To be clear, you're telling me that starting a new project and putting just the shop core and hide/show into it reproduces this behavior?

I'd say try re-downloading the plugins, and if that's still happening, zip that new project up and upload it someplace, I'm willing to take a look.

Edit: Hold on - I just noticed from your screenshots above that you're talking about buying, not selling. Let me check the plugin again.
Confirmed. Tried a re download and re-added but same behavior. Yes items only hidden from buying. Everything shows correctly in selling. Below link for project zip

I found the error.

Open the Hide/Show plugin in a text editor and go to line 130. Comment it out by adding // at the beginning of the line.

Save the plugin, refresh it in your plugin manager, save your project, start a new game.
I found the error.

Open the Hide/Show plugin in a text editor and go to line 130. Comment it out by adding // at the beginning of the line.

Save the plugin, refresh it in your plugin manager, save your project, start a new game.
That worked. Thank you so much.

Issue solved.

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-hide-show-shop-items-hiding-items-by-default-solved.159399/