Skip to main content

Introduction

This plugin allows you to set a limit on the total number of items in an inventory.

Fields#

NameDescription
Use StatUse a Stat to determine the maximum count (Requires GDTK Stats)
Stat IdId of the Stat to use
MaxMaximum number of items to allow

Properties#

NameDescription
titleTitle of the plugin
descriptionDescription of the plugin
hostGets the Inventory associated with the plugin
iconIcon associated with the plugin
titlebarTextText to display in the titlebar for the plugin

Methods#

NameDescription
CheckAddItemCheck if adding item is allowed
InitializeInitialize the plugin
CheckAddFundsCheck if adding funds is allowed
CheckAddItemStackCheck if added new item stack is allowed
DataLoadLoad data from a stream
DataSaveSave data to a stream
HandleDropHandle dropping item
StackAddedStack added to Inventory
StackRemovedStack removed from Inventory
ShutdownShutdown plugin