# Souls

Souls are a special built-in currency, designed to balance powerful enchantments by charging Souls per enchant activation. They can be very simply added to any enchantment, e.g.:

```yaml
  levels:
    1:
      souls: 100
      effects:
        - 'MESSAGE:This will only activate if player had enough souls!'
```

## How to obtain souls?

Souls can be gathered by killing players using weapons with Soul Trackers applied on them. \
The Soul Tracker item is given with a command:

> /ae giveitem \<player> soultracker 1

For every player kill with an item that has a soul tracker, they will gain **1 soul on the item.** This can be changed to a different amount in **config.yml**:

```yaml
settings:
  # Amount of souls given per kill
  souls-per-kill: 1
```

Souls from mobs can be gathered by enabling this setting in **config.yml:**

```yaml
settings:
  # Should souls be collected from mobs? 
  collect-souls-from-mobs: true
```

Souls from mining blocks can be enabled by changing these settings in the **config.yml**.

```yaml
  settings:
    # Collecting souls from mining
    # This can be used as a "tokens" currency for prison servers
    miningSouls:
      enabled: false
      # Chance to gain a soul from mining
      chance: 20
```

You can also give players **Soul Gems** which can be drag & dropped onto items that have Soul Trackers applied to them. These will increase Souls on items by the specified amount, obtain these items through this command:

> /ae giveitem \<player> soulgem 1 \<soul amount>


---

# 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://ae.advancedplugins.net/configuration/soul-enchantments.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.
