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

# Is inventory disabled

> Gibt zurück, ob das Öffnen des Inventars aktuell deaktiviert ist.

Gibt zurück, ob das Öffnen des Inventars aktuell deaktiviert ist.

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

  ```lua Example theme={null}
  -- Vor einer Aktion prüfen, ob das Inventar deaktiviert ist
  local disabled = exports['jaksam_inventory']:isInventoryDisabled()

  if disabled then
      print('Inventory is currently disabled')
  end

  -- Eine eigene Aktion absichern
  if not exports['jaksam_inventory']:isInventoryDisabled() then
      exports['jaksam_inventory']:openInventory('my_stash')
  end
  ```
</CodeGroup>

### Parameter

Keine.

### Rückgabewert

| Name       | Datentyp | Beschreibung                                                              |
| ---------- | -------- | ------------------------------------------------------------------------- |
| `disabled` | boolean  | True, falls das Öffnen des Inventars aktuell deaktiviert ist, sonst false |


## Related topics

- [Set inventory disabled](/de/jaksam-inventory/functions/client/set-inventory-disabled.md)
- [Client](/de/jaksam-inventory/functions/client/index.md)
- [Set hotbar disabled](/de/jaksam-inventory/functions/client/set-hotbar-disabled.md)
- [Create inventory](/de/jaksam-inventory/functions/server/create-inventory.md)
- [Inventory created](/de/jaksam-inventory/hooks/on-inventory-created.md)
