> For the complete documentation index, see [llms.txt](https://wiki.hyronic.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.hyronic.dev/server-setups/mcmmo-survival/plugin-conditionalevents.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://wiki.hyronic.dev/server-setups/mcmmo-survival/plugin-conditionalevents.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
