RMMV Is there a way to make item in shop can only be purchased once, not mutiple?

Bestboy

Villager
Member
Joined
Jul 20, 2021
Messages
28
Reaction score
3
First Language
English
Primarily Uses
RMMV
Hello, I would like to ask is there a way to make shop item purchasable once? for example, I may sell a potion in a specific shop, but only want the buyer to be able to buy one only. Is there a way to accomplish this?

I thought of a way of using show choices and reducing money. However, I want the player to open the shop and look through the items. So is there a way to make players only able to buy only one potion only, using the shop process?

A limited stock of times in shop may be a better way to phrase it.

Thank you!
 
Last edited:

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,420
Reaction score
1,682
First Language
Dutch
Primarily Uses
RMMV
there are 2 ways to accomplish it, by event or by plugin.

BO_CustomShops and other shop plugins (which has stock limited)
can get the amount the shop have.

this can give a potion only 1 stock and dont refill (by time or by force).
otherwise, it's gone (visible (out of stock)) or out of stock and not visible
when re-enter the shop (this can be done in BO_CustomShops

while there are other shops, but not everyone has stock limit,
you can also check [here] which have a list of all shops.

remember, not all shops have stock limit, and some can be combined.
so pick one that fits yours.
 

Bestboy

Villager
Member
Joined
Jul 20, 2021
Messages
28
Reaction score
3
First Language
English
Primarily Uses
RMMV
there are 2 ways to accomplish it, by event or by plugin.

BO_CustomShops and other shop plugins (which has stock limited)
can get the amount the shop have.

this can give a potion only 1 stock and dont refill (by time or by force).
otherwise, it's gone (visible (out of stock)) or out of stock and not visible
when re-enter the shop (this can be done in BO_CustomShops

while there are other shops, but not everyone has stock limit,
you can also check [here] which have a list of all shops.

remember, not all shops have stock limit, and some can be combined.
so pick one that fits yours.
Hello may I ask how can I use this plugin? Im really new to RPGMV, I have read through his thread, but cant figure out how can I use it. Where should I type in the commands?

And how can I name the shop?
 
Last edited:

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,420
Reaction score
1,682
First Language
Dutch
Primarily Uses
RMMV
when placed in the js folder, you can activate it though plugin database
which is hte green puzzle button.

how the plugin works and params can be readed in the helpfile.
each shop plugin uses a different setup, so you have to read to the one
you like to use and which one fit the best for you.

BO_CustomShops are fully explained in the helpfile,
so read that through first.
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
1,805
Reaction score
925
First Language
English
Primarily Uses
RMMV
Welcome, @Bestboy . Before you try to get in too deep, I strongly recommend you take the time to do some tutorials to learn how to use MV. Installing and configuring plugins is a pretty basic function which should be covered by any good tutorial - here are a few examples:



Every decent plugin will have complete instructions in its help file - the pane on the left when you're looking at the plugin in the manager.
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
43,372
Reaction score
15,183
First Language
English
Primarily Uses
RMMV

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

 

Latest Threads

Latest Posts

Latest Profile Posts

today is my birthday
Don't you just hate it when you get a high level armor only for it to look like a metal plated bikini on your female character?? Seriously. How can that protect you??? Enemies can hit the squishy parts! :kaosigh:
Bathrooms are not designed for the middle of the night.
so... I decided since a park was an area in my game... here's an enemy that's slide with a hand behind it. cause why not.

Forum statistics

Threads
115,277
Messages
1,088,556
Members
149,886
Latest member
Br8228
Top