> For the complete documentation index, see [llms.txt](https://1294243258.gitbook.io/untiltheend-introduction/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://1294243258.gitbook.io/untiltheend-introduction/gu-you-shu-xing/bei-bao-xian-zhi.md).

# 玩家背包与锁定

## 背包限制机制

#### 锁定玻璃

* 插件默认玩家背包中有18个格子是锁定的（如图）
* 锁定的区域被黑色玻璃占用，玩家不可拿出玻璃也不可以把东西放进去

![默认锁定界面](/files/-M1LPgC1w9ps5D6gIyBF)

{% code title="config.yml" %}

```yaml
player:
  inventory: 
    enable: true   
    #是否开启背包限制功能
    lockSlots: 18  
    #初始锁定几格
```

{% endcode %}

## 拓展你的背包

{% hint style="info" %}
背包锁住了怎么办？想用锁定格怎么办？

&#x20;别怕！本插件自带了背包的功能！
{% endhint %}

#### 便携包（生存类物品）

* 背包空间+4格
* 背包内食品都不会腐烂

#### 背包（生存类物品）

* 背包空间+8格

#### 皮质背包（生存类物品）

* 背包空间+12格
* 背上时走路略微变慢

### 背包限制-完

赞助地址：<https://afdian.net/order/create?plan_id=7cc5be1eb8dd11e9a25e52540025c377>

QQ官方交流群：1051331429


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://1294243258.gitbook.io/untiltheend-introduction/gu-you-shu-xing/bei-bao-xian-zhi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
