# Introduction

![](https://1951975974-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LzYNFIMyIRASmrYbPo8%2F-M-kwSYMDYiMG2tKoIey%2F-M-kx5w1p5NvW8xvgNw3%2Fevents.png?alt=media\&token=b600b064-dc95-4b22-bd9a-e8e4f49be261)

### What are events?

An event is a pre-defined action which will be executed with a certain chance. Events can be added to one or more actions.

### What events are available?

Currently we have 10 events which can be used during the bloodmoon.

### How do I use events?

Depending on the event, you might need different parameters in your config. Although it looks a bit complex to configure, you get used to it faster then you would expect.

Below you can see an example of an action using the [**Teleport Event**](https://bloodmoon.pseudonova.com/events/teleport-event)

```yaml
actions:
  example-teleport:
    events:
      - teleport 10 100
      - speak &4Try to catch me now! 100
    commands: []
```

Explanation: we have an action named "**example-teleport**". Our action has 2 events. The event we will be using is the [**teleport**](https://bloodmoon.pseudonova.com/events/teleport-event) event. If we take a look at the Teleport Event page, we can see that it uses 2 arguments.

**Argument 1:**  The radius in which the mob will teleport\
**Argument 2:**  The percentage it will execute

So for the above example: whenever **example-teleport** is fired, our entity will teleport somewhere in a radius of 10 blocks. Since the percentage is set to 100, this action will always happen.

As we have another event "[**speak**](https://bloodmoon.pseudonova.com/events/speak-event)", with a percentage set to 100, both lines will always execute which will result in your mob saying : "Try to catch me now!" and a simultaneous teleport of your mob.

{% hint style="warning" %}
*The percentage is a mandatory argument. No matter how many arguments you have, your line should always end with a number representing the chance in percentage the event will execute.*
{% endhint %}
