# 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](https://bloodmoon.pseudonova.com/configs/config.yml)

```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 %}
