MyPet - Wiki
WebsiteDownloadSpigotDiscord
Legacy
Legacy
  • MyPet - Wiki
  • MyPet-Premium
  • Setup
    • Permissions
    • Commands
    • Configurations
      • config.yml
      • pet-config.yml
      • pet-shops.yml
      • Custom-Item-Data in Config
  • Systems
    • Leash Flags / Requirements
    • Skilltrees
      • SkilltreeCreator - Tool
    • Experience
      • Experience-Script
    • MyPet Storage
    • Hunger-System
    • World Groups
    • Auto Updater
  • Skill Overview
    • Backpack
    • Beacon
    • Behavior
    • Control
    • Damage
    • Fire
    • Heal
    • Knockback
    • Life
    • Lightning
    • Pickup
    • Poison
    • Slow
    • Ranged
    • Ride
    • Shield
    • Sprint
    • Stomp
    • Thorns
    • Wither
  • Tutorials
    • How to get a pet
    • File to MySQL
    • File to MongoDB
  • Plugin-Hooks
    • Hook Types
    • Citizens NPC
    • WG Region Flags
    • PlaceholderAPI
    • BossShopPro
  • Misc
    • Is MyPet EULA compliant?
    • FAQ
    • Changelog
Powered by GitBook
On this page

Was this helpful?

  1. Setup
  2. Configurations

pet-shops.yml

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

Previouspet-config.ymlNextCustom-Item-Data in Config

Last updated 6 years ago

Was this helpful?