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
  • Pet vs. Player - Protection
  • Pet vs. Creature - Protection
  • Arena

Was this helpful?

  1. Plugin-Hooks

Hook Types

Pet vs. Player - Protection

Checks whether the MyPet-owner can attack a target player following the rules of the hooked plugin like parties. If the owner of a pet can attack a player, the MyPet can attack this player too.

Pet vs. Creature - Protection

Checks whether the MyPet-owner can attack a target mobn following the rules of the hooked plugin like claims. If the owner of a pet can attack a mob, the MyPet can attack this mob too.

Arena

Most plugins that have some kind of arena are not balanced to have pets at the side of their owners. With this hook you can disable pets in arena like games like survival-games and other minigames.

PreviousPlugin-HooksNextCitizens NPC

Last updated 6 years ago

Was this helpful?