# CustomShops Command

{% hint style="success" %}
All commands for this script are subcommands of the `/customshops` command
{% endhint %}

### Creation/Deletion/Renaming Shop

| Subcommand                 | Permission         | Description                                    |
| -------------------------- | ------------------ | ---------------------------------------------- |
| create \<name> \<size>     | customshops.create | Create a new shop                              |
| delete \<shop>             | customshops.delete | Delete a shop                                  |
| rename \<shop> \<new name> | customshops.rename | Rename a shop (the file and name, not the GUI) |

### Modifying Shop Properties, Values, and Contents

| Subcommand                | Permission                                      | Description                                                                                     |
| ------------------------- | ----------------------------------------------- | ----------------------------------------------------------------------------------------------- |
| layout \<shop>            | customshops.edit.layout or customshops.edit.\*  | Put items into into your shop. All item names, lore, enchants, nbt, and everything will be kept |
| modifyactions \<shop>     | customshops.edit.actions or customshops.edit.\* | Change the actions that happen when users interact with your shops                              |
| settitle \<shop> \<title> | customshops.settitle                            | Set the title of a GUI for a shop                                                               |
| setsize \<shop> \<size>   | customshops.setsize                             | Set the number of rows in the GUI for a shop (1-6)                                              |

### Reload Config

| Subcommand | Permission         | Description                   |
| ---------- | ------------------ | ----------------------------- |
| reload     | customshops.reload | Reload the configuration file |


---

# 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://minecraftman1013.gitbook.io/shop-skript/commands-and-permissions/customshops-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.
