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