An open library of RPG Maker MV plugins, powered by the community.

PGMV - The Community-Driven Plugin Library for RPG Maker MV

MV plugins

MNKR Random Shop - MNKR_RandomShop.js

Plugin desc : You will be able to create a shop with a randomized product list.

License : MIT License

Author : M.GAMES mo-to,munokura

Website : https://github.com/munokura/MNKR-MV-plugins/blob/master/MNKR_RandomShop.js

Desc page : https://raw.githubusercontent.com/munokura/MNKR-MV-plugins/master/MNKR_RandomShop.js

Download Page : https://raw.githubusercontent.com/munokura/MNKR-MV-plugins/master/MNKR_RandomShop.js

File name : MNKR_RandomShop.js

Help of plugin :

@target MV
@url https://raw.githubusercontent.com/munokura/MNKR-MV-plugins/master/MNKR_RandomShop.js
@plugindesc You will be able to create a shop with a randomized product list.
@author M.GAMES mo-to,munokura
@license MIT License

@help
This allows you to create a shop with a randomized product list.
Items will be restocked as the shop owner enters and exits.
This is ideal for temporary shops.

Plugin Command
MNKR_RandomShop range Minimum number of items in stock Maximum number of items
in stock

--- Basic Usage ---
Immediately after executing the plugin command,
execute the "Shop Processing" event command.
From the shop's product list,
this will generate a product list within the range specified by the plugin
command.

If you do not use the plugin command,
"Shop Processing" will function as a normal shop.

Usage Example: Event Command
-----
◆Plugin Command: MNKR_RandomShop range 2 4
◆Shop Processing: Potion
: : Hi-Potion
: : Short Sword
: : Hard Leather
-----

--- Advanced ---
-- Adding Items --
MNKR_RandomShop add [Item Type (i/w/a)] [Starting ID] [Ending ID]

Example: Add items ID1 to ID10
MNKR_RandomShop add i 1 5

-- Opening a Shop --
MNKR_RandomShop open 1 (Optional)
Opens the shop prepared with MNKR_RandomShop add.

Adding the last 1 makes the shop a "buy-only" shop.

Omitting it allows buying and selling.

-- Example --
Open a random shop (2-4 items) for item IDs 7-9,
weapon IDs 1-5,
and armor IDs 2-6.

Execute the following plugin commands in order:
MNKR_RandomShop range 2 4
MNKR_RandomShop add i 7 9
MNKR_RandomShop add w 1 5
MNKR_RandomShop add a 2 6
MNKR_RandomShop open

This plugin was modified for RPG Maker MV using MG_RandomShop.js by M.GAMES
mo-to as a reference.

Please contact the modifier for any inquiries regarding this plugin.

Terms of Use:
MIT License.
http://opensource.org/licenses/mit-license.php
You may modify and redistribute this plugin without permission, and there are
no restrictions on its use (commercial, 18+, etc.).

@param stockOutWord
@text Sold out words
@desc The text that will be displayed on the price tag when the item is sold out
@type string
@default 品切れ

スポンサードリンク

-MV plugins

Copyright© PGMV - The Community-Driven Plugin Library for RPG Maker MV , 2026 All Rights Reserved.