To allows server owners to manage the worlds where players have the same pet, MyPet uses WorlGroups to combine different worlds together (or split them up). These groups are managed in the
Every world is in a WorldGroup and every player can have one pet per WorldGroup, so players can have multiple pets on one server. The pet will switch automatically when the player changes the world and enters another WorldGroup.
Put the world(s) into a new worldgroup (you can all the group whatever you want, for example
nopets). Then remove (or don't add) the leash permissions form these worlds. Now no new pets can be created an no pets can enter this world.
The plugin will create the a default WorldGroup configuration file and adds every available world to the
Every world has to be in a WorldGroup. You can create as much WorldGroups as you want as long as every world is in just one WorldGroup.
Example configuration: With this configuration every player can have one pet in the normal worlds an one in the nether worlds
Groups:default:- normal- 2ndWorldnether:- normal_nether- 2ndWorld_nether
You can also disable world where MyPet will not be active. This world cannot be in a world group.The config is also in the worldgroups.yml: