# Citizens NPC

A simple addon for *MyPet* that adds a trait to Citizens that allows pet-owners to store their pets.

Every *WorldGroup* has it's own storage so you can not transfer pets between *WorldGroup*s.

The Citizens **trait**s are called:

* `mypet-storage`  ->  MyPet Storage
* `mypet-wallet`  ->  Economy addon for the `mypet-storage` trait
* `mypet-shop`  ->  Pet shop

## Pictures

<img src="https://3869790376-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LXhRZyUgDZpPIQrYK1o%2F-LXxfRSK8Yu_80sguyt4%2F-LXxfUU0DlrMa2Z25LPU%2Fhandover.png?alt=media&#x26;token=c3551218-8af6-4a4d-a55b-8db811461cd6" alt="" data-size="original"> <img src="https://3869790376-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LXhRZyUgDZpPIQrYK1o%2F-LXxfRSK8Yu_80sguyt4%2F-LXxfX3_6-hh2HMTTR9l%2Ftake.png?alt=media&#x26;token=f75fed07-81d1-49a0-ac51-7e60609acda9" alt="" data-size="original">&#x20;

## Commands

For all NPC commands you need to select a Citizens NPC before!

* `/petadmin npc wallet [`**`Private`**`/`**`Owner`**`/`**`Bank`**`/`**`None`**`]`
  * sets the account where the money will be transfered to
    * Owner and Bank need a name as a 2nd parameter
* `/petadmin npc shop <shop name>`
  * set the shop that will be opened by the selected NPC

## Permissions

The `MyPet.petstorage.limit.<limit>` permission is shared with by `/petstore` command and the **storage/shop trait**.

```
 - MyPet.npc.storage
 - MyPet.npc.shop

 - MyPet.petstorage.limit.<limit>
```
