# Commands and Permissions

## Commands

{% hint style="info" %}
Alias: /ts
{% endhint %}

| Command                                          | Description                                                          |
| ------------------------------------------------ | -------------------------------------------------------------------- |
| **/thesearch create \<search>**                  | Creates a new search.                                                |
| **/thesearch delete \<search>**                  | Deletes a search.                                                    |
| **/thesearch addblock \<search>**                | Adds the target block to a search.                                   |
| **/thesearch addentity \<search>**               | Adds the target entity to a search. Requires MythicMobs or Citizens. |
| **/thesearch removeblock \<search>**             | Removes the target block from its search.                            |
| **/thesearch removeentity \<search>**            | Removes the target entity from its search.                           |
| **/thesearch reset \<player>/all \<search>/all** | Resets player data from a search.                                    |
| **/thesearch edit (optional)\<search>**          | Edits a search through the GUI.                                      |
| **/thesearch tp \<search> \<id>**                | Teleports you to an object of a search.                              |
| **/thesearch enable \<search>**                  | Enables a search.                                                    |
| **/thesearch disable \<search>**                 | Disables a search temporally.                                        |
| **/thesearch reload**                            | Reloads the config.                                                  |

## Permissions&#x20;

| Permission                     | Description                                                                                     |
| ------------------------------ | ----------------------------------------------------------------------------------------------- |
| **thesearch.admin**            | Access to all funtionalities and commands of the plugin.                                        |
| **thesearch.search.\<search>** | If `permission_required` is enabled in a search, this permission is needed to interact with it. |
