Permissions
Last updated
Last updated
The leash permission is the most important permission because it allows to take a mob on a lead. You can allow all types by using the wildcard *
or you can allow only certain types to certain players as you want. This permission only allows to leash a certain mob but everything else a player can do with a pet has nothing to do with this permission
MyPet.leash.<Pet-Type-Name>
<Pet-Type-Name>
has to be replaced with a valid Pet-Type-Name or wildcard(*
) to give permission for all Pet-Types.
allows to leash a pet of this Pet-Type.
or
MyPet.admin
allows to:
open inventory of any pet.
open the inventory in creative mode/worlds.
switch skilltree as you want it.
access to /petadmin command.
MyPet.command.info.other
allows to view pet info of other players with the /petinfo command.
MyPet.command.capturehelper
allows to use the CaptureHelper.
MyPet.command.release
allows to release your pet.
MyPet.command.name
allows to rename your pet.
MyPet.command.name.color
allows to use colors in pet-names.
MyPet.command.respawn
allows to use the /petrespawn command to respawn your pet (needs Economy plugin).
MyPet.command.switch
allows to use the /petswitch command to switch between pets.
MyPet.command.options.resourcepack
allows to use the /petoptions resource-pack command to toggle the resource pack.
MyPet.command.trade.offer.<MyPet-Type>
allows to offer somebody your MyPet of type <MyPet-Type>
💲 Premium feature
MyPet.command.trade.receive.<MyPet-Type>
allows to offer somebody your MyPet of type <MyPet-Type>
💲 Premium feature
MyPet.petstorage.limit.<limit>
limits the amount of pets a player can store.
<limit>
has to be replaced by a number between 1 and 54
MyPet.shop.access.<shopname>
allows to access a shop with the /petshop command
<shopname>
needs to be replaced by a shop name
💲 Premium feature
MyPet.shop.storage
allows to buy pets to the storage so you don't have to store your pet before buying a new one
💲 Premium feature
MyPet.skilltree.<skilltreename>
<skilltreename>
has to be replaced with the name of any existing skilltreename.
allows to use the <skilltreename>
skilltree.
the names of the default skilltrees are: Combat
, Utility
, PvP
, Ride
& Farm
To use the extended permissions you need to activate them in the config (MyPet.Permissions.Extended) Extended permissions are supposed to be used as a feature blocker. That means that it only usefull to active them when you want to disable certain features in certain worlds like disable Inventory in creative worlds. All these permissions should be self explaining but remember, they are only supposed to disable these things.
you can't use MyPet.skilltree.*
with GroupManager (Essentials)