Leash Flags / Requirements
Leash Flags are the requirements that a mob needs to meet in order to become a pet.
All Leash Flags can be combined with each others but some of them will only apply on some mob types, some require other plugins and some will overwrite others depending on the order they are written in the pet-config.yml.
Impossibleif this is a requirement every other LeashFlags will be ignored and you can't make this mob type a pet
LowHPmob types with this LeashFlag need to be lower than 10% of it's max health
Babymob types with this leashflag need to be a baby
Adultmob types with this leashflag need to be grown up
Tamedmob types with this leashflag need to be tamed
can only be applied to animals that can be tamed
UserCreatedmob types with this leashflag need to be constructed by a player
can only be applied Iron Golems
Wildmob types with this leashflag need to be wild
can only be applied to Wolves, Ocelots and Iron Golems
CanBreedmob types with this leashflag need to be willing to breed
can only be applied to animals that can be bred
Angrymob types with this leashflag need to be angry
can only be applied to wolves
WorldflagWorld:<world name>:...Examples:
World:defaultWorld:default:nether
Sizeflagworks only for slimes and magma cubes
Size:min=<min size>:max=<max size>minis an optional parametermaxis an optional parameter
Size:<exact size>Examples:
Size:min=2Size:min=2:max=4Size:max=2Size:3
BelowHPchecks if a mob is below a certain health threshold
BelowHP:<health>[%]%is optional
Examples:
BelowHP:2BelowHP:2.5BelowHP:10%
Chancewith this flag you can add a random factor to the leashing
Chance:<chance><chance>is the chance in percent (%)
Examples:
Chance:2Chance:50
mcMMOchecks if a player has a skill above a certain level
mcMMO:<job>=<level>:...if multiple jobs are specified all requirements must be fullfilled
Examples:
mcMMO:Mining=10mcMMO:Mining=2:Taming=25
MythicMobschecks if a mob is from a specific MythicMob type
MythicMobs:<type name>:...Examples:
MythicMobs:SkeletalKnightMythicMobs:StaticallyChargedSheep:SkeletonKing
Last updated
Was this helpful?