Inventory

Provides player inventories.

By TeslaCloud Studios

Modules

Hooks hooks
Shared hooks of the Inventory plugin: turns the slot binds into the PlayerSelectSlot hook, which selects the weapon of the item in that hotbar slot or uses the item.
Globals globals
Migration that adds the item_ids column to the characters table.
Inventory class
The inventory class is used to manage a player's items, transferring them from one player or object to another, using the same interface and functionality.
ItemContainer is the base class for items that hold other items, such as bags.
Player class
Player extensions of the Inventory plugin: everything a player can do with their inventories and the items in them.
Migration that removes the item_ids column from the characters table.

Commands

GiveItem command
The GiveItem command gives one or several players a number of items.

Panels

The fl_icon_editor panel is a developer tool for setting up the inventory icon of an item.
The fl_inventory panel displays an inventory as a grid of fl_inventory_item slots and lets the player drag items around.
The fl_inventory_container panel is a fullscreen view that shows another inventory next to the main inventory, the pockets and the hotbar of the local player, so that items can be dragged between them.
The fl_inventory_item panel is a single slot of an fl_inventory panel.
The fl_inventory_menu panel is the inventory tab of the tab menu.