# Regenerate Command

{% hint style="danger" %}
This command is considered an *<mark style="color:red;">**ADMIN ONLY**</mark>* command\
Ordinary players should *<mark style="color:red;">**NOT**</mark>* be given access to this command
{% endhint %}

## What does this command do?

Running this command will regenerate the files/folder they specify to their default state (In other terms reset the file and have it recreated)

{% hint style="danger" %}
I would <mark style="color:red;">**`STRONGLY`**</mark> suggest only trusted players have access to this command as it could reset pet files, inventory configurations, item configurations, and particle files
{% endhint %}

## Command Usage

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

### Usage Descriptions

| Usage                                                                                                     | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| /pet regenerate <mark style="color:orange;">`<selector>`</mark> <mark style="color:blue;">`[type]`</mark> | <p>If you did not read above for what this command does <a href="#what-does-this-command-do">CLICK HERE</a><br><br>Selectors can be: <mark style="color:purple;"><code>pets</code></mark>, <mark style="color:purple;"><code>inventories</code></mark>, <mark style="color:purple;"><code>items</code></mark>, <mark style="color:purple;"><code>particles</code></mark>, and/or <mark style="color:purple;"><code>type</code></mark>(pet type)<br>Example: <mark style="color:green;">/pet regenerate pets</mark><br>Example: <mark style="color:green;">/pet regenerate type cow</mark></p> |

## Permissions

| Permission Node         | Description                                                                       |
| ----------------------- | --------------------------------------------------------------------------------- |
| pet.commands.regenerate | Grants the player access to run <mark style="color:red;">`/pet regenerate`</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/regenerate-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.
