> For the complete documentation index, see [llms.txt](https://obey.gitbook.io/wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://obey.gitbook.io/wiki/kits/features/overflow-system.md).

# Overflow Management

Handling inventory overflow when claiming kits in CrownKits.

When a player claims a kit with more items than their inventory can fit, CrownKits handles the excess items according to the configured `item-overflow-behaviour`.

***

## Available Behaviors

In `config.yml`:

```yaml
item-overflow-behaviour: GUI # choose between DROP, REMOVE, GUI, and SHULKER
```

### 1. `GUI` (Default)

Excess items are opened in a temporary 54-slot inventory named "Remaining Items" (`overflow-gui-tile` in `messages.yml`), allowing the player to pick them up or organize their inventory.

### 2. `SHULKER`

Excess items are placed inside a Shulker Box and the shulker box is given directly to the player.

```yaml
shulker:
  material: SHULKER_BOX
  name: "<!italic>%displayname% <white><bold>Kit</bold></white>"
```

### 3. `DROP`

Any items that do not fit into the player's inventory are dropped onto the ground at the player's exact location.

### 4. `REMOVE`

Excess items that do not fit into the player's inventory are safely discarded.
