# Plugin: ConditionalEvents

We're using ConditionalEvents to add a few features and slightly customize some server features. Specifically, when you check the events folder, you will find config files like the following:

{% code title="block\_message.yml" %}

```yaml
Events:
  # Block unwanted message with the mark of [ingored] in the message content
  block_unwanted_message: {}
```

{% endcode %}

{% code title="commands.yml" %}

```yaml
Events:
  # Handles the /mgui and /mcmmo commands. You can remove this event if you have decided to use the McmmoGui plugin or the default DeluxeMenu setup instead.
  mcmmo_command: {}
  # Handle /vault, /vaults command that will open a custom GUI from DeluxeMenu 
  vault_command: {}
```

{% endcode %}

{% code title="common.yml" %}

```yaml
Events:
  # The plugin xHeadTurns have a bug that we need to reload it every restart to make the head render
  # This simple hack even will reload the plugin everytime you join, back to server spawn!
  xheadturns_join: {}
  xheadturns_back_to_spawn: {}
  # Quick access to commands like /craft and /ec by shift right-clicking on a crafting table. This feature is mainly intended for players with the MVP rank.
  crafting_table_features_listener: {}
```

{% endcode %}

{% code title="join\_quit\_motd.yml" %}

```yaml
Events:
  # Display server MOTD when player join.
  player_join_motd: {}
```

{% endcode %}

{% code title="sounds.yml" %}

```yaml
Events:
  # Adds quick interaction sounds to places where plugins dont support sound effects.
  gui_inventory_click_sound: {}
  auction_click_sound: {}
  sound_message: {}

```

{% endcode %}


---

# 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://wiki.hyronic.dev/server-setups/mcmmo-survival/plugin-conditionalevents.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.
