# GUI Command

## What does this command do?

Opens the GUI that allows you to spawn a pet

{% hint style="info" %}
This command can be disabled by setting <mark style="color:green;">`"Simpler-Pet-GUI-Command"`</mark> to <mark style="color:orange;">`true`</mark>

The command would then be simplified to just <mark style="color:green;">`/pet`</mark>
{% endhint %}

## Command Usage

> <mark style="color:orange;">`<>`</mark> = REQUIRED
>
> <mark style="color:blue;">`[]`</mark> = OPTIONAL
>
> Usage: /pet gui <mark style="color:blue;">`[player]`</mark>

### Usage Descriptions

| Usage                                                | Description                                                                                                                                   |
| ---------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| /pet gui                                             | Opens the Pet Selection GUI so you can spawn pets                                                                                             |
| /pet gui <mark style="color:blue;">`[player]`</mark> | <p>Forces the Pet Selection GUI to open for the selected player<br>Example: <mark style="color:green;"><code>/pet gui Steve</code></mark></p> |

## Permissions

| Permission Node        | Description                                                                                                                        |
| ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| pet.commands.gui       | Grants the player access to run <mark style="color:red;">`/pet gui`</mark>                                                         |
| pet.commands.gui.other | Grants the player access to force another player to open the Pet Selection GUI <mark style="color:red;">`/pet gui [player]`</mark> |
