ElitePets
  • Home
  • Frequently Asked Questions
  • Support
  • General Information
    • Creating Pets
      • Effects
      • Methods
    • Commands & Permissions
    • Giving Items
    • Developer API
    • Where to purchase?
Powered by GitBook
On this page
  • How to create your own pet
  • Example Pet

Was this helpful?

  1. General Information

Creating Pets

How to create your own pet

The easiest way to create a pet is to copy and paste one of the premade pets in the pet folder. After you have pasted the file, just rename it to the name of the pet you want to create and edit the values within the file.

Example Pet

tier: "LEGENDARY"
cooldown: 360

item:
  skin: "a1cd6d2d03f135e7c6b5d6cdae1b3a68743db4eb749faf7341e9fb347aa283b"
  name: "{TIER-COLOR}&lDragon Pet &7[LVL {LEVEL}]"
  lore:
    - ''
    - '&A&lPASSIVE &f& &e&lACTIVATION'
    - '&7Trap all nearby enemies in a cage made'
    - '&7of the fire breathed by this pet'
    - '&7As well as blinding them from shock'
    - ''
    - '&7Passively gain a resistance to fire'
    - ''
    - '&e&lLevel: &e{LEVEL}'
    - '&e&lEXP: &e{CURRENT-EXP}/{NEEDED-EXP}'
    - '{LEVEL-BAR}'

settings:
  levelup-methods:
    - 'INTERACT'
    - 'PASSIVE:true:5'

effects:
  PASSIVE:
    - 'POTION:FIRE_RESISTANCE:premade-equation:PLAYER'
  INTERACT:
    - 'CAGE:20:LAVA:OBSIDIAN:((level*2)/3)+1'
    - 'POTION_RADIUS:BLINDNESS:premade-equation:level*2/3:level*2/3:DEADLY'

Be sure that your levelup-method and effects use the same Methods!

Levelup-Methods Arguments

As you can see in the example above it says PASSIVE:true:5, These args are for certain effects besides the 'true' bit

2st Arg = true/false (default = false) This is an option to not levelup with that method type, for example, if you set it to true. You will not level up the pet whenever the pet triggers

3rd Arg:

(Only for MINE effect) You can specify a certain type of block, ie if you put DIRT it will only trigger when you break a dirt block. If you don't put anything it will work with any block. Here is an example: MINE:false:DIRT

OR

(Only for PASSIVE effect) You can specify the delay during the passive task, so if you set it to 5 then it will make it so the passive effects run every 5s

PreviousSupportNextEffects

Last updated 2 years ago

Was this helpful?

1st Arg = Effect Type which can be found on the page

Methods