hooks-config.yml
Contains options for plugin hooks.
MyPet hooks into a lot of plugins (list). Some of these hooks simply make MyPet compatible with other plugins and others provide custom settings you can change.
The hooks-config.yml is automatically generated and updated on plugin start when the plugin detects other compatible plugins that it hooks into. These are enabled by default and populated with all options with placeholder values.
The lists below show only the custom settings that you are able to modify. Remember that not all values will be present if MyPet is not able to detect the plugin on your system.
Hooks
MobArena
Options:
Enabled
Type: boolean
Description: Enables the MobArena hook. (This allows the pet to deal damage in arenas)
RespectPvPRule
Type: boolean
Description: If true, pets will respect the PvP rules of an arena. If the owner of a pet can attack a player, the MyPet can attack this player too.
AllowPets
Type: boolean
Description: If true, pets will be able to enter arenas.
SurvivalGames
Options:
PvP
Type: boolean
Description: Checks whether the MyPet owner can attack a target player inside a survival game match. If the owner of a pet can attack a player, the MyPet can attack this player too.
DisablePetsInGames
Type: boolean
Description: Disables MyPets in survival game matches completely.
Allowing taming of MythicMob creatures
By default MyPet does not allow leashing MythicMob entities. To enable taming of MythicMob creatures that have a matching custom-creature definition in pet-config.yml, set Disable-Leashing to false:
Last updated
Was this helpful?
