Skip to main content

Introduction

This plugin allows you to limit the total weight placed in inventory

Fields#

NameDescription
Use StatUse a Stat to determine the maximum weight (Requires GDTK Stats)
Stat IdId of the Stat to use
MaxMaximum weight to allow
Include FundsInclude the weight of funds when calculating max weight

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
InitializeInitialize the plugin
CheckAddFundsCheck if adding funds is allowed
CheckAddItemCheck if adding item 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