# Introduction

![](/files/-M-kx5w1p5NvW8xvgNw3)

### 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**](/events/teleport-event.md)

```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**](/events/teleport-event.md) 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**](/events/speak-event.md)", 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 %}


---

# 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/events/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.
