# 地皮参数预设

## 一、介绍

地皮参数预设系统可以允许玩家快速选择合适的地皮参数组，你可以通过它给玩家选择沙漠风光、雪山风光等的不同风格地皮参数供玩家自由选择.

它的效果图如下：

![](/files/OBvebR0STJvq2muyvwDr)

## 二、设置

要想实现此功能，您需要遵从如下步骤：

* 打开 `setting.yml` 文件并找到如下内容：

```
enabled-components:
  component-presets: true
```

检查 `component-presets` 选项是否为 `true`，如果不是，请修改为 true.

* 找到 `plugins/PlotSquared/settings/components.yml` 文件并打开，以下为该文件的示例内容：

```
presets:
  - component: floor
    cost: 0.0
    pattern: '##wool'
    name: <rainbow:2>Disco Floor</rainbow>
    icon: yellow_wool
    description:
      - <gold>Spice up your plot floor</gold>
    permission: ''
```

其中：

* `component` 为参数.
* `cost` 为价格，与 Vault 挂钩.
* `pattern` 为参数对应的方块，同样也支持 Buck Bucket 格式.&#x20;
* `name` 与 `description` 分布为名称和描述，使用 MiniMessage 格式，详情 请 [点击此处](https://docs.adventure.kyori.net/minimessage.html) 查看.
* `icon` 为显示在 GUI 内的物品图标，填写原版物品ID.
* `permission` 为权限节点.

继续介绍地皮参数系统：

* 重启服务器.
* 使用指令 `/plot components` 打开 GUI.


---

# 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/gao-ji/di-pi-can-shu-yu-she.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.
