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-config.yml

Pet Configuration

Previousconfig.ymlNextpet-shops.yml

Last updated 6 years ago

Was this helpful?

The pet-config.yml file contains all MyPet-Type specific settings. All other settings can be found in the main config ().

Setting

Type

Description

MyPet:

  Pets:

These settings are per MyPet-Type

    <MyPet-Type-Name>:

      HP:

double

The maximum HP the pet (type) has by default.

      Speed:

double

The running speed the pet (type) has by default. Small changes have a massive impact on the speed

      Food:

list

The food this pet (type) eats. This setting must be a list of valid

      LeashItem:

string

The item this pet (type) can be leashed with. This setting must be a valid

      LeashFlags:

string

A comma separated list of valid

      CustomRespawnTimeFactor:

int

This setting allows to change the respawn times pet pet (type). The value will be added on top of the value from the main config.

      CustomRespawnTimeFixed:

int

This setting allows to change the respawn times pet pet (type). The value will be added on top of the value from the main config.

config.yml
config items
config item
Leash Flags
$
$