> 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/commands-and-permissions.md).

# Commands and Permissions

## Commands

{% hint style="info" %}
If you have issues executing the command remember you can use the alias:\
`/conditionalevents`
{% endhint %}

| Command                                                                                                                       | Description                                                                                                                                                                                                                                                                                                                                                         |
| ----------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **/ce help**                                                                                                                  | Shows plugin commands.                                                                                                                                                                                                                                                                                                                                              |
| **/ce reload**                                                                                                                | Reloads config files.                                                                                                                                                                                                                                                                                                                                               |
| **/ce verify**                                                                                                                | Checks ALL events for errors.                                                                                                                                                                                                                                                                                                                                       |
| **/ce reset \<player> \<event>/all**                                                                                          | Resets an event/all events data for a player.                                                                                                                                                                                                                                                                                                                       |
| **/ce reset \* \<event/all>**                                                                                                 | Resets an event/all events data for all players. This will also modify offline player files.                                                                                                                                                                                                                                                                        |
| **/ce debug \<event> (optional)\<player>**                                                                                    | Enables/disables debug information for an event. It is recommended to use this command on the console or it will spam your chat. You can optionally debug an event only for one player.                                                                                                                                                                             |
| **/ce enable \<event> (optional) silent:true**                                                                                | Enables an event.                                                                                                                                                                                                                                                                                                                                                   |
| **/ce disable \<event> (optional) silent:true**                                                                               | Disables an event.                                                                                                                                                                                                                                                                                                                                                  |
| **/ce call \<event> (optional)%variable1%=\<value1>;%variableN%=\<valueN> (optional)player:\<player> (optional) silent:true** | <p>Execute a 'call' event with optional variables and optional player. For example:<br> <code>/ce call event1</code><br> <code>/ce call event1 %test\_variable%=25</code><br> <code>/ce call event1 player:Ajneb</code><br><br>If you don't want a feedback message:<br> <code>/ce call event1 silent:true</code></p>                                               |
| **/ce item \<save/remove> \<name>**                                                                                           | <p>Allows you to save items into a config file so you can use them later on the following actions: <a href="/conditionalevents/actions.md#give-item">give\_item</a>, <a href="/conditionalevents/actions.md#drop-item">drop\_item</a>, <a href="/conditionalevents/actions/event-actions.md#set-item">set\_item</a>.<br><br>PlaceholderAPI variables supported.</p> |
| **/ce interrupt \<event> (optional)\<player> (optional) silent:true**                                                         | <p>Interrupts an event, stopping the execution of actions for the event (wait and wait\_ticks actions). <br><br>Optionally, you can stop the execution of an event only for a single player.</p>                                                                                                                                                                    |

## Permissions

| Permission                                | Description                                                             |
| ----------------------------------------- | ----------------------------------------------------------------------- |
| conditionalevents.admin                   | Access all plugin commands.                                             |
| conditionalevents.bypasscooldown.\<event> | Allows the player to completely bypass the cooldown of a certain event. |
|                                           |                                                                         |

{% hint style="info" %}
There is just one permission to access commands: `conditionalevents.admin`
{% endhint %}
