> For the complete documentation index, see [llms.txt](https://bojarsky-legacy.gitbook.io/backpacksplus-wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bojarsky-legacy.gitbook.io/backpacksplus-wiki/usage-and-features/item-restrictions.md).

# Item Restrictions

BackpacksPlus allows for two levels of item restriction:

1. **Global Shulker Box Prevention:**
   * Controlled by the `backpacks.prevent_shulker_boxes` setting in `config.yml`.
   * If `true` (default), no shulker boxes can be placed in *any* BackpacksPlus backpack, regardless of individual backpack definitions.
2. **Per-Backpack `allowed-items` List:**
   * Defined in your `backpacks/*.yml` files for each backpack type using the `allowed-items` key.
   * If this list is present and contains item IDs, only those items can be placed in that specific backpack type.
   * If the list is empty (`allowed-items: []`) or the key is missing, all items are allowed (except shulker boxes if globally prevented).

Players will receive a message if they attempt to place a restricted item into a backpack.
