pet-shops.yml

Last updated 14 days ago

Pet Shop Configuration

The pet-shops.yml file contains the shops where players can buy pets. Pet shops are exclusively available in the ūüí≤ premium version of MyPet.

You can create as many shops as you want, but all of them need different IDs (<shop-id>)

Setting

Type

Description

Shops:

‚Äč

‚Äč

  <shop-id>:

‚Äč

<shop-id> can be chosen freely but needs to be unique for every shop

        Name:

string

The name that will be shown in the shop overview

      Balance:

‚Äč

‚Äč

        Type:

string

TODO

      Pets:

‚Äč

‚Äč

These settings are per pet that's been sold

‚Äč

‚Äč

        <unique-string>:

‚Äč

‚Äč

          Name:

string

The name the pet will have

          Description:

list of strings

The description that will be shown when hovering the shop item

          Position:

integer

The slot in the inventory the pet item will have in the shop

          Exp:

double

The XP the pet will have

          Price:

double

The price the player has to pay in order to get the pet

          Skilltree:

string

The skilltree the pet will have

          PetType:

string

The mob type of the pet

          Options:

list of strings

These work exaclty like the parameters for the pet create admin command. You can see an example in the comment of the first default shop