Welcome to PGMZ! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
NUUN Group Max Items - NUUN_GroupMaxItems.js
Plugin desc : Item group possession limit
License : MIT License
Author : NUUN
Website : https://github.com/nuun888/MZ/blob/master/NUUN_GroupMaxItems.js
Download Page : https://raw.githubusercontent.com/nuun888/MZ/master/NUUN_GroupMaxItems.js
File name : NUUN_GroupMaxItems.js
Help of plugin :
* @target MZ * @plugindesc Item group possession limit * @author NUUN * @version 1.1.2 * @base NUUN_Base * @orderAfter NUUN_Base * @orderAfter NUUN_MaxItem * * @help * You can set a maximum total number of items per group. * Priority * Changed Max Sum > Group Max Sum > Default Max Sum * * <ItemGroup:[GroupName]> [GroupName]:Sets the group name for items, weapons, and armor. * Any items that exceed the maximum total number using plugin commands will remain as is. * * If you want to change the number of items per group, be sure to set the specified group in the plugin parameter "ItemGroupMaxItems". * * Terms of Use * This plugin is distributed under the MIT license. * * Log * 9/9/2025 Ver.1.1.2 * Fixed an issue where items with group key settings were being calculated including the total number of items. * 8/31/2025 Ver.1.1.1 * Fixed an issue where group totals were not being applied. * 8/25/2025 Ver.1.1.0 * Fixed an issue where plugin commands were not working. * When changing the maximum number, it is now possible to change the maximum number for multiple groups with a single command. * Added a function to increase or decrease the maximum number. * 9/22/2024 Ver.1.0.2 * Fixed an issue where items could not be acquired if the default maximum total number of possessions was set to 0. * Fixed the plugin command to change the maximum total number of possessions so that it can be set to 0, meaning unlimited. * 9/21/2024 Ver.1.0.1 * Fixed an issue that caused items to be unable to be purchased even if the purchase conditions were met. * 10/20/2021 Ver.1.0.0 * First edition. * * * @command ChangeMaxItemSum * @desc Change the maximum number of items you can own. * @text Change in maximum number of items you can own * * @arg MaxSum * @type number * @default 1 * @min 1 * @text Maximum number of possessions after change * @desc Specify the maximum number of possessions to be changed.(0 = unlimited) * * @arg ItemKey * @desc Set the group to be processed. * @text Key * @type combo[] * @option 'item' * @option 'weapon' * @option 'armor' * @default * * @command ChangeMaxItemAdd * @desc Increases or decreases the maximum total number of items you can own by the specified amount. * @text Increase/decrease maximum number of items held * * @arg Num * @type number * @default 1 * @min -9999 * @text Increase or decrease the maximum number of possessions * @desc Specify the increment value. * * @arg ItemKey * @desc Set the group to be processed. * @text Key * @type combo[] * @option 'item' * @option 'weapon' * @option 'armor' * @default * * * @param ItemGroupMax * @desc Default total maximum number of items to have. (0 = unlimited) * @text Maximum total number of items * @type number * @default 0 * @min 0 * * @param WeaponGroupMax * @desc Default total maximum number of weapons you can carry. (0 = unlimited) * @text Maximum total number of weapons * @type number * @default 0 * @min 0 * * @param ArmorGroupMax * @desc Default total maximum number of armor you can carry. (0 = unlimited) * @text Maximum total number of armors * @type number * @default 0 * @min 0 * * @param ItemGroupMaxItems * @desc Set the number of items each group can own. * @text Maximum number of possessions per group * @type struct<ItemGroupDefaultList>[] * @default [] *