> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jaksam-scripts.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get static items list

> Returns the list of all items in the inventory.

Returns the list of all items in the inventory.

<CodeGroup>
  ```lua Export theme={null}
  exports['jaksam_inventory']:getStaticItemsList()
  ```

  ```lua Example theme={null}
  local items = exports['jaksam_inventory']:getStaticItemsList()
  local weaponsCount = 0
  for itemName, item in pairs(items) do
      if item.type == 'weapon' then
          weaponsCount = weaponsCount + 1
      end
  end
  print("There are in total " .. weaponsCount .. " registered weapons in the inventory")
  ```
</CodeGroup>

### Parameters

None.

### Return value

| Name    | Data Type | Description                                                                                                                              |
| ------- | --------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| `items` | table     | The list of items, key is the item name, value is item information (label, maxStack, weight, stackable, description, rarity, type, etc.) |


## Related topics

- [Shared](/jaksam-inventory/functions/shared/index.md)
- [Get static item](/jaksam-inventory/functions/shared/get-static-item.md)
- [Get item label](/jaksam-inventory/functions/shared/get-item-label.md)
- [Item transferred](/jaksam-inventory/hooks/on-item-transferred.md)
- [Get all buildings list](/doors-creator/server/get-all-buildings-list.md)
