Inventory
Provides player inventories.
By TeslaCloud Studios
Modules
Hooks hooks
Inventories plugin
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
AddItemIdsToCharacters object
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 class
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.
RemoveItemIdsFromCharacters object
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
fl_icon_editor panel
The
fl_icon_editor panel is a developer tool for setting up the inventory icon of an item.fl_inventory panel
The
fl_inventory panel displays an inventory as a grid of fl_inventory_item slots and lets the player drag items around.fl_inventory_container panel
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.fl_inventory_item panel
The
fl_inventory_item panel is a single slot of an fl_inventory panel.fl_inventory_menu panel
The
fl_inventory_menu panel is the inventory tab of the tab menu.