# Upgrades

You can download default upgrades.yml [here](https://link.storjshare.io/s/jxjhofffk4ix6li66ayycbg2tkbq/bedwars-armedmode/upgrades.yml?download=1).

You can create a new upgrade type by this template:

<pre><code>#NOTE: you can use "&#x26;" or "§"
#Must be unique!
&#x3C;id>:
  tier-1:
    cost: &#x3C;replaceme>
    currency: &#x3C;IRON_INGOT/GOLD_INGOT/DIAMOND/EMERALD>
    bought:
      sound: NOTE_PLING
      yaw: 1
      pitch: 100
    insuff:
      sound: ENDERMAN_TELEPORT
      yaw: 1
      pitch: 1
    display-item:
      slot: &#x3C;replaceme>
      Amount: &#x3C;replaceme>
      Material: &#x3C;replaceme>
      Name: '{color}&#x3C;replaceme>'
      Lore:
      - §7&#x3C;replaceme>
      - ''
      - '{tier-1-color}Tier 1: &#x3C;replaceme>, §b{tier-1-cost} {tier-1-currency}'
      - ''
<strong>      - '{buy_status}'
</strong>      Flags:
      - HIDE_ATTRIBUTES
    receive:
    #This line mean your team will receive +5% bullet damage!
    #Available: INCREASE_GUN_DAMAGE, GUN_DAMAGE_REDUCTION (more will be added soon!)
    #All available type has been used by build-in upgrades
    #You can still add more, and the effect will be cumulative.
    - INCREASE_GUN_DAMAGE:5 
  #... (add some tiers if you want)
  unlocked: #Required this or upgrade will not work properly
    display-item:
      slot: &#x3C;replaceme>
      Material: &#x3C;replaceme>
      Amount: &#x3C;replaceme>
      Name: '{color}&#x3C;replaceme>'
      Lore:
      - §7&#x3C;replaceme>
      - ''
      - '{tier-1-color}Tier 1: &#x3C;replaceme>, §b{tier-1-cost} {tier-1-currency}'
      - ''
      - '{buy_status}'
      Flags:
      - HIDE_ATTRIBUTES
</code></pre>


---

# 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://twightlight.gitbook.io/bedwars-armed-mode/configuration/upgrades.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.
