# PlaceholderAPI Variables

These are the PlaceholderAPI variables that ConditionalEvents offers. For now there is just one.

| Placeholder                                 | Description                                                                                                                                                                                                                                     |
| ------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `%conditionalevents_cooldown_<event>%`      | Returns the current player cooldown for the specified event. When the cooldown is ready, or the event is invalid, these messages from the config will be returned instead: `placeholderAPICooldownReady` and `placeholderAPICooldownNameError`. |
| `%conditionalevents_onetime_ready_<event>%` | Will return 'yes' or 'no', whether a player has executed a one-time event or not.                                                                                                                                                               |
| `%conditionalevents_is_enabled_<event>%`    | Will return 'true' or 'false', whether an event is enabled or not.                                                                                                                                                                              |


---

# 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://ajneb97.gitbook.io/conditionalevents/placeholderapi-variables.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.
