# Data Command

{% hint style="info" %}
This command players are given access to by <mark style="color:orange;">`DEFAULT`</mark>
{% endhint %}

## What does this command do?

Opens the GUI that will allow you to modify the pet you have specified

## Command Usage

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

### Usage Descriptions

| Usage                                                                                             | Description                                                                                                                                              |
| ------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| /pet data <mark style="color:orange;">`<type>`</mark>                                             | <p>Opens the GUI to modify the selected pet types data<br>Example: <mark style="color:green;"><code>/pet data cow</code></mark></p>                      |
| /pet data <mark style="color:blue;">`[player]`</mark> <mark style="color:orange;">`<type>`</mark> | <p>Forces the targeted player to open the selected pet types data GUI<br>Example: <mark style="color:green;"><code>/pet data Steve cow</code></mark></p> |

## Permissions

| Permission Node         | Description                                                                                                                  |
| ----------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| pet.commands.data       | Grants the player access to run <mark style="color:red;">`/pet data`</mark>                                                  |
| pet.commands.data.other | Grants the player access to force another player to open their Pet Data <mark style="color:red;">`/pet data [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/data-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.
