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


---

# 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://wiki.bsdevelopment.org/command-information/commands/gui-command.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.
