# Events

Events are the main feature of MechanicsEverywhere, and are not in any specific folder (unlike [commands](https://cjcrafter.gitbook.io/mechanicseverywhere/commands "mention"), [mechanics-pools](https://cjcrafter.gitbook.io/mechanicseverywhere/mechanics-pools "mention"), and [repeated-mechanics](https://cjcrafter.gitbook.io/mechanicseverywhere/repeated-mechanics "mention"))

To use any event, all you need is a `.yml` file in the main directory (`plugins > MechanicsEverywhere`). Then you can add the config for the event into the file. For example, for the [#playerjoinevent](https://cjcrafter.gitbook.io/mechanicseverywhere/player#playerjoinevent "mention"), we can add this to our file:

```yaml
Player_Join_Event:
  - "Message{message=Welcome to our server} @Source{}"
```
