Mobs & Pets
HomepagePurchase AdvancedPetsDiscord ServerMarketplaceMinecraft Hosting
  • Main Page
  • ➡️AdvancedPets UI [NEW]
  • ➡️Premium Mobs Pack
  • 🐶AdvancedPets
    • 🐕Available Pets
    • 🧟‍♂️Vanilla Mobs as Pets
    • 🪄Abilities
      • Ability Triggers
      • Effect List
    • Commands
    • Permissions
  • 🐮AdvancedMobs
    • The AdvancedMobs Wiki
    • 🦣Available Mobs
    • 🔧Commands
    • ⚙️Mechanics
      • Build Mobs With Blocks
      • Mob Loot
      • Random Spawning
      • Breeding
      • Mobs & Spawners Stacking
    • 📄AdvancedMobs API
  • 🐩MiniaturePets
    • 🐒Available Pets
    • 📚Information
      • Commands & Permissions
      • Config.yml Guide
      • Sql.yml Guide
    • ⁉️FAQ
  • 🛠️Edit Custom Mobs
    • In-Game Custom Mobs Creator
    • Configuration Explanation
    • Custom Mob Settings
    • ⁉️FAQ
  • 💾Supported Plugins
    • 🟣ItemsAdder support
    • 🤖ModelEngine
Powered by GitBook
On this page
  • How to create abilities
  • Placeholders

Was this helpful?

  1. AdvancedPets

Abilities

Guide on abilities with AdvancedPets

  • Over 60 abilities are built into the plugin.

  • Equip players with potion effects when pet is active, give potions when attacking, killing, set players on fire, strike lightning - it's your choice

How to create abilities

Start off by creating a file for mob in plugins/AdvancedPets/abilities folder, name format should be <mob name>.yml, e.g. Dog.yml

Example Abilities file:

# Dog Abilities
#  Pets can give off special abilities to pet owners passively or at events
#  Effect List: https://ae.advancedplugins.net/enchantments/creating-enchantments/effect-list
#  Read more here: https://wiki.advancedplugins.net/effects/types

description: "Chance to deal more damage to players & mobs"

ATTACK:
  chance: 15
  cooldown: 2
  effects:
    - 'ADD_HARM:3 @Other'

description - text displayed next to pet in /pets menu. Explains what abilities pet has.

Setting abilities for pets

Abilities can have attributes, such as:

  • chance - chance of ability activating when triggered by owner

  • cooldown - how long after activating ability wont be available (will be on cooldown)

Placeholders

You can assign who ability affects, be it owner (%owner%) or other player/entity (%other%). This way abilities are given towards the assigned player.

Example:

  effects:
  - 'POTION:HASTE:0:20 @Owner'

In this example, HASTE potion effect will be given to pet owner for 20 ticks = 1 second.

Another example:

  effects:
  - 'LIGHTNING @Other'

This example would strike lightning at other entity. E.g. when attacking mobs or players, the other entity would be entity getting attacked.

Placeholders

Placeholder list for effects:

Placeholder
Explanation

%owner name%

Inserts pet owner's name

%other name%

Inserts other person's name (e.g. when attacking)

PreviousVanilla Mobs as PetsNextCommands

Last updated 1 year ago

Was this helpful?

Under description is where Ability Types follow. Types can be found in .

Full list of effects:

🐶
🪄
here
https://wiki.advancedplugins.net/abilities/effects