Introduction
This plugin allows you to set a limit on the total number of items in an inventory.
Fields#
| Name | Description |
|---|---|
| Use Stat | Use a Stat to determine the maximum count (Requires GDTK Stats) |
| Stat Id | Id of the Stat to use |
| Max | Maximum number of items to allow |
Properties#
| Name | Description |
|---|---|
| title | Title of the plugin |
| description | Description of the plugin |
| host | Gets the Inventory associated with the plugin |
| icon | Icon associated with the plugin |
| titlebarText | Text to display in the titlebar for the plugin |
Methods#
| Name | Description |
|---|---|
| CheckAddItem | Check if adding item is allowed |
| Initialize | Initialize the plugin |
| CheckAddFunds | Check if adding funds is allowed |
| CheckAddItemStack | Check if added new item stack is allowed |
| DataLoad | Load data from a stream |
| DataSave | Save data to a stream |
| HandleDrop | Handle dropping item |
| StackAdded | Stack added to Inventory |
| StackRemoved | Stack removed from Inventory |
| Shutdown | Shutdown plugin |