> ## 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

> Gibt die Liste aller Items im Inventar zurück.

Gibt die Liste aller Items im Inventar zurück.

<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>

### Parameter

Keine.

### Rückgabewert

| Name    | Datentyp | Beschreibung                                                                                                                                       |
| ------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| `items` | table    | Die Liste der Items, Key ist der Item-Name, Wert sind die Item-Informationen (label, maxStack, weight, stackable, description, rarity, type, usw.) |


## Related topics

- [Shared](/de/jaksam-inventory/functions/shared/index.md)
- [Get static item](/de/jaksam-inventory/functions/shared/get-static-item.md)
- [Get item label](/de/jaksam-inventory/functions/shared/get-item-label.md)
- [Item transferred](/de/jaksam-inventory/hooks/on-item-transferred.md)
- [Pre use item](/de/jaksam-inventory/hooks/on-pre-use-item.md)
