MyPet - Wiki
WebsiteDownloadSpigotDiscord
3.0
3.0
  • MyPet - Wiki
  • MyPet 3.0
  • Setup
    • Update to 3.0
    • Permissions
    • Commands
    • Configurations
      • config.yml
      • pet-config.yml
      • pet-shops.yml
      • hooks-config.yml
      • exp-config.yml
      • worldgroups.yml
      • Custom-Item-Data in Config
  • Systems
    • Translation
    • Leash Flags / Requirements
    • Skilltrees
      • Skilltree Requirements
      • SkilltreeCreator - Tool
    • Experience
      • Experience-Script
    • Pet 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
  • Default Settings
    • Pet-Config
  • Misc
    • MyPet-Premium
    • Is MyPet EULA compliant?
    • FAQ
    • Changelog
Powered by GitBook
On this page
  • Default
  • JavaScript

Was this helpful?

  1. Systems

Experience

PreviousSkilltreeCreator - ToolNextExperience-Script

Last updated 6 years ago

Was this helpful?

As well as player, pets can also gain experience and level up. In each level they can get special like .

There are two different ways the experience is converted into levels, etc at the moment.

Default

Default is the default way the experience part is calculated. When MyPet.LevelSystem.CalculationMode is set to default all pets will level up like normal players would level up like in .

This is the advanced way where you can create your own level behavior. When MyPet.LevelSystem.CalculationMode is set to JS or JavaScript the plugin uses the exp.js in the MyPet-folder to calculate the required experience to levelup. In order to use this feature the plugin needs the inside the MyPet folder.

You can find an example and a further discription . If you have any questions related to this topic please send me a message on in the help channel.

abilities
Backpack
Minecraft Pre-Snapshot 12w23a
JavaScript
rhino.jar
here
Discord
here