# 地皮备份

## 一、介绍

地皮备份系统在 v.5.11.0 版本加入，它允许您备份您的地皮，并在后续某个时间恢复.

地皮备份系统不能适用于合并后的地皮.

在您尝试对地皮进行“破坏性”的操作时，插件将会自动创建地皮的备份，包括：

* 清除地皮
* 设置地皮的参数（如填充方块、地板方块等）

目前地皮备份系统只保存地皮的方块，不保存地皮的标签、设置等信息.

## 二、配置

地皮备份系统的配置可以在 `setting.yml` 文件中找到.

```
# 备份配置
backup:
  # 是否自动在玩家对地皮执行破坏性操作时备份地皮
  automatic-backups: false
  # 单个地皮创建的备份上限
  backup-limit: 3
  # 是否在玩家不再认领该地皮后自动清除对应地皮的备份
  delete-on-unclaim: true
```

## 三、指令

* **/plot backup save**
  * 为你当前所站的地皮创建备份.
  * 权限节点：`plots.backup.save 或者 plots.admin.backup.other（为其他玩家的地皮创建备份）`
* **/plot backup list**
  * 查看可用的地皮备份列表.
  * 权限节点：`plots.backup.list 或者 plots.admin.backup.other（查看其他玩家的地皮备份）`
* **/plot backup load**
  * 将地皮恢复到某次的地皮备份
  * 权限节点：`plots.backup.load 或者 plots.admin.backup.other（查看其他玩家的地皮备份）`


---

# Agent Instructions: 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://docs.superiormc.cn/plotsquared-wiki/bu-chong/di-pi-bei-fen.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.
