# 加倍器

自定义加倍器配置可以在 `plugins/Boosters/boosters.yml` 中找到，它的一般配置如下：

```
boosters:
  - <第一个加倍器>
  - <第二个加倍器>
```

其中，`boosters` 为一个 **List** 类型的自定义加倍器的键，所有自定义加倍器的一般配置如下：

```
  - id: 1_5sell_multiplier
    name: "1.5x 回收加倍器"
    duration: 72000
    effects:
      - id: sell_multiplier
        args:
          multiplier: 1.5
    conditions: []
    commands:
      activation: []
      expiry: []
    messages:
      activation:
        - ""
        - " %player%&f 激活了一个 &a1.5x 回收加倍器&f!"
        - " &f现在通过系统商店回收物品，可赚得 1.5 倍金币!"
        - " &c此加倍器将在 1 小时后过期."
        - ""
      expiry:
        - ""
        - " &f一个 &a1.5x 回收加倍器&f 已经结束!"
        - " &f你可以通过 &b拓展玩法菜单 &f中激活新的加倍器!"
        - ""
    gui:
      item: player_head texture:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTM0YjI3YmZjYzhmOWI5NjQ1OTRiNjE4YjExNDZhZjY5ZGUyNzhjZTVlMmUzMDEyY2I0NzFhOWEzY2YzODcxIn19fQ==
      name: "&d1.5x 回收加倍器"
      lore:
      - ""
      - "&f给予所有在线的玩家一个"
      - "&a1.5x 回收加倍器 &f，以让"
      - "&f他们赚得更多的金币!"
      - ""
      - "&f时长: &a1 小时"
      - ""
      - "&f你当前拥有: &a%amount% 个"
      - ""
      - "&e点击以激活!"
      position:
        row: 2
        column: 3
```

我们可以看出它由以下部分组成：

* **id：**&#x52A0;倍器的 **id**。
* **name：**&#x52A0;倍器显示给玩家的名称。
* **duration：**&#x52A0;倍器的持续时长。
* **effects/conditions：**&#x54;he Effect System（自定义技能系统）的内容，将在后文介绍。
* **commands/messages：**&#x5176;下各有 `activation` 和 `expiry` 的子选项，各带有加倍器激活和过期时触发的指令和消息提示。
* **gui：**&#x4E0E; **技能与属性** 一节近乎一致，不再赘述。


---

# 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/ecox-doc/yi-ban-pei-zhi-ge-shi/jia-bei-qi.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.
