# Introduction

### What are death actions

Death actions are actions that will trigger when a player dies during a bloodmoon event. The actions are configurable by the server owner in the config file.

A death action has a percentage to define whether the action should trigger or not. If the death action triggers, certain events might occur.

The death actions can be found in the[ config.yml](/configs/config.yml.md)

```yaml
# A list of actions that occur when a player dies during a bloodmoon
death-actions:
  lose-xp:
    chance: 0.0
  clear-inventory:
    chance: 0.0
```

### Available actions

| Action name     | result                                                            |
| --------------- | ----------------------------------------------------------------- |
| lose-xp         | The player will lose all XP levels without dropping               |
| clear-inventory | When this action triggers, the inventory will be cleared entirely |
| ...             | More events coming soon                                           |

{% hint style="info" %}
If you don't want to use the event, just change the percentage to **0.0**.&#x20;
{% endhint %}


---

# 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://bloodmoon.pseudonova.com/death-actions/introduction.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.
