> For the complete documentation index, see [llms.txt](https://ajneb97.gitbook.io/conditionalevents/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ajneb97.gitbook.io/conditionalevents/placeholderapi-variables.md).

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