> For the complete documentation index, see [llms.txt](https://vebjorn-elvekrok.gitbook.io/villager-market/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://vebjorn-elvekrok.gitbook.io/villager-market/commands-and-permissions.md).

# Commands & Permissions

## Create Villager Shop

Creates a new Villager Shop of specified type

```
/vm create <type> <shopsize> {storagesize} {price} [time]
<> = required
{} = required for Player Shops
[] = optional
```

* `<shopsize>`: Number of vertical rows for the Shop Front menu (1-6)
* `<storagesize>`: Number of vertical rows for the Storage menu (1-6)
* `<price>`: The amount of money required for players to buy/rent the Shop
* `[time]`: Rent time ([Renting a Player Shop](/villager-market/renting-shops.md)), default = infinite

```
Permission: villagermarket.create
```

## Give Shop spawn egg

Gives specified player a new Villager Shop spawn egg

```
/vm item give <player> <shopsize> <storagesize> [amount]
<> = required
[] = optional
```

* `<player>`: The player which should recieve the item(s)
* `<shopsize>`: Number of vertical rows for the Shop Front menu (1-6)
* `<storagesize>`: Number of vertical rows for the Storage menu (1-6)
* `[amount]`: Amount of items (1 - 64), default 1

```
Permission: villagermarket.item.give
```

## Remove Villager Shop

Click on a Villager Shop after entering this command in order to remove it

```
/vm remove
```

```
Permission: villagermarket.remove
```

## Move Villager Shop

Click on a Villager Shop after entering this command to move it to a new location

```
/vm move
```

```
Permission: villagermarket.move
```

## Get Shop statistics

Get quick statistics about a Villager Shop

```
/vm stats
```

```
villagermarket.stats
```

## Add/remove trusted

```
/vm trusted <add/remove> <player>
```

* `<add/remove>`: Either "add" or "remove"
* `<player>`: Player to add/remove

## Reload config

Reloads the plugin config values ([Configuration](/villager-market/configuration.md))

```
/vm reload
```

```
Permission: villagermarket.reload
```

## Exired storage

Opens the player's expired storage.

```
/vm expiredstorage
```

```
Permission: None
```

## Additional Permissions

### Buy shop

If buy\_shop\_permission is enabled in the config, players need the following permission

```
villagermarket.buy_shop_permission
```

### Edit Admin Shops

Let's you open the editor for all [Admin Shops](/villager-market/shop-types/admin-shop.md)

```
villagermarket.adminshops
```

### See other's Stats and Storage

Open other players' storage with shift + left click, and see stats for all Villager Shops

```
villagermarket.spy
```

### Use Spawn Egg

Use the [shop spawn egg](/villager-market/villager-shop-egg.md)

```
villagermarket.use_spawn_item
```

### Change name

Change shop name

```
villagermarket.change_name
```

### Max shops

You can use villagermarket.max\_shops.\<amount> to limit a player's max shops. You can use villagermarket.unlimited\_shops to give a player unlimited shops.

```
villagermarket.max_shops.<amount>
```

### Bypass limit

Let's you bypass item limits.

```
villagermarket.bypass_limit
```

### Bypass price

Let's you bypass max item price.

```
villagermarket.bypass_price
```

### Use Citizens

Let's you turn shops into Citizen NPCs.

```
villagermarket.use_citizens
```

### Unlimited shops

Let's you have unlimited amount of shops, bypassing all restrictions.

```
villagermarket.unlimited_shops
```

### Admin

Grants all VillagerMarket permissions

```
villagermarket.admin
```
