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

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

MV plugins

TM Greed Shop - TMGreedShop.js

Plugin desc : We will add a shop function that will ask for items in addition to money.

License : MIT License

Author : tomoaky

Desc page : https://github.com/munokura/tomoaky-MV-plugins

Download Page : https://raw.githubusercontent.com/munokura/tomoaky-MV-plugins/refs/heads/master/TMGreedShop.js

File name : TMGreedShop.js

Help of plugin :

@plugindesc We will add a shop function that will ask for items in addition to money.
@author tomoaky
@url https://github.com/munokura/tomoaky-MV-plugins
@license MIT License

@help
English Help Translator: munokura
This is an unofficial English translation of the plugin help,
created to support global RPG Maker users.
Feedback is welcome to improve translation quality
(see: https://github.com/munokura/tomoaky-MV-plugins ).
Original plugin by tomoaky.
-----
TMPlugin - Greedy Shop ver. 2.2.0

How to Use:

Set materials for items, weapons, and armor using memo tags (described below).

Execute the greedShop Event's Contents "Plugin Command,"
and then immediately execute the "Shop Process" Event's Contents to sell the items with the assigned materials.

This plugin has been tested with RPG Maker MV Version 1.6.1.

Plugin Command:

greedShop
Executing the shop process immediately after executing this command will activate the Greedy Shop.

greedCommand Buy
Changes the name of the Greedy Shop purchase command to "Buy."
This change will not be saved in save data.

Memo Tags (Items, Weapons, Armor):

<mat1:I1*3>
In addition to money, you will need three items #1.
You can add materials using mat2, mat3, etc.
If the I part is W, it will be a weapon, and if it's A, it will be armor.

<matKey:1>
The material set in the mat1 tag will be treated as the key material.
If you don't have the key material, it will be excluded from the product list.
You can also set multiple key materials by separating them with a space, such as <matKey:1 2>. (In this case, mat1 and mat2 will be key materials.)
This tag allows you to specify items that will not be available in the shop unless you have the recipe.

<matG:50>
Sets the price to 50. This setting will only be Reflectioned as the purchase price if the Greedy Shop is enabled.

Memo Tags (Weapons, Armor):

<noConsume>
Weapons and armor set with this tag will not be consumed even when set as materials.

If an item with the "No Consume" setting is used as a material, it will be treated as if it requires consumption.

@param materialWindowPosition
@desc Material window display position
@default 0
@type select
@option Under the product name
@value 0
@option To the right of the product name
@value 1
@option Under the purchase window
@value 2

@param materialWindowWidth
@desc Material window width Default: 408
@default 408
@type number

@param buyWindowWidth
@desc Purchase window width Default: 456
@default 456
@type number

@param buyWindowHeight
@desc Purchase window height: Automatically determined if 0
@default 0
@type number

@param materialMax
@desc Maximum number of materials that can be set. Default: 5
@default 5
@type number

@param fontRate
@desc Font magnification of material information
@default 0.8
@type number
@decimals 2

@param greedCommand
@desc Greedy Shop purchase command name. Default: Buy
@default Buy

@param needText
@desc Text to display at the top of the material list (omitted if nothing is set)
@default Required materials

@param showSellCommand
@desc Display sell command even if only buying.
@default true
@type boolean

@param showMaterialWindow
@desc Display the Material window.
@default true
@type boolean

@param overlaid
@desc Display the material window on a different layer from other windows. This solves the problem of missing corners, but reduces readability.
@default true
@type boolean

@param backOpacity
@desc Material window background opacity
@default 192
@type number

@param showMaterialFromNumberWindow
@desc Display material information in the quantity selection window.
@default true
@type boolean

@param showPrice
@desc Display prices in product windows.
@default true
@type boolean

@param seGreedBuy
@desc The sound effect that plays when purchasing at the Greedy Shop
@default {"name":"Shop1","volume":"90","pitch":"100","pan":"0"}
@type struct<SoundEffect>

スポンサードリンク

-MV plugins

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