> For the complete documentation index, see [llms.txt](https://mcpets.gitbook.io/mcpets/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mcpets.gitbook.io/mcpets/tutorials/plugin-features/commands.md).

# Commands

Here is the list of the commands you can do using MCPets and what they are used for.

Check out the [permissions ](/mcpets/tutorials/plugin-features/permissions.md)to give access to the commands to the player and access to the pets as well.

| Command                                                          | Effect                                                                                                                                                     |
| ---------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| mcpets                                                           | Opens the menu to summon your pet                                                                                                                          |
| mcpets debug                                                     | Prints in console and in chat some useful informations to debug MCPets. Type the command once to enable it, and once more to disable it.                   |
| mcpets reload                                                    | Reload the plugins files.                                                                                                                                  |
| mcpets editor                                                    | Opens the in-game editor to modify the configs, pets, items, petFood, ... and setup a lot of stuff through a GUI in-game.                                  |
| mcpets spawn \<petId> \<playerName> {checkPerm:true/false} \[-s] | Summons the pet to the player. If checkPerm is "true" it will check the permission access to the pet. Add "-s" at the end to remove the summoning message. |
| mcpets mount                                                     | Mounts the caster on its spawned pet                                                                                                                       |
| mcpets inventory \<playerName> \<petId>                          | Opens the player's inventory corresponding to that pet (if it exists)                                                                                      |
| mcpets name                                                      | Activate the changing name feature of the spawned pet                                                                                                      |
| mcpets revoke                                                    | Revoke the active pet                                                                                                                                      |
| mcpets revoke \<playerName>                                      | Revoke the active pet of the said player                                                                                                                   |
| mcpets open \<playerName>                                        | Opens his pet menu to the said player                                                                                                                      |
| mcpets signalstick \<playerName> \<petId>                        | Gives the signal stick of the pet to the given player.                                                                                                     |
| mcpets signalstick \<petId>                                      | Turns the item in your hand into a signal stick for the given pet                                                                                          |
| mcpets item \<key>                                               | Updates the item key using the item in your hand. Useful to modify the default items in the menus of MCPets.                                               |
| mcpets item add \<key>                                           | Adds the item key to the list of registered items, saving the item in your main hand.                                                                      |
| mcpets item remove \<key>                                        | Removes the item key from the list of registered items.                                                                                                    |
| mcpets item give \<key>                                          | Gives the registered item linked to the key to the caster of the command.                                                                                  |
| mcpets item list                                                 | List the registered item keys in the chat.                                                                                                                 |
| mcpets clearStats \<player>                                      | Clear all the pet statistics of the player                                                                                                                 |
| mcpets clearStats \<petId>                                       | Clear all the pet statistics related to that pet                                                                                                           |
| mcpets clearStats \<player> \<petId>                             | Clear the pet statistics of the pet for the given player                                                                                                   |
| mcpets petFood \<foodId>                                         | Gives a sample of pet food to the sender                                                                                                                   |
| mcpets petFood \<foodId> \<player>                               | Give a sample of pet food to the player                                                                                                                    |
| mcpets category \<categoryId>                                    | Opens the menu for the said category to the sender                                                                                                         |
| mcpets category \<categoryId> \<player>                          | Opens the the menu for the said category to the given player                                                                                               |
